Download & Build with CMake and install under path
# cd vsomeip/capicxx-core-runtime/capicxx-someip-runtime
cmake .
cd build
cmake install Download, extract, and use directly with
.fidlfiles
Download, extract, and use directly with
.fdeplfiles
# To make life easier, make an alias for generators in ~/.bashrc
alias ccgen="~/Downloads/commonapi_core_generator/commonapi-core-generator-linux-x86_64"
alias csgen="~/Downloads/commonapi_someip_generator/commonapi-someip-generator-linux-x86_64"comAPITest/
├── hello.fidl # Interface definition
├── hello.fdepl # SomeIP deployment configuration
├── commonapi.ini # CommonAPI binding config
├── service-config.json # vsomeip config for service
├── client-config.json # vsomeip config for client
├── init_service.sh # Script to launch service
├── init_client.sh # Script to launch client
├── service/
│ ├── service.cpp # Service implementation
│ └── CMakeLists.txt
├── client/
│ ├── client.cpp # Client implementation
│ └── CMakeLists.txt
├── src-gen/ # Auto-generated
│ └── v0/GettingStarted/
│ ├── HelloWorld.hpp
│ ├── HelloWorldProxy.hpp
│ ├── HelloWorldProxyBase.hpp
│ ├── HelloWorldStub.hpp
│ ├── HelloWorldStubDefault.hpp
│ ├── HelloWorldSomeIPProxy.hpp
│ ├── HelloWorldSomeIPProxy.cpp
│ ├── HelloWorldSomeIPStubAdapter.hpp
│ ├── HelloWorldSomeIPStubAdapter.cpp
│ ├── HelloWorldSomeIPDeployment.hpp
│ ├── HelloWorldSomeIPDeployment.cpp
│ └── HelloWorldSomeIPCatalog.json
├── CMakeLists.txt # Root CMake — builds both targets
└── build/ # Build output (generated)Generate commonAPI files:
ccgen -sk hello.fidl
csgen hello.fdeplThis generates commonapi core & someip files
Service will use HelloWorldStubDefault.hpp
Client will use HelloWorldProxy.hpp
Configure service & client in .json files using the same names and configs in .fidl and .fdepl files
cmake -S . -B build
cmake --build build./init_service.sh
./init_client.shoutput