[Dev-C++] DLL,.def and .a : help please :)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Daniel N. <dan...@fr...> - 2003-01-23 03:17:18
|
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 |