I've got a problem with compiling programs with MySql from dev-c++,
i can't link my program with the library of MySql. The Compiler and linker
output tellme that exist undefined references for the commands of MySql.
The manual says that insert in the link line this:
-Lthe-path-to -mysql-library -lmysqlclient, but there is another problem,
described next:
g++: -lmysqlclient: linker input file unused since linking not done
there are the compiler and linker lines
C:\DEV-C_~1\BIN\g++ "c:/dev-c++/basededatos.cpp" -c -s
-fexpensive-optimizations -IC:/DEV-C_~1/INCLUDE/
-IC:/DEV-C_~1/INCLUDE/G__~1 -IC:/DEV-C_~1/INCLUDE/ -LC:/DEV-C_~1/LIB/
-BC:/DEV-C_~1/BIN/ -Ic:/mysql/include -LC:/MYSQL/LIB
Linking files :
C:\DEV-C_~1\BIN\g++ "c:/dev-c++/basededatos.o" -o c:/dev-c_~1/Bases.exe
C:/DEV-C_~1/RSRC.o -s -fexpensive-optimizations -IC:/DEV-C_~1/INCLUDE/
-IC:/DEV-C_~1/INCLUDE/G__~1 -IC:/DEV-C_~1/INCLUDE/ -LC:/DEV-C_~1/LIB/
-BC:/DEV-C_~1/BIN/ -Ic:/mysql/include -LC:/MYSQL/LIB
Any body now what is wrong??
_________________________________________________________________
MSN. Más Útil Cada Día http://www.msn.es/intmap/
|