haroldl Posté(e) le 24 février 2013 Posté(e) le 24 février 2013 Bonjour, je cherche un compiler un code en c++ qui integre une connexion mysql. Voici les messages d'erreurs: g++ -L/usr/lib/mysql test.cpp -o test.c test.cpp:57:2: warning: no newline at end of file /tmp/ccOrHKcP.o: In function `main': test.cpp:(.text+0x240): undefined reference to `mysql_init' test.cpp:(.text+0x2ac): undefined reference to `mysql_real_connect' test.cpp:(.text+0x2e0): undefined reference to `mysql_query' test.cpp:(.text+0x2f0): undefined reference to `mysql_store_result' test.cpp:(.text+0x300): undefined reference to `mysql_num_rows' test.cpp:(.text+0x368): undefined reference to `mysql_fetch_row' test.cpp:(.text+0x390): undefined reference to `mysql_close' il semblerai qu'il me manque des librairies. avez -vous une idee pour les installe? merci 0 Citer
CoolRaoul Posté(e) le 24 février 2013 Posté(e) le 24 février 2013 j'ai trouvé un (relativement) vieux post qui pourrait te donner des pistes: 0 Citer
Messages recommandés
Rejoindre la conversation
Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.