Dev - C++ - MySQL

 
Vista:

MySQL

Publicado por SuperIndio (17 intervenciones) el 17/03/2006 15:58:27
Gente al compilar me tira este Error que estoy haciendo mal ???

[Linker error] undefined reference to `mysql_init@4'
[Linker error] undefined reference to `mysql_real_connect@32'
[Linker error] undefined reference to `mysql_error@4'
[Linker error] undefined reference to `mysql_query@8'
[Linker error] undefined reference to `mysql_error@4'
[Linker error] undefined reference to `mysql_store_result@4'
[Linker error] undefined reference to `mysql_error@4'
[Linker error] undefined reference to `mysql_free_result@4'
[Linker error] undefined reference to `mysql_close@4'
ld returned 1 exit status
C:\Dev-Cpp\MySQL\Connect\Makefile.win [Build Error] [Connect.exe] Error 1
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

MySQL

Publicado por Dickson (1 intervención) el 08/03/2012 00:18:09
Tengo el mismo problema lograste solucionarlo...
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar
Imágen de perfil de Francisco

MySQL

Publicado por Francisco (10 intervenciones) el 31/07/2014 17:23:27
En Project->Project options->Parameters-> linker escribe: -lmysql
con eso me funciono a mi.
NOta estoy usando DEv c++ 4.9.9.2
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar