cd boost_1_74_0/
./bootstrap.sh
./b2 link=shared
sudo ./b2 install
库文件默认安装到/usr/local/lib/libboost*
头文件默认安装到/usr/local/include/boost
git clone https://github.com/GENIVI/vsomeip.git
cd vsomeip
mkdir build
cd build
cmake -DENABLE_SIGNAL_HANDLING=1 -DDIAGNOSIS_ADDRESS=0x10 …
-如果报错Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
–解决 sudo apt-get install pkg-config
-ERRORboost version 107700 is not (yet) supported. Latest supported version is 1.74.0
–只能更换1.74版本了
make
sudo make install