Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Unable to find installed libraries in CDT
Unable to find installed libraries in CDT [message #1834325] Sat, 07 November 2020 11:09 Go to next message
Chandu Manem is currently offline Chandu ManemFriend
Messages: 1
Registered: November 2020
Junior Member
Hi Team,
I want to use library called mysql in my project. I want connect mysql from my ARM linux board.

mysql_config_cflags
-I/usr/include/mysql
mysql_config --libs
-L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -lrt -latomic -lssl -lcrypto -ldl

Added these flags in properties ->settings->linker
but when compiled i am getting below error
/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/7.5.0/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lmysqlclient

can you please help me with this.

Thanks in Advance.
Re: Unable to find installed libraries in CDT [message #1834333 is a reply to message #1834325] Sat, 07 November 2020 16:57 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 743
Registered: August 2014
Senior Member
Your libraries are for the PC processor. They are unusable for an ARM executable.

--

Tauno Voipio
Re: Unable to find installed libraries in CDT [message #1835825 is a reply to message #1834333] Mon, 14 December 2020 12:40 Go to previous message
Mark Smith is currently offline Mark SmithFriend
Messages: 82
Registered: September 2020
Member
Please check this
https://stackoverflow.com/questions/9337757/unresolved-inclusion-error-with-eclipse-cdt-for-c-standard-library-headers
Previous Topic:How to display mouse-over tooltip on an imported project?
Next Topic:KEIL(ARMCC) to ECLIPSE(GNU ARM) Port
Goto Forum:
  


Current Time: Sat Dec 21 16:24:45 GMT 2024

Powered by FUDForum. Page generated in 0.04099 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top