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 » Community » Newbie corner » linking has failed
Re: linking has failed [message #49663 is a reply to message #49631] Sun, 25 March 2018 11:32 Go to previous messageGo to previous message
idkfa46 is currently offline  idkfa46
Messages: 155
Registered: December 2011
Experienced Member
Hi guys,
thank you for your support but none of the solutions are working at the moment...

BioBytes wrote on Mon, 19 March 2018 11:57
Hi Matteo,
Did you settle the "Main Package Organization" to GUI.MYSQLDLL. This can be done through the TheIde main menu "Project"....


My current setting is GUY SSE2.MYSQLDLL. I tried to complile without SSE2 but the risult is the same....

BioBytes wrote on Mon, 19 March 2018 11:57

...When installing your application, libMySql.dll file must be copied in Windows\System32 directory or in the same directory as the application exe file for dynamic linkage...


I copied the libMySql.dll in the Windows\System32 directory but nothing change...

Giorgio wrote on Mon, 19 March 2018 12:47

It seems to me that the path in the lib directory is wrong: just try removing "debug" from the path.


I updated the path in the lib directory to:
"C:\Program Files\MySQL\MySQL Server 5.5\lib" but nothing change...

I always receive the same error message:
 (): Linking has failed
 (): C:/upp/bin/mingw64/32/bin/../lib/gcc/i686-w64-mingw32/7.1.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lmysql
 (): collect2.exe: error: ld returned 1 exit status


something else to do??? Sad

Regards,
Matteo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Simple progress bar example
Next Topic: Calculated column in a SqlArray
Goto Forum:
  


Current Time: Sat May 04 18:11:52 CEST 2024

Total time taken to generate the page: 0.02526 seconds