Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse and Connector\C(Problem with linker)
icon9.gif  Eclipse and Connector\C [message #987144] Fri, 23 November 2012 19:20 Go to next message
Damian Giebas is currently offline Damian GiebasFriend
Messages: 1
Registered: November 2012
Junior Member

I sometimes programming in C++ using Eclipse. Today i have a litle problem, becouse i don't know how i could linked mysql library for c/c++. In CodeBlocks I use

mysql_config --libs
mysql_config --cflags

and all working very well but in Eclipse i can't find place for this command. Can you tell me where i can use this command?

Re: Eclipse and Connector\C [message #987206 is a reply to message #987144] Sat, 24 November 2012 13:19 Go to previous message
Paul Bußmann is currently offline Paul BußmannFriend
Messages: 17
Registered: October 2012
Junior Member
Hi Damian,

I guess you want to link against the MySQL Client Library. (
You can add it at the tool settings:

When Eclipse invokes the linker, please check that "-lmysqlclient" is one of the parameters.
If it complains that it does not find the lib, you have to give the correct path at the "Library paths" setting.

Best regards,
Previous Topic:Export project with building settings
Next Topic:CMake
Goto Forum:

Current Time: Fri Nov 27 15:28:17 GMT 2015

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

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