SOME/IP是汽车行业使用的一个通信协议,符合autoSAR标准。
他的git是https://github.com/GENIVI/capicxx-core-tools/wiki
首先你的ubuntu需要安装cmake,git 和jre8
jre的版本高了可能不行
第一步:
$ git clone https://github.com/GENIVI/capicxx-core-runtime.git
$ cd capicxx-core-runtime/
$ ls
AUTHORS cmake CMakeLists.txt CommonAPI.pc.in commonapi.spec.in docx doxygen.in include INSTALL LICENSE README src
<.>/capicxx-core-runtime$ mkdir build
<.>/capicxx-core-runtime$ cd build
<.>/capicxx-core-runtime/build$ cmake ..
<.>/capicxx-core-runtime/build$ make
这个时候可能会出错 提示找不到 expat这个东西
我们进行安装:
wget http://sourceforge.net/projects/expat/files/expat/2.1.0/expat-2.1.0.tar.gz
tar -xzf expat-2.1.0.tar.gz
cd expat-2.1.0/
./configure --host=arm-linux-gnueabi --prefix=/usr/arm-linux-gnueabi
make