vsomeip | Scalable service-Oriented MiddlewarE
kandi X-RAY | vsomeip Summary
kandi X-RAY | vsomeip Summary
Copyright (C) 2015-2017, Bayerische Motoren Werke Aktiengesellschaft (BMW AG). This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vsomeip
vsomeip Key Features
vsomeip Examples and Code Snippets
Community Discussions
Trending Discussions on vsomeip
QUESTION
I am experiencing dynamic_cast issue when porting vsomeip to Android.
In order to simplify the case, I created a rather simple test app/lib structure as below:
It contains a lib and an app:
libbase_1.so: implement class Final which inherrit from Base_1 and Base_2, provides get() to return std::shared
test_app: dynamic loading libbase_1.so (by dl_open), get std::shared, and dynamic cast to std::shared.
The dynamic cast works well on x86 and other arm platforms(e.g.: use linaro toolchain); but failed to work on Android, it always get nullptr.
The environemt of the AOSP is:
- NDK Version: R18
- Build sytem: AOSP
- Host OS: Ubuntu 18.04
- Compiler: Clang++ (9.0.3)
- TARGET_ARCH: armv8a
I have followed some reference below but all do not work:
- Android NDK + Two Shared Libraries + RTTI + Dynamic cast = Impossible
- https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md#rtti_exceptions-not-working-across-library-boundaries
- https://github.com/android/ndk/issues/533#issuecomment-335977747
Does anyone have idea? Thanks a lot~~
The complete runnable src can be downloaded from: https://drive.google.com/file/d/1YNsZVPVIn7_y247byBfl6JaTVtjR6tYn/view?usp=sharing
And also pastes here:
//Android.bp: can be build directly by mm
...ANSWER
Answered 2020-Oct-23 at 09:17(Its not an actual solution, just a large comment)
I think you shouldn't include the same object modules into the main executable and the shared lib. Here's a possibe way to avoid it (Makefile):
QUESTION
Currently I read some data using boost udp socket. I created socket like this
...ANSWER
Answered 2020-Oct-02 at 11:54One of the possible solution is use of libtins library
It allows you to extract raw UDP data from network traffic.
Here is more detailed tutorial:
libtins sniffing tutorial
Of course later you will have to extract data from such package. This may be more complex work than reading it because all data must be decoded form binary.
Here is Some/IP documentation:
AUTOSAR Some/IP
I hope in the future this will give some starting point to somebody.
QUESTION
This is my first time using cmake gui in windows. I am trying to install the vsomeip library in Windows. This is mainly required for my common API someip application. Now, I am having issue to compile the vsomeip library. When I run CMake gui, it says Could NOT find Boost (missing: system thread filesystem) (found suitable version "1.67.0", minimum required is "1.55")
I have already added the boost directory to my environment Path variable. I am not sure whether are there any additional configurations is required. When I try the same in Linux, it works fine. Only in Windows there is an issue.
...ANSWER
Answered 2020-Aug-12 at 02:58I fixed the issue by changing the boost version inside the boost/version.hpp.
Previously the version was written as 1_55_0. So I just changed the version to 1_55.
The other fixed was to add the environment variable Path. I added the boost include directory itself: C:\local\boost_1_55_0\boost
I am not sure this is the right way for the fix but this fixes worked for me. Maybe if you guys have better solution can share it here.
QUESTION
i need to understand the following configuration file on github -> https://github.com/GENIVI/vsomeip/blob/master/documentation/vsomeipUserGuide
Unfortunately it is written in a markup language i do not know and can't seem to find elsewhere. Can you tell me which one it is?
...ANSWER
Answered 2020-Mar-01 at 11:52This looks like documentation rather than configuration, written in AsciiDoc.
In fact the Build Instructions
section tells you what you need:
- To build the documentation asciidoc, source-highlight, doxygen and graphviz is needed:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vsomeip
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page