in a workspace installed image_common(git repository), pointgrey_camera_driver(git repository but ask catkin to ignore pointgrey_camera_description and pointgrey_camera_driver) and finally flir_camera_driver(git repository) but i get an issue at the build:
Scanning dependencies of target SpinnakerCameraNodelet
[ 98%] Building CXX object flir_camera_driver/spinnaker_camera_driver/CMakeFiles/SpinnakerCameraNodelet.dir/src/nodelet.cpp.o
/usr/bin/ld: /home/fpga/catkin_ws/devel/lib/libSpinnakerCameraLib.so: undefined reference to `spinnaker_camera_driver::Cm3::Cm3(Spinnaker::GenApi::INodeMap*)'
/usr/bin/ld: /home/fpga/catkin_ws/devel/lib/libSpinnakerCameraLib.so: undefined reference to `spinnaker_camera_driver::Cm3::~Cm3()'
collect2: error: ld returned 1 exit status
make[2]: *** [flir_camera_driver/spinnaker_camera_driver/CMakeFiles/spinnaker_test_node.dir/build.make:193: /home/fpga/catkin_ws/devel/lib/spinnaker_camera_driver/spinnaker_test_node] Error 1
make[1]: *** [CMakeFiles/Makefile2:5088: flir_camera_driver/spinnaker_camera_driver/CMakeFiles/spinnaker_test_node.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: /home/fpga/catkin_ws/devel/lib/libSpinnakerCameraLib.so: undefined reference to `spinnaker_camera_driver::Cm3::Cm3(Spinnaker::GenApi::INodeMap*)'
/usr/bin/ld: /home/fpga/catkin_ws/devel/lib/libSpinnakerCameraLib.so: undefined reference to `spinnaker_camera_driver::Cm3::~Cm3()'
collect2: error: ld returned 1 exit status
make[2]: *** [flir_camera_driver/spinnaker_camera_driver/CMakeFiles/spinnaker_camera_node.dir/build.make:193: /home/fpga/catkin_ws/devel/lib/spinnaker_camera_driver/camera_node] Error 1
make[1]: *** [CMakeFiles/Makefile2:5351: flir_camera_driver/spinnaker_camera_driver/CMakeFiles/spinnaker_camera_node.dir/all] Error 2
does anyone know how to resolve this issue?
best regards
Sarah
Hi Sarah, you shouldn't need to ignore packages. Make sure all the dependencies are installed before trying to compile. The newest changes could help with melodic compilation as well.
hi I followed the steps to install the spinnaker driver on Debian, i installed the melodic version of ROS following this tutorial: https://www.instructables.com/id/ROS-Melodic-on-Raspberry-Pi-4-RPLIDAR/ (until the RPLIDAR part since didn't need it ^^')
in a workspace installed image_common(git repository), pointgrey_camera_driver(git repository but ask catkin to ignore pointgrey_camera_description and pointgrey_camera_driver) and finally flir_camera_driver(git repository) but i get an issue at the build:
does anyone know how to resolve this issue? best regards Sarah