Cross compile Boost in a QT project
I am trying compile boost on a QT pŕoject (BeagleBone) but I am getting the following error:
/home/Libs/boost_1_55_0/libs/boost/lib/libboost_system.so:-1: error: undefined reference to `__aeabi_atexit@CXXABI_ARM_1.3.3'
INCLUDEPATH += /home/Libs/boost_1_55_0/libs/boost/include/
LIBS += -L/home/Libs/boost_1_55_0/libs/boost/lib/
LIBS += -pthread
LIBS += -dl
LIBS += -lboost_system
LIBS += -lboost_thread
LIBS += -lboost_atomic
Hello! You just can include main_boost directory
INCLUDEPATH += //Users/USER_NAME/Documents/boost_1_55_0
It is working for me!
Its working on Android
I included, but the error persist :/
This looks like another lib is missing.
The reference is just in boost_system.
Do you have compiled the boost libs with the correct cross-compiler?
Do you include all required libs for the cross-compiler?
I think, you should INCLUDEPATH += /home/Libs/boost_1_55_0/libs/boost/include/ change to
INCLUDEPATH += /home/Libs/boost_1_55_0.
You must compile Boost
After that you can use it