This library provides a C++ vsomeip based implementation of uTransport
IMPORTANT NOTE: This project is under active development
This module contains the implementation for pub-sub and RPC API`s defined in the uProtocol spec
- Compiler: GCC/G++ 11 or Clang 13
- Ubuntu : 22.04
- conan : 1.59 or latest 2.X
- cmake : 3.20.0+
- ninja : 1.10.0+ (optional, can instead use 'make' as well)
Install up-cpp library (version v0.1.2-dev): https://github.com/eclipse-uprotocol/up-cpp
- Install boost (version: 1.84.0): https://www.boost.org/users/history/version_1_84_0.html
$ cd boost
$ ./bootstrap.sh --prefix=<installation-directory> # can be left as default /usr/local
$ ./b2
$ sudo ./b2 install
- Install vsomeip (version: 3.4.10):
Note: Do not enable signal handlling in vsomeip library
$ git clone https://github.com/COVESA/vsomeip.git
$ git cd vsomeip
$ git checkout 3.4.10
$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local/ -G Ninja ..
$ ninja
$ sudo ninja install
Two ways:
Note: If you are planning on running the examples, follow, 3.2 Build as conan package instructions
$ git clone <repo_link>
$ cd up-client-vsomeip-cpp
$ mkdir build
$ cd build
$ export LOCAL_VSOMEIP_PATH=/usr/local
$ conan install .. -of .
$ cmake -S .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
$ cmake --build .
$ cd up-client-vsomeip-cpp
$ export LOCAL_VSOMEIP_PATH=/usr/local
$ conan create .
Examples provided, are the best place to start customization and learn about how to use the library.
Refer to the EXAMPLES
- If not able to find a library, check using:
ldconfig -p |grep <lib_name>