Not applicable
Feb 20, 2015
01:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 20, 2015
01:50 AM
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 ?
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 ?
- Tags:
- IFX
0 Replies