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

Calling vsomeip example dynamic library dll using cppyy under windows is not available #270

Open
yuzhang-lab opened this issue Oct 18, 2024 · 1 comment

Comments

@yuzhang-lab
Copy link

Hi,
In windows, use cppyy to call the dynamic library dll generated by vsomeip examples version v3.4.10(https://github.com/COVESA/vsomeip/tree/3.4.10). When cmd executes the python script, the creation_application function _name is always empty, and the python script automatically ends. No error log is generated. Below is a diagram of the python script and the function in question. How do I solve it?
creation_application
scripts

@wlav
Copy link
Owner

wlav commented Oct 23, 2024

It's hard to search in an image rather than actual text, but I don't see the call to create_application() anywhere in the Python script. W/o knowing where/how it's called, I can't say anything sensible. For all I know, it's called with the default name somewhere, which is the empty string, as can be seen in the C++ sources here: https://github.com/COVESA/vsomeip/blob/4296a4caf3edd861076fca803c64be4e928f889b/implementation/compat/runtime/include/runtime_impl.hpp#L26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants