Skip to content

Commit

Permalink
add naoqi packages to linux (#333)
Browse files Browse the repository at this point in the history
* add naoqi deps

* Create ros-noetic-naoqi-libqi.patch

* Update ros-noetic-naoqi-libqi.patch

* Update ros-noetic-naoqi-libqi.patch

* Update ros-noetic-naoqi-libqi.patch

* Create ros-noetic-naoqi-driver.patch

* Update ros-noetic-naoqi-driver.patch

* Update ros-noetic-naoqi-driver.patch

Co-authored-by: Tobias Fischer <[email protected]>
  • Loading branch information
hvoss-techfak and Tobias-Fischer authored Jan 27, 2023
1 parent 7f2a9ff commit 0da078f
Show file tree
Hide file tree
Showing 3 changed files with 713 additions and 1 deletion.
28 changes: 28 additions & 0 deletions patch/ros-noetic-naoqi-driver.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
diff --git a/CMakeLists_catkin.txt b/CMakeLists_catkin.txt
index 0978b90..fa5f6ec 100644
--- a/CMakeLists_catkin.txt
+++ b/CMakeLists_catkin.txt
@@ -24,6 +24,7 @@ find_package(catkin COMPONENTS
)
find_package(OpenCV)
find_package(orocos_kdl)
+find_package(Boost REQUIRED COMPONENTS program_options thread)

add_definitions(-DLIBQI_VERSION=${naoqi_libqi_VERSION_MAJOR}${naoqi_libqi_VERSION_MINOR})

@@ -56,6 +57,7 @@ target_link_libraries(
${catkin_LIBRARIES}
${OpenCV_LIBRARIES}
${orocos_kdl_LIBRARIES}
+ ${Boost_LIBRARIES}
)
add_dependencies(naoqi_driver ${catkin_EXPORTED_TARGETS})
install(TARGETS naoqi_driver DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION})
@@ -71,6 +73,7 @@ target_link_libraries(
naoqi_driver_node
naoqi_driver
${catkin_LIBRARIES}
+ ${Boost_LIBRARIES}
)
install(TARGETS naoqi_driver_node DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})

Loading

0 comments on commit 0da078f

Please sign in to comment.