U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ SQL » MySQL link error
Re: MySQL link error [message #28863 is a reply to message #28294] Mon, 20 September 2010 14:37 Go to previous messageGo to previous message
ratah is currently offline  ratah
Messages: 107
Registered: July 2010
Experienced Member
Hi everybody,

Experimentating on MySQL application, I have this link problem.


----- Core ( MT GCC FORCE_SIZE WIN32 ) (1 / 5)
----- MySql ( MT GCC FORCE_SIZE WIN32 ) (2 / 5)
----- plugin/z ( MT GCC FORCE_SIZE WIN32 ) (3 / 5)
----- Sql ( MT GCC FORCE_SIZE WIN32 ) (4 / 5)
----- insertionAFB ( MT MAIN GCC FORCE_SIZE WIN32 ) (5 / 5)
Linking...
c:/program files/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../.. /../mingw32/bin/ld.exe: cannot find -lmysql
collect2: ld returned 1 exit status


I copied everywhere the 3 libraries:

- libmysql.dll
- libmysql.lib
- mysqlclient.lib

Do someone can resolve/explain the reason

Thank you very much
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Connect to TWO databases
Next Topic: PostgreSQL and Mingw
Goto Forum:
  


Current Time: Sat Jul 04 03:01:10 GMT+2 2026

Total time taken to generate the page: 0.00877 seconds