i want to use mySQL Library on XMC4500

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
i want to write over Ethernet interface in to a Database (mySql). I get the C API from mysql.com so i want to use it but my experience about, integrating .lib .dll files this, its not sufficient. What i have done.

The API - File is on my Desktop, they contains debug file include file lib file and docs. I open the Properties->settings of my project then C/C++ Build.

I add in ARM-GCC- C- Compiler -> Directories the Reference

"C:\Users\...\Desktop\MySQL\include" (here all .h files)

and after,

i add in ARM-GCC C Linker-> Libraries
-L ( Library search path)
"C:\Users\...\Desktop\MySQL\lib" (here is the .dll and .lib file)

and last step, adding the name of the .dll .lib (libmysql.lib -.dll)
-I Libraries
mysql (without lib, because the compiler adding the lib automatically i think)

after compiling i get this error message:

c:/dave-3.1.10/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.7.4/../../../../arm-none-eabi/bin/ld.exe: cannot find -lmysql

Is that, what i do wrong ?
0 Likes
0 Replies