vsomeip icon indicating copy to clipboard operation
vsomeip copied to clipboard

[BUG]: An incorrect filename causes a runtime failure

Open 007herelsp opened this issue 11 months ago • 2 comments

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 avatar Mar 18 '24 08:03 007herelsp

@007herelsp do you want to create a PR to fix this?

goncaloalmeida avatar May 08 '24 14:05 goncaloalmeida

@goncaloalmeida We are working on a fix for this issue

007herelsp avatar May 14 '24 14:05 007herelsp