vsomeip
vsomeip copied to clipboard
[BUG]: An incorrect filename causes a runtime failure
vSomeip Version
v3.4.10
Boost Version
1.71
Environment
Android NDK+cmake
Describe the bug
vsomeip/CMakeLists.txt defined the output file name: add_library(${VSOMEIP_NAME}-cfg SHARED ${${VSOMEIP_NAME}-cfg_SRC}) add_library(${VSOMEIP_NAME}-sd SHARED ${${VSOMEIP_NAME}-sd_SRC}) add_library(${VSOMEIP_NAME}-e2e SHARED ${${VSOMEIP_NAME}-e2e_SRC})
However vsomeip/implementation/configuration/include/internal_android.hpp #define VSOMEIP_CFG_LIBRARY "libvsomeip_cfg.so" #define VSOMEIP_SD_LIBRARY "libvsomeip_sd.so" #define VSOMEIP_E2E_LIBRARY "libvsomeip_e2e.so"
This will not work at runtime because the file cannot be found
Reproduction Steps
Run the example in the Android environment after compiling using Android NDK+cmake
Expected behaviour
SD function can be enabled normally
Logs and Screenshots
no
@007herelsp do you want to create a PR to fix this?
@goncaloalmeida We are working on a fix for this issue