vsomeip 설치후 GENIVI 에서 사용하는 capicxx-someip-runtim 라이브러리를 설치한다.
$ sudo apt-get install libboost-system1.58-dev libboost-thread1.58-dev libboost-log1.58-dev
설치시옵션
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting build type to 'RelWithDebInfo' as none was specified.
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- system
-- thread
-- log
-- chrono
-- date_time
-- atomic
-- log_setup
-- filesystem
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'automotive-dlt >= 2.11'
--
-- Checking for module 'libsystemd'
-- No package 'libsystemd' found
-- Systemd was not found, watchdog disabled!
Predefined unicast address: 127.0.0.1
Predefined diagnosis address: 0x00
Predefined routing application: vsomeipd
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.11")
dot found
asciidoc found
source-highlight found
-- GTEST_ROOT is not defined. For building the tests the variable
GTEST_ROOT has to be defined. Tests can not be built.
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
USE_INSTALLED_COMMONAPI
-- Build files have been written to: /home/kj/Project/GDP/New/source/vsomeip/build
$ cmake -D USE_INSTALLED_COMMONAPI=ON -D CMAKE_INSTALL_PREFIX=/opt/GENIVI/new ..
STALLED_COMMONAPI=ON -D CMAKE_INSTALL_PREFIX=/opt/GENIVI/new ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project name: CommonAPI-SomeIP
-- USE_FILE is set to value: OFF
-- USE_CONSOLE is set to value: OFF
-- DEFAULT_SEND_TIMEOUT is set to value: 5000 ms
-- Setting build type to 'RelWithDebInfo' as none was specified.
-- MAX_LOG_LEVEL is set to value: DEBUG
-- CommonAPI_CONSIDERED_CONFIGS: /opt/GENIVI/new/lib/cmake/CommonAPI-3.1.12/Comm onAPIConfig.cmake
-- COMMONAPI_INCLUDE_DIRS: /opt/GENIVI/new/lib/cmake/CommonAPI-3.1.12/../../../i nclude/CommonAPI-3.1
-- CommonAPI Version: 3.1.12
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- system
-- thread
-- log
-- chrono
-- date_time
-- atomic
-- log_setup
-- filesystem
-- vsomeip version: 2.10.21
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kj/Project/GDP/New/source/capicxx-som eip-runtime/build
Scanning dependencies of target CommonAPI-SomeIP
[ 5%] Building CXX object CMakeFiles/CommonAPI-SomeIP.dir/src/CommonAPI/SomeIP/ AddressTranslator.cpp.o
[ 10%] Building CXX object CMakeFiles/CommonAPI-SomeIP.dir/src/CommonAPI/SomeIP/ Address.cpp.o
[ 15%] Building CXX object CMakeFiles/CommonAPI-SomeIP.dir/src/CommonAPI/SomeIP/ ClientId.cpp.o
[ 21%] Building CXX object CMakeFiles/CommonAPI-SomeIP.dir/src/CommonAPI/SomeIP/ Connection.cpp.o
[ 26%] Building CXX object CMakeFiles/CommonAPI-SomeIP.dir/src/CommonAPI/SomeIP/ DispatchSource.cpp.o
[ 31%] Building CXX object CMakeFiles/CommonAPI-SomeIP.dir/src/CommonAPI/SomeIP/ Factory.cpp.o
[ 36%] Building CXX object CMakeFiles/CommonAPI-SomeIP.dir/src/CommonAPI/SomeIP/InputStream.cpp.o
[ 42%] Building CXX object CMakeFiles/CommonAPI-SomeIP.dir/src/CommonAPI/SomeIP/InstanceAvailabilityStatusChangedEvent.cpp.o
[ 47%] Building CXX object CMakeFiles/CommonAPI-SomeIP.dir/src/CommonAPI/SomeIP/Message.cpp.o
[ 52%] Building CXX object CMakeFiles/CommonAPI-SomeIP.dir/src/CommonAPI/SomeIP/OutputStream.cpp.o
[ 57%] Building CXX object CMakeFiles/CommonAPI-SomeIP.dir/src/CommonAPI/SomeIP/Proxy.cpp.o
[ 63%] Building CXX object CMakeFiles/CommonAPI-SomeIP.dir/src/CommonAPI/SomeIP/ProxyBase.cpp.o
[ 68%] Building CXX object CMakeFiles/CommonAPI-SomeIP.dir/src/CommonAPI/SomeIP/ProxyManager.cpp.o
[ 73%] Building CXX object CMakeFiles/CommonAPI-SomeIP.dir/src/CommonAPI/SomeIP/StringEncoder.cpp.o
[ 78%] Building CXX object CMakeFiles/CommonAPI-SomeIP.dir/src/CommonAPI/SomeIP/StubAdapter.cpp.o
[ 84%] Building CXX object CMakeFiles/CommonAPI-SomeIP.dir/src/CommonAPI/SomeIP/StubManager.cpp.o
[ 89%] Building CXX object CMakeFiles/CommonAPI-SomeIP.dir/src/CommonAPI/SomeIP/SubscriptionStatusWrapper.cpp.o
[ 94%] Building CXX object CMakeFiles/CommonAPI-SomeIP.dir/src/CommonAPI/SomeIP/Watch.cpp.o
[100%] Linking CXX shared library libCommonAPI-SomeIP.so
[100%] Built target CommonAPI-SomeIP
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /opt/GENIVI/new/lib/libCommonAPI-SomeIP.so.3.1.12
-- Installing: /opt/GENIVI/new/lib/libCommonAPI-SomeIP.so
-- Set runtime path of "/opt/GENIVI/new/lib/libCommonAPI-SomeIP.so.3.1.12" to ""
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/Address.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/AddressTranslator.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/Attribute.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/ClientId.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/CommonAPISomeIP.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/Configuration.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/Connection.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/Constants.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/Defines.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/Deployment.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/DispatchSource.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/Event.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/Factory.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/Helper.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/InputStream.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/InstanceAvailabilityStatusChangedEvent.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/InterfaceHandler.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/Message.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/OutputStream.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/Proxy.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/ProxyAsyncCallbackHandler.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/ProxyAsyncEventCallbackHandler.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/ProxyBase.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/ProxyConnection.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/ProxyHelper.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/ProxyManager.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/SelectiveEvent.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/SerializableArguments.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/StringEncoder.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/StubAdapter.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/StubAdapterHelper.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/StubManager.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/SubscriptionStatusWrapper.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/Types.hpp
-- Installing: /opt/GENIVI/new/include/CommonAPI-3.1/CommonAPI/SomeIP/Watch.hpp
-- Installing: /opt/GENIVI/new/lib/cmake/CommonAPI-SomeIP-3.1.12/CommonAPI-SomeIPConfig.cmake
-- Installing: /opt/GENIVI/new/lib/cmake/CommonAPI-SomeIP-3.1.12/CommonAPI-SomeIPConfigVersion.cmake
-- Installing: /opt/GENIVI/new/lib/cmake/CommonAPI-SomeIP-3.1.12/CommonAPI-SomeIPTargets.cmake
-- Installing: /opt/GENIVI/new/lib/cmake/CommonAPI-SomeIP-3.1.12/CommonAPI-SomeIPTargets-relwithdebinfo.cmake
-- Installing: /opt/GENIVI/new/lib/pkgconfig/CommonAPI-SomeIP.pc