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