Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Connecting MYSQL using C Program(Getting error of linking libraries)
Connecting MYSQL using C Program [message #957760] Thu, 25 October 2012 13:19
Yerram Reddy K is currently offline Yerram Reddy KFriend
Messages: 1
Registered: October 2012
Junior Member
I am getting error while building the c, mysql connection program using cdt

Invoking: Cygwin C Linker
gcc -L"C:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\lib\opt" -o "DbConnectionC.exe" ./connection.o -llibmysql.lib
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -llibmysql.lib
collect2: ld returned 1 exit status

I have installed the cygwin compiler and added the library path and includes path

still it I am getting the above error
please help me on this
Previous Topic:Unresolved Inclusion of BluetoothAPIs and bthdef.h
Next Topic:autoreconf problem
Goto Forum:

Current Time: Sun May 20 10:31:20 GMT 2018

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

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

Back to the top