Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: An incorrect filename causes a runtime failure #652

Open
007herelsp opened this issue Mar 18, 2024 · 2 comments
Open

[BUG]: An incorrect filename causes a runtime failure #652

007herelsp opened this issue Mar 18, 2024 · 2 comments
Labels

Comments

@007herelsp
Copy link
Contributor

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 007herelsp added the bug label Mar 18, 2024
@goncaloalmeida
Copy link
Collaborator

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

@007herelsp
Copy link
Contributor Author

@goncaloalmeida We are working on a fix for this issue

007herelsp pushed a commit to 007herelsp/vsomeip that referenced this issue May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants