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 09:19
Yerram Reddy K is currently offline Yerram Reddy K
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: Wed Aug 20 09:00:35 EDT 2014

Powered by FUDForum. Page generated in 0.01397 seconds