AnsweredAssumed Answered

USBDM API usage problems

Question asked by Padelis Floudas on Feb 2, 2014
Latest reply on Feb 4, 2014 by Padelis Floudas

Hi,

 

i want to develop a new app that uses the USBDM interface and i have difficulties when i try to compile the USBDM_API_Example.cpp.

 

I am using codeblocks and mingw to compile the app but i keep getting undefined reference on the usbdm_api.

 

||=== Build: Release in usbdmapitest (compiler: GNU GCC Compiler) ===|
obj\Release\main.o:main.cpp|| undefined reference to `_imp__USBDM_GetErrorString@4'|
obj\Release\main.o:main.cpp|| undefined reference to `_imp__USBDM_Close@0'|
obj\Release\main.o:main.cpp|| undefined reference to `_imp__USBDM_Exit@0'|
||=== Build failed: 3 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

 

the header file is in the same dir as the the cpp file and i keep getting these errors. Can i have some help? Is that an issue of the DLL file?

Any help is highly appreciated.

Outcomes