Common API Some/IP 环境的搭建


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
  • 0
    点赞
  • 20
    收藏
    觉得还不错? 一键收藏
  • 5
    评论
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值