Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Linking error with new release 1254
Linking error with new release 1254 [message #22090] Wed, 17 June 2009 12:13 Go to next message
BioBytes is currently offline  BioBytes
Messages: 307
Registered: October 2008
Location: France
Senior Member
Hi all,

I wished to move from 2008.1 UPP version to the new release 1254. All my projects were compiled with no error except the ones based on the use of MySql interface. I got the following error message :

----- CtrlLib ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (1 / 11)
----- MySql ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (2 / 11)
MySql.cpp
----- CtrlCore ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (3 / 11)
----- RichText ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (4 / 11)
----- Draw ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (5 / 11)
----- plugin\bmp ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (6 / 11)
----- Core ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (7 / 11)
----- plugin\z ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (8 / 11)
----- plugin\png ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (9 / 11)
----- Sql ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (10 / 11)
----- papyrus ( GUI MT MAIN GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (11 / 11)
MySql: 1 file(s) built in (0:08.29), 8297 msecs / file, duration = 8406 msecs, parallelization 0%
Linking...
D:/Logiciels/Dvt/upp/out/MySql/MINGW.Debug.Debug_full.Gui.Mt \MySql.o: In function `_ZN3Upp12MySqlSession7Conn
ectEPKcS2_S2_S2_iS2_':
D:/Logiciels/Dvt/upp/uppsrc/MySql/MySql.cpp:54: undefined reference to `_mysql_set_character_set@8'
collect2: ld returned 1 exit status

There were errors. (0:20.54)


I use MingW compiler and all paths to MySql Bin/include and lib files have been configured in the build window.

Does anyone has an idea of what happened ?

Thank you in advance

Sincerely

Biobytes
Re: Linking error with new release 1254 [message #22138 is a reply to message #22090] Fri, 19 June 2009 14:23 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
BioBytes wrote on Wed, 17 June 2009 06:13

Hi all,

I wished to move from 2008.1 UPP version to the new release 1254. All my projects were compiled with no error except the ones based on the use of MySql interface. I got the following error message :

----- CtrlLib ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (1 / 11)
----- MySql ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (2 / 11)
MySql.cpp
----- CtrlCore ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (3 / 11)
----- RichText ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (4 / 11)
----- Draw ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (5 / 11)
----- plugin\bmp ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (6 / 11)
----- Core ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (7 / 11)
----- plugin\z ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (8 / 11)
----- plugin\png ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (9 / 11)
----- Sql ( GUI MT GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (10 / 11)
----- papyrus ( GUI MT MAIN GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (11 / 11)
MySql: 1 file(s) built in (0:08.29), 8297 msecs / file, duration = 8406 msecs, parallelization 0%
Linking...
D:/Logiciels/Dvt/upp/out/MySql/MINGW.Debug.Debug_full.Gui.Mt \MySql.o: In function `_ZN3Upp12MySqlSession7Conn
ectEPKcS2_S2_S2_iS2_':
D:/Logiciels/Dvt/upp/uppsrc/MySql/MySql.cpp:54: undefined reference to `_mysql_set_character_set@8'
collect2: ld returned 1 exit status

There were errors. (0:20.54)


I use MingW compiler and all paths to MySql Bin/include and lib files have been configured in the build window.

Does anyone has an idea of what happened ?

Thank you in advance

Sincerely

Biobytes


Maybe some new incompatibility MYSQL/MINGW.

Download and install Vista SDK (works for XP too). Saves a lot of troubles like this one.

Mirek
Re: Linking error with new release 1254 [message #22171 is a reply to message #22138] Mon, 22 June 2009 09:18 Go to previous message
BioBytes is currently offline  BioBytes
Messages: 307
Registered: October 2008
Location: France
Senior Member
Thank you Mirek for your reply.

Sorry to give up MingW but I will try to move to MS SDK and will inform if all is ok with MySql.

Regards
Biobytes
Previous Topic: new project: compilation problems
Next Topic: Some macros doesn't work on post-link stage
Goto Forum:
  


Current Time: Fri Mar 29 08:10:20 CET 2024

Total time taken to generate the page: 0.01119 seconds