Skip to main content
14-Alexandrite
April 19, 2024
Question

Add third party library to CSDK

  • April 19, 2024
  • 0 replies
  • 495 views

Hello community,

 

I downloaded the csdk , compile it on linux (ubuntu , my host) and it's working fine.

Now i want to add a library : libusb-1.0. 

I am able to install this library on my Ubuntu and it's working fine in my host environment (because it's installed globally)

But when i want to cross compile for arm arch, compiler keep exiting with error (cannot find the library !).

I see there is a src folder and a subfolder thirdparty on the thingworx csdk package so i copy my library source files in this folder, but it didn't resolve my problem. maybe i have to update my Cmakelist.txt but i don't know how !

I tried to download the library cross-compiled and ready to use (libusb-1.0.so) from official website and then put it on the project but i cannot find how ?!

 

Do you have an idea how to add libusb-1.0 to thingwrox CSDK ?

 

Thank you for your help.