-
Notifications
You must be signed in to change notification settings - Fork 244
dynamically link libraries #2004
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
Conversation
Removed libusbx from project and now require libusb-1.0 to be installed as a dependency. Required `apt-get install libusb-1.0-0-dev`
Fix compilation error for build dbus and removes the dbus library from the core project. Dbus is still supported but now Core will not install it on the users system.
src/3rd_party/CMakeLists.txt
Outdated
|
|
||
| if(NO_REBUILD_3RD_PARTY) | ||
| set(NO_REBUILD_3RD_PARTY_LOGGER ON) | ||
| set(NO_REBUILD_3RD_PARTY_DBUS ON) | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary whitespace.
| @@ -272,7 +274,7 @@ bool LifeCycle::InitMessageSystem() { | |||
| bool LifeCycle::InitMessageSystem() { | |||
| dbus_adapter_ = new hmi_message_handler::DBusMessageAdapter(hmi_handler_); | |||
|
|
|||
| hmi_handler_.AddHMIMessageAdapter(dbus_adapter_); | |||
| hmi_handler_->AddHMIMessageAdapter(dbus_adapter_); | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How did this ever work?
| @@ -57,7 +57,7 @@ void GetVehicleDataRequest::Run() { | |||
|
|
|||
| int32_t app_id = | |||
| (*message_)[strings::params][strings::connection_key].asUInt(); | |||
| ApplicationSharedPtr app = appplication_manager.application(app_id); | |||
| ApplicationSharedPtr app = application_manager_.application(app_id); | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How did this ever work?
src/components/dbus/CMakeLists.txt
Outdated
| @@ -40,19 +40,19 @@ include_directories ( | |||
| ${COMPONENTS_DIR}/utils/include/ | |||
| ${CMAKE_BINARY_DIR}/src/components/ | |||
| ) | |||
|
|
|||
| message(${CMAKE_CURRENT_SOURCE_DIR}) | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debug message, should be removed.
Summary
Remove Libusbx and Dbus from the source code and dynamically link the libraries instead of statically linking.
CLA