Hi,
I want to use libmySQL.DLL with dev-C++ and after reading some docs...
I use :
impdef libmySQL.dll > libmySQL.def
I add alias and@xx needed to the libmySQL.def
dlltool --dllname libmySQL.dll --def libmySQL.def --outputlib libmySQL.a
I copy libMySQL.a into c:\dev-cpp\lib
But when I buid my project I continue to take a lot of error like that:
mysql_1.c undefined reference to 'mysql_connect@16'
What is wrong?
Thanks for help,
Daniel
|