Compiling against external libraries
Posted: Wed Aug 05, 2015 6:42 am
Hi.
I'm trying to compile some code into the Crazyflie firmware which is dependent on CBLAS and LAPCKE, but I can't figure out how to link against those libraries. Currently I would just like to use the system default for ease of testing, and the same program with a CMake file outside of the Crazyflie firmware compiles on my PC. What is the easiest way to compile a file which should be included in the firmware with "-lcblas -llapacke"?
I'm trying to compile some code into the Crazyflie firmware which is dependent on CBLAS and LAPCKE, but I can't figure out how to link against those libraries. Currently I would just like to use the system default for ease of testing, and the same program with a CMake file outside of the Crazyflie firmware compiles on my PC. What is the easiest way to compile a file which should be included in the firmware with "-lcblas -llapacke"?