Skip to content

Commit 63f939b

Browse files
hillbrookquning18
authored andcommitted
platform: add debug info
* Update debug version rtps lib. * Add some debug info.
1 parent dcc4dfd commit 63f939b

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

ros/class_loader/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ find_package(console_bridge REQUIRED)
1212

1313
if(${catkin_FOUND})
1414
find_package(catkin REQUIRED COMPONENTS cmake_modules)
15-
find_package(Poco REQUIRED COMPONENTS Foundation)
15+
#find_package(Poco REQUIRED COMPONENTS Foundation)
16+
set(Poco_LIBRARIES PocoFoundation)
1617
catkin_package(
1718
INCLUDE_DIRS include
1819
LIBRARIES ${PROJECT_NAME} ${Poco_LIBRARIES}

ros/pluginlib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ catkin_package(
1616
include_directories(include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${TinyXML_INCLUDE_DIRS})
1717

1818
add_executable(plugin_tool src/plugin_tool.cpp)
19-
target_link_libraries(plugin_tool ${Boost_LIBRARIES} ${catkin_LIBRARIES} ${TinyXML_LIBRARIES})
19+
target_link_libraries(plugin_tool ${Boost_LIBRARIES} ${catkin_LIBRARIES} ${TinyXML_LIBRARIES} dl)
2020

2121
install(TARGETS plugin_tool
2222
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}

ros/ros_comm/roscpp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ find_package(catkin REQUIRED COMPONENTS
99
cpp_common message_generation rosconsole roscpp_serialization roscpp_traits rosgraph_msgs rostime std_msgs xmlrpcpp
1010
)
1111

12-
set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}")
12+
set(CMAKE_CXX_FLAGS "-g -std=c++11 ${CMAKE_CXX_FLAGS}")
1313

1414
catkin_package_xml()
1515
# split version in parts and pass to extra file
28.8 MB
Binary file not shown.
28.8 MB
Binary file not shown.

0 commit comments

Comments
 (0)