Installing Third Party Tools - AboudyKreidieh/truck-code GitHub Wiki
Boost 1.55.0
This page walks you through the procedure for installing a version of Boost that is compatible with QNX 7.0. This comes courtesy of https://github.com/bonewell/franca-capi-someip-sample/wiki/Build-for-QNX-7.0.
First of all, intsalling Boost 1.55.0 from the following link.
Next, install Boost and incorporate it into the framework by running the following commands:
tar -xvf boost_1_55_0.tar.gz
cd boost_1_55_0
patch -p1 < </path/to/truck-code>/boost.patch
./bootstrap.sh
./b2 install link=static toolset=qcc cxxflags="-Vgcc_ntox86_64" target-os=qnxnto --prefix=</path/to/truck-code>/thirdparty/boost
The include paths and created static objects will now be located in </path/to/truck-code>/thirdparty/boost
under include
and libs
, respectively.
Eigen
cd /path/to/eigen
mkdir build_dir
cd build_dir
cmake -D CMAKE_C_COMPILER="/path/to/qnx700/host/linux/x86_64/usr/bin/qcc" -D CMAKE_CXX_COMPILER="/path/to/qnx700/host/linux/x86_64/usr/bin/qcc -lang-c++" -D EIGEN_MAX_ALIGN_BYTES=0 ..
/path/to/qnx700/host/linux/x86_64/usr/bin/make install