ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi, I also face this problem which take me a long time. and I find a solution which can solve it. Just like joq, while I give the details about it. and I reference to Soonhac Hong
and I paste his below for more people:
Quick set of simple patches to make your code compile against C-turtle:
--- manifest.xml (revision 17) +++ manifest.xml (working copy) @@ -11,7 +11,7 @@ <depend package="tf"/> <depend package="camera_info_manager"/> <depend package="dynamic_reconfigure"/> - <depend package="libdc1394v2"/> + <rosdep name="libdc1394-dev"/> </package>
--- src/bumblebee2.cpp (revision 17) +++ src/bumblebee2.cpp (working copy) @@ -52,7 +52,7 @@ #include <sensor_msgs camerainfo.h=""> #include <sensor_msgs image_encodings.h=""> #include <tf transform_listener.h=""> -#include <camera_info_manager camera_info.h=""> +#include <camera_info_manager camera_info_manager.h=""> #include <image_transport image_transport.h=""> #include <dynamic_reconfigure server.h=""> #include <dynamic_reconfigure sensorlevels.h="">
--- src/dev_camera1394.cpp (revision 17) +++ src/dev_camera1394.cpp (working copy) @@ -34,6 +34,7 @@
#include <stdint.h> #include <sensor_msgs image_encodings.h=""> +#include <dc1394 dc1394.h="">
#include "bumblebee2.h"
--- CMakeLists.txt (revision 17) +++ CMakeLists.txt (working copy) @@ -33,6 +33,6 @@ #rosbuild_add_boost_directories() #rosbuild_link_boost(${PROJECT_NAME} thread) #rosbuild_add_executable(example examples/example.cpp) -#target_link_libraries(example ${PROJECT_NAME}) +rosbuild_add_executable(${PROJECT_NAME} src/bumblebee2.cpp src/dev_camera1394.cpp)
-rosbuild_add_executable(${PROJECT_NAME} src/bumblebee2.cpp src/dev_camera1394.cpp) +target_link_libraries(${PROJECT_NAME} dc1394)
2 | No.2 Revision |
Hi, I also face this problem which take me a long time. and I find a solution which can solve it. Just like joq, while I give the details about it. and I reference to Soonhac Hong
and I paste his below for more people:
Quick set of simple patches to make your code compile against C-turtle:
--- manifest.xml (revision 17) +++ manifest.xml (working copy) @@ -11,7 +11,7 @@ <depend package="tf"/> <depend package="camera_info_manager"/> <depend package="dynamic_reconfigure"/> - <depend package="libdc1394v2"/> + <rosdep name="libdc1394-dev"/> </package>
--- src/bumblebee2.cpp (revision 17) +++ src/bumblebee2.cpp (working copy) @@ -52,7 +52,7 @@ #include <sensor_msgs camerainfo.h=""> #include <sensor_msgs image_encodings.h=""> #include <tf transform_listener.h=""> -#include <camera_info_manager camera_info.h=""> +#include <camera_info_manager camera_info_manager.h=""> #include <image_transport image_transport.h=""> #include <dynamic_reconfigure server.h=""> #include <dynamic_reconfigure sensorlevels.h="">
--- src/dev_camera1394.cpp (revision 17) +++ src/dev_camera1394.cpp (working copy) @@ -34,6 +34,7 @@
#include <stdint.h> #include <sensor_msgs image_encodings.h=""> +#include <dc1394 dc1394.h="">
#include "bumblebee2.h"
--- CMakeLists.txt (revision 17) +++ CMakeLists.txt (working copy) @@ -33,6 +33,6 @@ #rosbuild_add_boost_directories() #rosbuild_link_boost(${PROJECT_NAME} thread) #rosbuild_add_executable(example examples/example.cpp) -#target_link_libraries(example ${PROJECT_NAME}) +rosbuild_add_executable(${PROJECT_NAME} src/bumblebee2.cpp src/dev_camera1394.cpp)
-rosbuild_add_executable(${PROJECT_NAME} src/bumblebee2.cpp src/dev_camera1394.cpp) +target_link_libraries(${PROJECT_NAME} dc1394)
3 | No.3 Revision |
Hi, I also face this problem which take me a long time. and I find a solution which can solve it. Just like joq, while I give the details about it. and I reference to Soonhac Hong
and I paste his below for more people:
Quick set of simple patches to make your code compile against C-turtle:
--- manifest.xml (revision 17)
17)
+++ manifest.xml (working copy)
@@ copy)@@ -11,7 +11,7 @@
<depend package="tf"/>
<depend package="camera_info_manager"/>
<depend package="dynamic_reconfigure"/>
- <depend package="libdc1394v2"/>
+ <rosdep name="libdc1394-dev"/>
</package>
--- src/bumblebee2.cpp (revision 17) +++ src/bumblebee2.cpp (working copy) @@ -52,7 +52,7 @@ #include <sensor_msgs camerainfo.h=""> #include <sensor_msgs image_encodings.h=""> #include <tf transform_listener.h=""> -#include <camera_info_manager camera_info.h=""> +#include <camera_info_manager camera_info_manager.h=""> #include <image_transport image_transport.h=""> #include <dynamic_reconfigure server.h=""> #include <dynamic_reconfigure sensorlevels.h="">
--- src/dev_camera1394.cpp (revision 17) +++ src/dev_camera1394.cpp (working copy) @@ -34,6 +34,7 @@
#include <stdint.h> #include <sensor_msgs image_encodings.h=""> +#include <dc1394 dc1394.h="">
#include "bumblebee2.h"
--- CMakeLists.txt (revision 17) +++ CMakeLists.txt (working copy) @@ -33,6 +33,6 @@ #rosbuild_add_boost_directories() #rosbuild_link_boost(${PROJECT_NAME} thread) #rosbuild_add_executable(example examples/example.cpp) -#target_link_libraries(example ${PROJECT_NAME}) +rosbuild_add_executable(${PROJECT_NAME} src/bumblebee2.cpp src/dev_camera1394.cpp)
-rosbuild_add_executable(${PROJECT_NAME} src/bumblebee2.cpp src/dev_camera1394.cpp) +target_link_libraries(${PROJECT_NAME} dc1394)
4 | No.4 Revision |
Hi, I also face this problem which take me a long time. and I find a solution which can solve it. Just like joq, while I give the details about it. and I reference to Soonhac Hong
and I paste his below for more people:
Quick set of simple patches to make your code compile against C-turtle:
Index: manifest.xml