1

The situation is described here:

https://stackoverflow.com/questions/2532280/failed-to-link-mysql5-1-39-bin-libmysql-dll-in-a-c-project

Is there a free and working tool?

1
  • I fear if this get's migrated to SO it will get closed, since it's hardly a question to begin with.
    – Ivo Flipse
    Mar 30, 2010 at 6:20

2 Answers 2

1

See if one of the following articles helps:

Generate a .lib from a DLL with Visual Studio
How To Create 32-bit Import Libraries Without .OBJs or Source

0

the free and working tool you mention is call "linker". one you could use is part of the package called "visual studio" from microsoft, the free version is called "visual studio express"

anyway, your real problem is that you need the .lib file used to resolve the link-time dependencies. you can grab the code for the mysql-connector and compile it yourself .. or you just grab the binaries provided by mysql over there.

i would pick up the .zip file provided for your architecture, unzip it and look into the "lib" folder. furthermore i would place the whole unzipped bundle to a place on your disk (i prefer "C:\Devel" .. so it becomes "C:\Devel\mysql-6.0.2-win32") and then add the "include" directory to the preprocessor settings and the "lib" directory to the linker settings.

You must log in to answer this question.