chore: upgrade hivecore logger SDK from 1.0.0 to 1.0.1
- Update hivecore_logger_cpp_DIR and include paths in brain and smacc2 CMakeLists.txt to reference SDK version 1.0.1 - Fix unused parameter warning in CbRosStop2 constructor by casting launchPid to void
This commit is contained in:
@@ -10,7 +10,7 @@ find_package(ament_cmake REQUIRED)
|
||||
find_package(rclcpp REQUIRED)
|
||||
|
||||
# hivecore logger SDK
|
||||
set(hivecore_logger_cpp_DIR "/opt/hivecore/logger-sdk/1.0.0/lib/cmake/hivecore_logger_cpp")
|
||||
set(hivecore_logger_cpp_DIR "/opt/hivecore/logger-sdk/1.0.1/lib/cmake/hivecore_logger_cpp")
|
||||
find_package(hivecore_logger_cpp REQUIRED)
|
||||
find_package(rclcpp_components REQUIRED)
|
||||
# uncomment the following section in order to fill in
|
||||
@@ -48,7 +48,7 @@ target_include_directories(brain_node PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
$<INSTALL_INTERFACE:include>
|
||||
interfaces/include
|
||||
/opt/hivecore/logger-sdk/1.0.0/include
|
||||
/opt/hivecore/logger-sdk/1.0.1/include
|
||||
)
|
||||
|
||||
target_compile_features(brain_node PUBLIC c_std_99 cxx_std_17) # Require C99 and C++17
|
||||
|
||||
@@ -20,7 +20,7 @@ find_package(tracetools)
|
||||
find_package(LTTngUST REQUIRED)
|
||||
|
||||
# hivecore logger SDK
|
||||
set(hivecore_logger_cpp_DIR "/opt/hivecore/logger-sdk/1.0.0/lib/cmake/hivecore_logger_cpp")
|
||||
set(hivecore_logger_cpp_DIR "/opt/hivecore/logger-sdk/1.0.1/lib/cmake/hivecore_logger_cpp")
|
||||
find_package(hivecore_logger_cpp REQUIRED)
|
||||
|
||||
set(dependencies
|
||||
@@ -31,7 +31,7 @@ set(dependencies
|
||||
)
|
||||
|
||||
include_directories(include ${LTTNGUST_INCLUDE_DIRS}
|
||||
/opt/hivecore/logger-sdk/1.0.0/include
|
||||
/opt/hivecore/logger-sdk/1.0.1/include
|
||||
)
|
||||
|
||||
file(GLOB_RECURSE SRC_FILES src *.cpp)
|
||||
|
||||
@@ -27,7 +27,7 @@ std::vector<std::future<std::string>> CbRosStop2::detached_futures_;
|
||||
|
||||
CbRosStop2::CbRosStop2() {}
|
||||
|
||||
CbRosStop2::CbRosStop2(pid_t launchPid) {}
|
||||
CbRosStop2::CbRosStop2(pid_t launchPid) { (void)launchPid; }
|
||||
|
||||
CbRosStop2::~CbRosStop2() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user