On Thu, Sep 9, 2010 at 08:05, Arturo CV <[email protected]> wrote: > Looking around to find a solution of why it didn't cross-compile properly I > found that the application uses the library "libusb", and this one is no > part of the Toolchain of the cross-compiler, so I was wondering if someone > can tell me How can I add this library into the toolchain so the > cross-compiler can find the headers that are missing?
You will have to cross-compile libusb and then copy the library and header files to a location where your toolchain can locate them. In the case of CodeSourcery, you can put them in cs_root/arm-none-linux-gnueabi/lib and cs_root/arm-none-linux-gnueabi/include for example. You will also need the library on the target's root filesystem unless you link it statically, please mind the licencing implications if you do though. -- Hälsningar/Regards Tobias Waldekranz _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
