Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The situation is described here:

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

Is there a free and working tool?

share|improve this question
    
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 '10 at 6:20

2 Answers 2

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.