0

I am trying to cross-compile my project on Ubuntu16.04 LTS for Raspberry PI. I am using QT for development and CMake.

I have configured the toolchain. When I build my project I get following error:

No rule to make target '/usr/lib/arm-linux-gnueabihf/libboost_filesystem.so', needed by 'devel/lib/libdynamixel_sdk.so'. Stop.

The library "libboost_filesystem.so" indeed does NOT exist under "/usr/lib/arm-linux-gnueabihf/". The actual location of the lib is under sysroot: "/opt/qt5pi/sysroot/usr/lib/arm-linux-gnueabihf/".

So how do I tell CMake to search for static libraries under my sysroot rather than /usr/lib?

Thanks in advance for any help...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.