<?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[MySQL++ mit Code::Blocks, Anwendung startet nicht.]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>Ich habe ein kleines Problem mit MySQL++ unter Windows und Code::Blocks.<br />
Compiler ist MinGW.</p>
<p>Ich habe mysql++ runtergeladen, entpackt und entsprechend der Anleitung für MinGW compiliert.</p>
<p>Dann habe ich ein Projekt zum Testen in Code::Blocks erstellt. Als Quelldatei habe ich einfach die resetdb.cpp aus &quot;mysql++\examples&quot; genommen.</p>
<p>Unter &quot;Project-&gt;Build Options ...-&gt;Search Directories&quot; habe ich folgendes hinzugefügt:<br />
C:\Program Files\MySQL\MySQL Server 5.1\include<br />
C:\...\mysql++\lib</p>
<p>Unter &quot;Project-&gt;Build Options ...-&gt;Linker Settings&quot; habe ich folgendes hinzugefügt:<br />
C:\...\mysql++\libmysqlpp.a<br />
C:\Program Files\MySQL\MySQL Server 5.1\lib\opt\libmysqlclient.a</p>
<p>Compilieren hat mit 16 Warnungen geklappt:</p>
<blockquote>
<p>C:\MySQL++\include\cpool.h|42|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\mystring.h|104|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\sqlstream.h|38|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\transaction.h|41|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\query.h|62|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\query.h|63|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\scopedconnection.h|41|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\scopedconnection.h|42|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\cpool.h|42|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\mystring.h|104|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\sqlstream.h|38|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\transaction.h|41|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\query.h|62|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\query.h|63|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\scopedconnection.h|41|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\scopedconnection.h|42|warning: type attributes ignored after type is already defined|<br />
||=== Build finished: 0 errors, 16 warnings ===|</p>
</blockquote>
<p>Beim Starten hat er mir die Fehlermeldungen geworfen, dass er die &quot;mysqlpp.dll&quot; und die &quot;libmysql.dll&quot; vermisst. Die habe ich dann aus</p>
<p>C:\...\mysql++</p>
<p>und</p>
<p>C:\Program Files\MySQL\MySQL Server 5.1\lib\opt</p>
<p>ins Verzeichnis zur .exe Datei kopiert. Jetzt kriege ich folgende Fehlermeldung: &quot;Die Anwendung konnte nicht gestartet werden (0xc000007b). Klicken Sie auf &quot;OK&quot;, um die Anwendung zu schließen.&quot;</p>
<p>Habt ihr eine Idee, was da schiefläuft?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/272512/mysql-mit-code-blocks-anwendung-startet-nicht</link><generator>RSS for Node</generator><lastBuildDate>Fri, 28 Aug 2026 13:33:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/272512.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Aug 2010 20:16:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MySQL++ mit Code::Blocks, Anwendung startet nicht. on Wed, 18 Aug 2010 20:16:54 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>Ich habe ein kleines Problem mit MySQL++ unter Windows und Code::Blocks.<br />
Compiler ist MinGW.</p>
<p>Ich habe mysql++ runtergeladen, entpackt und entsprechend der Anleitung für MinGW compiliert.</p>
<p>Dann habe ich ein Projekt zum Testen in Code::Blocks erstellt. Als Quelldatei habe ich einfach die resetdb.cpp aus &quot;mysql++\examples&quot; genommen.</p>
<p>Unter &quot;Project-&gt;Build Options ...-&gt;Search Directories&quot; habe ich folgendes hinzugefügt:<br />
C:\Program Files\MySQL\MySQL Server 5.1\include<br />
C:\...\mysql++\lib</p>
<p>Unter &quot;Project-&gt;Build Options ...-&gt;Linker Settings&quot; habe ich folgendes hinzugefügt:<br />
C:\...\mysql++\libmysqlpp.a<br />
C:\Program Files\MySQL\MySQL Server 5.1\lib\opt\libmysqlclient.a</p>
<p>Compilieren hat mit 16 Warnungen geklappt:</p>
<blockquote>
<p>C:\MySQL++\include\cpool.h|42|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\mystring.h|104|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\sqlstream.h|38|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\transaction.h|41|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\query.h|62|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\query.h|63|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\scopedconnection.h|41|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\scopedconnection.h|42|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\cpool.h|42|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\mystring.h|104|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\sqlstream.h|38|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\transaction.h|41|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\query.h|62|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\query.h|63|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\scopedconnection.h|41|warning: type attributes ignored after type is already defined|<br />
C:\MySQL++\include\scopedconnection.h|42|warning: type attributes ignored after type is already defined|<br />
||=== Build finished: 0 errors, 16 warnings ===|</p>
</blockquote>
<p>Beim Starten hat er mir die Fehlermeldungen geworfen, dass er die &quot;mysqlpp.dll&quot; und die &quot;libmysql.dll&quot; vermisst. Die habe ich dann aus</p>
<p>C:\...\mysql++</p>
<p>und</p>
<p>C:\Program Files\MySQL\MySQL Server 5.1\lib\opt</p>
<p>ins Verzeichnis zur .exe Datei kopiert. Jetzt kriege ich folgende Fehlermeldung: &quot;Die Anwendung konnte nicht gestartet werden (0xc000007b). Klicken Sie auf &quot;OK&quot;, um die Anwendung zu schließen.&quot;</p>
<p>Habt ihr eine Idee, was da schiefläuft?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1941748</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1941748</guid><dc:creator><![CDATA[Paul Manns]]></dc:creator><pubDate>Wed, 18 Aug 2010 20:16:54 GMT</pubDate></item><item><title><![CDATA[Reply to MySQL++ mit Code::Blocks, Anwendung startet nicht. on Thu, 19 Aug 2010 08:30:12 GMT]]></title><description><![CDATA[<p>ich arbeite zwar selbst nicht mit mysql++ (war mir zu kompliziert <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /> ), sondern verwende noch die altherkömmlich mitgeliefert mysql.h, aber hatte letztens selbst das Problem, welches darauf zurückzuführen war, dass die .dll und die lib nicht aus der gleichen mysql-Version stammten. Vielleicht wäre das ein Ansatz.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1941886</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1941886</guid><dc:creator><![CDATA[BasicMan01]]></dc:creator><pubDate>Thu, 19 Aug 2010 08:30:12 GMT</pubDate></item><item><title><![CDATA[Reply to MySQL++ mit Code::Blocks, Anwendung startet nicht. on Fri, 27 Aug 2010 15:11:42 GMT]]></title><description><![CDATA[<p>Habe es immer noch nicht hinbekommen, aber habe alles mysql++ Zeug runtergeworfen, neu entpackt und wollte die mysql++ Library neu erstellen.</p>
<p>Das wiederum ist mir allerdings abgebrochen. Und zwar an folgender Stelle</p>
<p>g++ -o ssqlsxlat.exe ssqlsxlat_genv2.o ssqlsxlat_main.o -mthreads -g -L. -Wl,--<br />
enable-auto-import -Wl,--enable-runtime-pseudo-reloc -L&quot;C:\Program Files\MySQL\M<br />
ySQL Server 5.1\lib\opt&quot; -lmysqlclient -lmysqlpp -lmysqlpp_ssqls2parse<br />
./libmysqlpp_ssqls2parse.a(ssqls2parse_parsev2.o):C:\Users\paul\Documents\cpp Li<br />
bs\mysqlpp/ssx/parsev2.cpp:192: undefined reference to <code>mysqlpp::internal::str_t o_lwr(std::string&amp;)' ./libmysqlpp\_ssqls2parse.a(ssqls2parse\_parsev2.o): In function</code>Type':<br />
C:\Users\paul\Documents\cpp Libs\mysqlpp/ssx/parsev2.cpp:256: undefined referenc<br />
e to <code>mysqlpp::internal::str\_to\_lwr(std::string&amp;)' C:\\Users\\paul\\Documents\\cpp Libs\\mysqlpp/ssx/parsev2.cpp:256: undefined referenc e to</code>mysqlpp::internal::str_to_lwr(std::string&amp;)'<br />
./libmysqlpp_ssqls2parse.a(ssqls2parse_parsev2.o):C:\Users\paul\Documents\cpp Li<br />
bs\mysqlpp/ssx/parsev2.cpp:496: undefined reference to <code>mysqlpp::internal::str_t o_lwr(std::string&amp;)' ./libmysqlpp\_ssqls2parse.a(ssqls2parse\_parsev2.o):C:\\Users\\paul\\Documents\\cpp Li bs\\mysqlpp/ssx/parsev2.cpp:579: undefined reference to</code>mysqlpp::internal::str_t<br />
o_lwr(std::string&amp;)'<br />
./libmysqlpp_ssqls2parse.a(ssqls2parse_parsev2.o):C:\Users\paul\Documents\cpp Li<br />
bs\mysqlpp/ssx/parsev2.cpp:625: more undefined references to `mysqlpp::internal:<br />
:str_to_lwr(std::string&amp;)' follow<br />
collect2: ld returned 1 exit status<br />
mingw32-make: *** [ssqlsxlat.exe] Error 1</p>
<p>Leider werde ich da nicht schlau draus. Das Problem liegt beim Linken, okay, aber ich hab keine Ahnung, was da warum schief gelaufen ist.</p>
<p>Hat jemand von euch eine Idee?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1945098</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1945098</guid><dc:creator><![CDATA[Paul Manns]]></dc:creator><pubDate>Fri, 27 Aug 2010 15:11:42 GMT</pubDate></item></channel></rss>