<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[schon wieder link error]]></title><description><![CDATA[<pre><code class="language-cpp">//
#include &lt;iostream&gt;

#include &quot;stdafx.h&quot;
#include &quot;Schülerclient.h&quot;
#include &quot;SchülerclientDlg.h&quot;
#include &quot;.\schülerclientdlg.h&quot;

#include &quot;util.h&quot;
#include &lt;mysql++.h&gt;
#include &lt;iomanip&gt;

#ifdef _DEBUG
#define new DEBUG_NEW
#endif

...
void CSchlerclientDlg::OnBnClickedOk()
{
int argc = 9;
char *argv[10];
   // Connect to the sample database.
    mysqlpp::Connection con(false);

	OnOK();
}
</code></pre>
<p>Der Optimierungscompiler wird in dieser Version von Visual C++ nicht unterstützt.<br />
Die temporäre Datei &quot;h:\Projekte\Schülerclient\Debug\RSP000001.rsp&quot; wird erstellt. Inhalt:<br />
[<br />
/OUT:&quot;Debug/Schülerclient.exe&quot; /INCREMENTAL /NOLOGO /LIBPATH:&quot;H:\Projekte\Schülerclient\lib\debug&quot; /DEBUG /PDB:&quot;Debug/Schülerclient.pdb&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 libmysql.lib mysqlclient.lib mysys.lib regex.lib strings.lib zlib.lib<br />
.\Debug\Schülerclient.obj<br />
.\Debug\SchülerclientDlg.obj<br />
.\Debug\stdafx.obj<br />
.\Debug\Schülerclient.res<br />
]Erstellen der Befehlszeile &quot;link.exe <a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/5591">@h</a>:\Projekte\Schülerclient\Debug\RSP000001.rsp&quot; Ausgabefenster Verknüpfen...<br />
SchülerclientDlg.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: virtual __thiscall mysqlpp::Connection::~Connection(void)&quot; (__imp_??1Connection@mysqlpp@@UAE@XZ) referenced in function &quot;public: void __thiscall CSchlerclientDlg::OnBnClickedOk(void)&quot; (?OnBnClickedOk@CSchlerclientDlg@@QAEXXZ)<br />
SchülerclientDlg.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: __thiscall mysqlpp::Connection::Connection(bool)&quot; (__imp_??0Connection@mysqlpp@@QAE@_N@Z) referenced in function &quot;public: void __thiscall CSchlerclientDlg::OnBnClickedOk(void)&quot; (?OnBnClickedOk@CSchlerclientDlg@@QAEXXZ)<br />
Debug/Schülerclient.exe : fatal error LNK1120: 2 unresolved externals</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/160236/schon-wieder-link-error</link><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 05:13:16 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/160236.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 23 Sep 2006 15:04:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to schon wieder link error on Sat, 23 Sep 2006 15:04:01 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">//
#include &lt;iostream&gt;

#include &quot;stdafx.h&quot;
#include &quot;Schülerclient.h&quot;
#include &quot;SchülerclientDlg.h&quot;
#include &quot;.\schülerclientdlg.h&quot;

#include &quot;util.h&quot;
#include &lt;mysql++.h&gt;
#include &lt;iomanip&gt;

#ifdef _DEBUG
#define new DEBUG_NEW
#endif

...
void CSchlerclientDlg::OnBnClickedOk()
{
int argc = 9;
char *argv[10];
   // Connect to the sample database.
    mysqlpp::Connection con(false);

	OnOK();
}
</code></pre>
<p>Der Optimierungscompiler wird in dieser Version von Visual C++ nicht unterstützt.<br />
Die temporäre Datei &quot;h:\Projekte\Schülerclient\Debug\RSP000001.rsp&quot; wird erstellt. Inhalt:<br />
[<br />
/OUT:&quot;Debug/Schülerclient.exe&quot; /INCREMENTAL /NOLOGO /LIBPATH:&quot;H:\Projekte\Schülerclient\lib\debug&quot; /DEBUG /PDB:&quot;Debug/Schülerclient.pdb&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 libmysql.lib mysqlclient.lib mysys.lib regex.lib strings.lib zlib.lib<br />
.\Debug\Schülerclient.obj<br />
.\Debug\SchülerclientDlg.obj<br />
.\Debug\stdafx.obj<br />
.\Debug\Schülerclient.res<br />
]Erstellen der Befehlszeile &quot;link.exe <a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/5591">@h</a>:\Projekte\Schülerclient\Debug\RSP000001.rsp&quot; Ausgabefenster Verknüpfen...<br />
SchülerclientDlg.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: virtual __thiscall mysqlpp::Connection::~Connection(void)&quot; (__imp_??1Connection@mysqlpp@@UAE@XZ) referenced in function &quot;public: void __thiscall CSchlerclientDlg::OnBnClickedOk(void)&quot; (?OnBnClickedOk@CSchlerclientDlg@@QAEXXZ)<br />
SchülerclientDlg.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: __thiscall mysqlpp::Connection::Connection(bool)&quot; (__imp_??0Connection@mysqlpp@@QAE@_N@Z) referenced in function &quot;public: void __thiscall CSchlerclientDlg::OnBnClickedOk(void)&quot; (?OnBnClickedOk@CSchlerclientDlg@@QAEXXZ)<br />
Debug/Schülerclient.exe : fatal error LNK1120: 2 unresolved externals</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1143109</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1143109</guid><dc:creator><![CDATA[golden_jubilee]]></dc:creator><pubDate>Sat, 23 Sep 2006 15:04:01 GMT</pubDate></item><item><title><![CDATA[Reply to schon wieder link error on Sat, 23 Sep 2006 18:18:51 GMT]]></title><description><![CDATA[<p>Mal abgesehen davon das die Frage fehlt, steht alles im Output des Comilers was Du wissen musst.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1143196</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1143196</guid><dc:creator><![CDATA[Knuddlbaer]]></dc:creator><pubDate>Sat, 23 Sep 2006 18:18:51 GMT</pubDate></item><item><title><![CDATA[Reply to schon wieder link error on Sat, 23 Sep 2006 18:34:46 GMT]]></title><description><![CDATA[<p>Knuddlbaer schrieb:</p>
<blockquote>
<p>Mal abgesehen davon das die Frage fehlt, steht alles im Output des Comilers was Du wissen musst.</p>
</blockquote>
<p>ich denke jedem ist klar was hier die frage sein soll</p>
<p>und was mir der linker sagen will ist mir nicht ganz klar</p>
<p>ich denke einfach mal wenn ich das beispiel einbinde, dann funktioniert es...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1143206</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1143206</guid><dc:creator><![CDATA[golden_jubilee]]></dc:creator><pubDate>Sat, 23 Sep 2006 18:34:46 GMT</pubDate></item><item><title><![CDATA[Reply to schon wieder link error on Sat, 23 Sep 2006 18:56:13 GMT]]></title><description><![CDATA[<p>So ?</p>
<p>Was ist denn die Frage ?<br />
Wie spät es ist ? Vllt was ein Optimierungscompiler ist ? Vllt. was ein Linker ist ?</p>
<p>Der Linker will Dir sagen, das es kein Objekt gibt, in dem er folgende Methoden findet:</p>
<p>__declspec(dllimport) public: virtual __thiscall mysqlpp::Connection::~Connection(void)</p>
<p>__declspec(dllimport) public: __thiscall mysqlpp::Connection::Connection(bool)</p>
<p>Es fehlt also entweder die .cpp dazu oder die lib. Prüfe mal ob das mysql dingens eine .lib liefert die Du noch in das Projekt einbinden musst.</p>
<p>(OS: Windows nehm ich an. VC in der Version: ? MFC reine Api oder CLI ?)</p>
<p>Was Du jetzt mit Beispiel meinst ist unklar .</p>
<p>Da die Aussage vom Linker eigentlich recht eindeutig ist, macht Deine nicht gestellte Frage besonders klar.</p>
<p>Und viele dürften hier angst haben wegen zu schnellem Hellsehen die Kristallkugel abgenommen zu bekommen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1143213</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1143213</guid><dc:creator><![CDATA[Knuddlbaer]]></dc:creator><pubDate>Sat, 23 Sep 2006 18:56:13 GMT</pubDate></item></channel></rss>