-
Notifications
You must be signed in to change notification settings - Fork 54
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
HelloWorld running issue #22
Comments
export LD_LIBRARY_PATH to build folder fixed the issue. Because there is nobody to install the samples in there linux systems, I think should be specified somewhere in the wiki that LD_LIBRARY_PATH setting. |
@catalinolteanu I experience the same issue but for me the "export hack" doesn't work. Any other more detailed remarks on this? I went to the build folder and exported the path but this doesn't change anything. If I spare out the commonapi.ini file the whole server will be run on dbus (which is the default as far as I understand) and therefore doesn't cause the error. So it seems to be something within the someip-tools stack that causes this which can't be solved by the "hack". |
The weird thing though is, that the code still works, but the message is irritating and maybe there may be a way of getting rid of it? |
You probably had to add next lines into your ini files:
local:commonapi.HelloWorld:v1_0:test |
I meet the issue too, I don't know the correct path where v1_0__test.so is located , I searched all files but not found v_1__test.so anywhere. Could you help it ? |
Same issue from my side. Is there a more comprehensive guide to solve this? |
hello, |
I know how to fix , we need config commonapi.ini file's [stub] and [proxy].
and this path is from your generate code xxxSomeIPproxy.cpp:
|
@goncaloalmeida Newest version also has this issue, I have this issue as well. |
How do you fix this issue? As your comment, I add one line in commonapi.ini |
According to CommonAPI's source code, name of binding library to be searched is configurable. But you can change it by setting the property for your service (directly in cpp code)
Then it will be Here is responsible snippet
|
The CMakeLists.txt file was updated and a new line was added: "set(PRJ_NAME HelloWorld)". |
Hi,
I've built the HelloWorld(described in the wiki), for vsomeip3. After a small change in CMakeLists(for linking with vsomeip3 and some generated cpp file name), I managed to have two binaries(HelloWorldClient and HelloWorldService).
I've configured the /etc/commonapi.ini to something like:
[default]
binding=someip
[logging]
console = true
file = ./mylog.log
dlt = false
level = verbose
Now, I have this output, that shows missing the test library and configuration module:
@catalin-virt:/sources/genivi/project/build$ [CAPI][INFO] Loading configuration file '/etc/commonapi.ini'
[CAPI][INFO] Using default binding 'someip'
[CAPI][INFO] Using default shared library folder '/usr/local/lib/commonapi'
[CAPI][DEBUG] Added address mapping: local:commonapi.HelloWorld:v1_0:test <--> [1234.5678(1.0)]
[CAPI][INFO] Registering function for creating "commonapi.HelloWorld:v1_0" stub adapter.
[CAPI][DEBUG] Loading library for local:commonapi.HelloWorld:v1_0:test stub.
[CAPI][DEBUG] Loading interface library "liblocal__commonapi_HelloWorld:v1_0__test.so" failed (liblocal__commonapi_HelloWorld:v1_0__test.so: cannot open shared object file: No such file or directory)
[CAPI][INFO] Registering stub for "local:commonapi.HelloWorld:v1_0:test"
Configuration module could not be loaded!
What should I do now to make the sample to communicate between client and service ?
Thank you !
The text was updated successfully, but these errors were encountered: