COVESA / capicxx-someip-tools

Common API C++ SOMEIP tooling
Mozilla Public License 2.0
76 stars 55 forks source link

capicxx-someip-tools wiki issue #28

Closed PaulaAlessio closed 8 months ago

PaulaAlessio commented 2 years ago

Hi,

I am following the capicxx-someip-tools wiki, and am using version 3.2.0 in commonapi-someip-generator and I encountered a validation problem when trying to generate code from HelloWorld.fdepl, namely,

grafik

This issue was fixed by adding as where indicated below grafik

Regards,

Paula

PaulaAlessio commented 2 years ago

On top of that, there's two additional issues.

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -std=c++0x") include_directories( src-gen $ENV{RUNTIME_PATH}/capicxx-core-runtime/include $ENV{RUNTIME_PATH}/capicxx-someip-runtime/include $ENV{RUNTIME_PATH}/vsomeip/interface ) link_directories( $ENV{RUNTIME_PATH}/capicxx-core-runtime/build $ENV{RUNTIME_PATH}/capicxx-someip-runtime/build $ENV{RUNTIME_PATH}/vsomeip/build ) add_executable(HelloWorldClient src/HelloWorldClient.cpp src-gen/v1/commonapi/HelloWorldSomeIPProxy.cpp src-gen/v1/commonapi/HelloWorldSomeIPDeployment.cpp ) target_link_libraries(HelloWorldClient CommonAPI CommonAPI-SomeIP vsomeip3) add_executable(HelloWorldService src/HelloWorldService.cpp src/HelloWorldStubImpl.cpp src-gen/v1/commonapi/HelloWorldSomeIPStubAdapter.cpp src-gen/v1/commonapi/HelloWorldStubDefault src-gen/v1/commonapi/HelloWorldSomeIPDeployment ) target_link_libraries(HelloWorldService CommonAPI CommonAPI-SomeIP vsomeip3)


 ` vsomeip` library suggested to compile appears to have the subscript 3.  `HelloWorldStubDefault.cpp` and HelloWorldSomeIPDeployment.cpp` do not exist.

* `vsomeip` is not installed in the system and it's `rpath` seems not to have been specified. `LD_LIBRARY_PATH` has to be exported pointing to the proper path where the library is located, so that the executables can run.
Siddharthav1 commented 11 months ago

Hello,

HelloWorldStubDefault.cpp is not being created by the generator. Is there any updates on this? I am facing the same issue.

I am using 3.2.0.1 version.

goncaloalmeida commented 10 months ago

hello, this issue is still occurring with the last release?