lagadic / visp_ros

A basket of generic ros nodes based on ViSP library
GNU General Public License v2.0
42 stars 33 forks source link

Error with catkin_make #7

Closed Gaspard-Bourgeois closed 5 years ago

Gaspard-Bourgeois commented 5 years ago

It seems that they are some issues with the package dependencies called "visp_ros_bebop2_visual_servo_nodelet" if I'm not mistaken, could you help me with my issue bellow:

gaspard-irt-jv@gaspardirtjv-VirtualBox:~/catkin_ws$ catkin_make -DCMAKE_BUILD_TYPE=Release --pkg visp_ros Base path: /home/gaspard-irt-jv/catkin_ws Source space: /home/gaspard-irt-jv/catkin_ws/src Build space: /home/gaspard-irt-jv/catkin_ws/build Devel space: /home/gaspard-irt-jv/catkin_ws/devel Install space: /home/gaspard-irt-jv/catkin_ws/install

Running command: "cmake /home/gaspard-irt-jv/catkin_ws/src -DCMAKE_BUILD_TYPE=Release -DCATKIN_DEVEL_PREFIX=/home/gaspard-irt-jv/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/gaspard-irt-jv/catkin_ws/install -G Unix Makefiles" in "/home/gaspard-irt-jv/catkin_ws/build"

-- Using CATKIN_DEVEL_PREFIX: /home/gaspard-irt-jv/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /home/gaspard-irt-jv/ws_moveit/devel;/opt/ros/kinetic -- This workspace overlays: /home/gaspard-irt-jv/ws_moveit/devel;/opt/ros/kinetic -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/gaspard-irt-jv/catkin_ws/build/test_results -- Found gmock sources under '/usr/src/gmock': gmock will be built -- Found gtest sources under '/usr/src/gmock': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.7.18 -- BUILD_SHARED_LIBS is on -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~ -- ~~ traversing 7 packages in topological order: -- ~~ - vision_visp (metapackage) -- ~~ - visp_bridge -- ~~ - visp_camera_calibration -- ~~ - visp_hand2eye_calibration -- ~~ - visp_ros -- ~~ - visp_tracker -- ~~ - visp_auto_tracker -- ~~~~~~~~~~~~~ -- +++ processing catkin metapackage: 'vision_visp' -- ==> add_subdirectory(vision_visp/vision_visp) -- +++ processing catkin package: 'visp_bridge' -- ==> add_subdirectory(vision_visp/visp_bridge) -- Boost version: 1.58.0 -- Found the following Boost libraries: -- filesystem -- program_options -- system -- +++ processing catkin package: 'visp_camera_calibration' -- ==> add_subdirectory(vision_visp/visp_camera_calibration) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- visp_camera_calibration: 4 messages, 1 services -- +++ processing catkin package: 'visp_hand2eye_calibration' -- ==> add_subdirectory(vision_visp/visp_hand2eye_calibration) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- visp_hand2eye_calibration: 1 messages, 3 services -- +++ processing catkin package: 'visp_ros' -- ==> add_subdirectory(visp_ros) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- +++ processing catkin package: 'visp_tracker' -- ==> add_subdirectory(vision_visp/visp_tracker) -- Boost version: 1.58.0 -- Found the following Boost libraries: -- filesystem -- thread -- system -- chrono -- date_time -- atomic -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- visp_tracker: 7 messages, 1 services -- +++ processing catkin package: 'visp_auto_tracker' -- ==> add_subdirectory(vision_visp/visp_auto_tracker) -- Performing Test COMPILER_SUPPORTS_CXX11 -- Performing Test COMPILER_SUPPORTS_CXX11 - Success -- Performing Test COMPILER_SUPPORTS_GNUXX11 -- Performing Test COMPILER_SUPPORTS_GNUXX11 - Success -- Boost version: 1.58.0 -- Found the following Boost libraries: -- filesystem -- system -- signals -- regex -- date_time -- program_options -- thread -- chrono -- atomic -- Configuring done -- Generating done -- Build files have been written to: /home/gaspard-irt-jv/catkin_ws/build

Running command: "make -j1 -l1" in "/home/gaspard-irt-jv/catkin_ws/build/visp_ros"

Scanning dependencies of target visp_bridge [ 8%] Building CXX object vision_visp/visp_bridge/CMakeFiles/visp_bridge.dir/src/compat/vpQuaternionVector.cpp.o [ 8%] Building CXX object vision_visp/visp_bridge/CMakeFiles/visp_bridge.dir/src/conversions/3dpose.cpp.o [ 16%] Building CXX object vision_visp/visp_bridge/CMakeFiles/visp_bridge.dir/src/conversions/camera.cpp.o [ 16%] Building CXX object vision_visp/visp_bridge/CMakeFiles/visp_bridge.dir/src/conversions/image.cpp.o [ 25%] Linking CXX shared library /home/gaspard-irt-jv/catkin_ws/devel/lib/libvisp_bridge.so [ 25%] Built target visp_bridge Scanning dependencies of target visp_ros_bebop2_visual_servo_node [ 33%] Building CXX object visp_ros/CMakeFiles/visp_ros_bebop2_visual_servo_node.dir/tutorial/bebop2/visual_servo_node.cpp.o [ 33%] Linking CXX executable /home/gaspard-irt-jv/catkin_ws/devel/lib/visp_ros/visp_ros_bebop2_visual_servo_node [ 33%] Built target visp_ros_bebop2_visual_servo_node Scanning dependencies of target visp_ros_viper850_node [ 33%] Building CXX object visp_ros/CMakeFiles/visp_ros_viper850_node.dir/nodes/viper850.cpp.o [ 41%] Linking CXX executable /home/gaspard-irt-jv/catkin_ws/devel/lib/visp_ros/visp_ros_viper850_node [ 41%] Built target visp_ros_viper850_node Scanning dependencies of target visp_ros_viper650_node [ 50%] Building CXX object visp_ros/CMakeFiles/visp_ros_viper650_node.dir/nodes/viper650.cpp.o [ 58%] Linking CXX executable /home/gaspard-irt-jv/catkin_ws/devel/lib/visp_ros/visp_ros_viper650_node [ 58%] Built target visp_ros_viper650_node Scanning dependencies of target visp_ros_bebop2_visual_servo_nodelet [ 66%] Building CXX object visp_ros/CMakeFiles/visp_ros_bebop2_visual_servo_nodelet.dir/tutorial/bebop2/visual_servo_nodelet.cpp.o /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp: In member function ‘void bebopVSNodelet::imageCallback(const ImageConstPtr&)’: /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:307:34: error: ‘selectAtanOneOverRho’ is not a member of ‘vpFeatureVanishingPoint’ vpFeatureVanishingPoint::selectAtanOneOverRho()); ^ /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:369:37: error: no matching function for call to ‘vpDisplay::displayLine(vpImage&, gnu_cxx::alloc_traits<std::allocator >::value_type&, gnu_cxx::alloc_traits<std::allocator >::value_type&, const vpColor&, int, bool)’ false); ^ In file included from /opt/ros/kinetic/include/visp3/gui/vpDisplayX.h:43:0, from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:67: /opt/ros/kinetic/include/visp3/core/vpDisplay.h:334:16: note: candidate: virtual void vpDisplay::displayLine(const vpImagePoint&, const vpImagePoint&, const vpColor&, unsigned int) virtual void displayLine(const vpImagePoint &ip1, const vpImagePoint &ip2, const vpColor &color, ^ /opt/ros/kinetic/include/visp3/core/vpDisplay.h:334:16: note: candidate expects 4 arguments, 6 provided /opt/ros/kinetic/include/visp3/core/vpDisplay.h:740:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, const vpImagePoint&, const vpImagePoint&, const vpColor&, unsigned int) static void displayLine(const vpImage &I, const vpImagePoint &ip1, const vpImagePoint &ip2, ^ /opt/ros/kinetic/include/visp3/core/vpDisplay.h:740:15: note: candidate expects 5 arguments, 6 provided /opt/ros/kinetic/include/visp3/core/vpDisplay.h:742:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, int, int, int, int, const vpColor&, unsigned int) static void displayLine(const vpImage &I, int i1, int j1, int i2, int j2, const vpColor &color, ^ /opt/ros/kinetic/include/visp3/core/vpDisplay.h:742:15: note: no known conversion for argument 2 from ‘gnu_cxx::alloc_traits<std::allocator >::value_type {aka vpImagePoint}’ to ‘int’ /opt/ros/kinetic/include/visp3/core/vpDisplay.h:744:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, const std::vector&, bool, const vpColor&, unsigned int) static void displayLine(const vpImage &I, const std::vector &ips, ^ /opt/ros/kinetic/include/visp3/core/vpDisplay.h:744:15: note: candidate expects 5 arguments, 6 provided /opt/ros/kinetic/include/visp3/core/vpDisplay.h:839:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, const vpImagePoint&, const vpImagePoint&, const vpColor&, unsigned int) static void displayLine(const vpImage &I, const vpImagePoint &ip1, const vpImagePoint &ip2, ^ /opt/ros/kinetic/include/visp3/core/vpDisplay.h:839:15: note: candidate expects 5 arguments, 6 provided /opt/ros/kinetic/include/visp3/core/vpDisplay.h:841:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, int, int, int, int, const vpColor&, unsigned int) static void displayLine(const vpImage &I, int i1, int j1, int i2, int j2, const vpColor &color, ^ /opt/ros/kinetic/include/visp3/core/vpDisplay.h:841:15: note: no known conversion for argument 1 from ‘vpImage’ to ‘const vpImage&’ /opt/ros/kinetic/include/visp3/core/vpDisplay.h:843:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, const std::vector&, bool, const vpColor&, unsigned int) static void displayLine(const vpImage &I, const std::vector &ips, const bool closeTheShape, ^ /opt/ros/kinetic/include/visp3/core/vpDisplay.h:843:15: note: candidate expects 5 arguments, 6 provided /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:375:37: error: no matching function for call to ‘vpDisplay::displayLine(vpImage&, gnu_cxx::alloc_traits<std::allocator >::value_type&, gnu_cxx::alloc_traits<std::allocator >::value_type&, const vpColor&, int, bool)’ false); ^ In file included from /opt/ros/kinetic/include/visp3/gui/vpDisplayX.h:43:0, from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:67: /opt/ros/kinetic/include/visp3/core/vpDisplay.h:334:16: note: candidate: virtual void vpDisplay::displayLine(const vpImagePoint&, const vpImagePoint&, const vpColor&, unsigned int) virtual void displayLine(const vpImagePoint &ip1, const vpImagePoint &ip2, const vpColor &color, ^ /opt/ros/kinetic/include/visp3/core/vpDisplay.h:334:16: note: candidate expects 4 arguments, 6 provided /opt/ros/kinetic/include/visp3/core/vpDisplay.h:740:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, const vpImagePoint&, const vpImagePoint&, const vpColor&, unsigned int) static void displayLine(const vpImage &I, const vpImagePoint &ip1, const vpImagePoint &ip2, ^ /opt/ros/kinetic/include/visp3/core/vpDisplay.h:740:15: note: candidate expects 5 arguments, 6 provided /opt/ros/kinetic/include/visp3/core/vpDisplay.h:742:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, int, int, int, int, const vpColor&, unsigned int) static void displayLine(const vpImage &I, int i1, int j1, int i2, int j2, const vpColor &color, ^ /opt/ros/kinetic/include/visp3/core/vpDisplay.h:742:15: note: no known conversion for argument 2 from ‘gnu_cxx::alloc_traits<std::allocator >::value_type {aka vpImagePoint}’ to ‘int’ /opt/ros/kinetic/include/visp3/core/vpDisplay.h:744:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, const std::vector&, bool, const vpColor&, unsigned int) static void displayLine(const vpImage &I, const std::vector &ips, ^ /opt/ros/kinetic/include/visp3/core/vpDisplay.h:744:15: note: candidate expects 5 arguments, 6 provided /opt/ros/kinetic/include/visp3/core/vpDisplay.h:839:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, const vpImagePoint&, const vpImagePoint&, const vpColor&, unsigned int) static void displayLine(const vpImage &I, const vpImagePoint &ip1, const vpImagePoint &ip2, ^ /opt/ros/kinetic/include/visp3/core/vpDisplay.h:839:15: note: candidate expects 5 arguments, 6 provided /opt/ros/kinetic/include/visp3/core/vpDisplay.h:841:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, int, int, int, int, const vpColor&, unsigned int) static void displayLine(const vpImage &I, int i1, int j1, int i2, int j2, const vpColor &color, ^ /opt/ros/kinetic/include/visp3/core/vpDisplay.h:841:15: note: no known conversion for argument 1 from ‘vpImage’ to ‘const vpImage&’ /opt/ros/kinetic/include/visp3/core/vpDisplay.h:843:15: note: candidate: static void vpDisplay::displayLine(const vpImage&, const std::vector&, bool, const vpColor&, unsigned int) static void displayLine(const vpImage &I, const std::vector &ips, const bool closeTheShape, ^ /opt/ros/kinetic/include/visp3/core/vpDisplay.h:843:15: note: candidate expects 5 arguments, 6 provided /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp: In member function ‘void bebopVSNodelet::initVS()’: /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:455:52: error: no matching function for call to ‘vpRotationMatrix::vpRotationMatrix()’ vpRotationMatrix c1Re{0, 1, 0, 0, 0, 1, 1, 0, 0}; // Rotation between camera 1 and E ^ In file included from /opt/ros/kinetic/include/visp3/core/vpHomogeneousMatrix.h:60:0, from /opt/ros/kinetic/include/visp3/core/vpPoseVector.h:59, from /opt/ros/kinetic/include/visp3/core/vpColVector.h:44, from /opt/ros/kinetic/include/visp3/core/vpExponentialMap.h:48, from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:54: /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:84:3: note: candidate: vpRotationMatrix::vpRotationMatrix(double, double, double) vpRotationMatrix(const double tux, const double tuy, const double tuz); ^ /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:84:3: note: candidate expects 3 arguments, 9 provided /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:83:12: note: candidate: vpRotationMatrix::vpRotationMatrix(const vpMatrix&) explicit vpRotationMatrix(const vpMatrix &R); ^ /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:83:12: note: candidate expects 1 argument, 9 provided /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:82:12: note: candidate: vpRotationMatrix::vpRotationMatrix(const vpQuaternionVector&) explicit vpRotationMatrix(const vpQuaternionVector &q); ^ /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:82:12: note: candidate expects 1 argument, 9 provided /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:81:12: note: candidate: vpRotationMatrix::vpRotationMatrix(const vpRzyxVector&) explicit vpRotationMatrix(const vpRzyxVector &r); ^ /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:81:12: note: candidate expects 1 argument, 9 provided /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:80:12: note: candidate: vpRotationMatrix::vpRotationMatrix(const vpRxyzVector&) explicit vpRotationMatrix(const vpRxyzVector &r); ^ /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:80:12: note: candidate expects 1 argument, 9 provided /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:79:12: note: candidate: vpRotationMatrix::vpRotationMatrix(const vpRzyzVector&) explicit vpRotationMatrix(const vpRzyzVector &r); ^ /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:79:12: note: candidate expects 1 argument, 9 provided /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:78:12: note: candidate: vpRotationMatrix::vpRotationMatrix(const vpPoseVector&) explicit vpRotationMatrix(const vpPoseVector &p); ^ /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:78:12: note: candidate expects 1 argument, 9 provided /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:77:12: note: candidate: vpRotationMatrix::vpRotationMatrix(const vpThetaUVector&) explicit vpRotationMatrix(const vpThetaUVector &r); ^ /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:77:12: note: candidate expects 1 argument, 9 provided /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:76:12: note: candidate: vpRotationMatrix::vpRotationMatrix(const vpHomogeneousMatrix&) explicit vpRotationMatrix(const vpHomogeneousMatrix &M); ^ /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:76:12: note: candidate expects 1 argument, 9 provided /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:75:3: note: candidate: vpRotationMatrix::vpRotationMatrix(const vpRotationMatrix&) vpRotationMatrix(const vpRotationMatrix &R); ^ /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:75:3: note: candidate expects 1 argument, 9 provided /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:74:3: note: candidate: vpRotationMatrix::vpRotationMatrix() vpRotationMatrix(); ^ /opt/ros/kinetic/include/visp3/core/vpRotationMatrix.h:74:3: note: candidate expects 0 arguments, 9 provided /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:508:37: error: ‘selectAtanOneOverRho’ is not a member of ‘vpFeatureVanishingPoint’ m_task.addFeature(s_vp, s_vp_d, vpFeatureVanishingPoint::selectAtanOneOverRho()); ^ /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:518:12: error: ‘class vpFeatureVanishingPoint’ has no member named ‘setAtanOneOverRho’ s_vp_d.setAtanOneOverRho(0); ^ /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:519:12: error: ‘class vpFeatureVanishingPoint’ has no member named ‘setAlpha’ s_vp_d.setAlpha(0); ^ /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp: In member function ‘vpColVector bebopVSNodelet::velocityToPosition(vpColVector&, double)’: /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:530:13: error: no match for ‘operator<<’ (operand types are ‘vpColVector’ and ‘double’) res << 0., 0., 0., 0.; ^ In file included from /opt/ros/kinetic/include/visp3/core/vpExponentialMap.h:48:0, from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:54: /opt/ros/kinetic/include/visp3/core/vpColVector.h:219:16: note: candidate: vpColVector& vpColVector::operator<<(const vpColVector&) vpColVector &operator<<(const vpColVector &v); ^ /opt/ros/kinetic/include/visp3/core/vpColVector.h:219:16: note: no known conversion for argument 1 from ‘double’ to ‘const vpColVector&’ /opt/ros/kinetic/include/visp3/core/vpColVector.h:220:16: note: candidate: vpColVector& vpColVector::operator<<(double) vpColVector &operator<<(double ); ^ /opt/ros/kinetic/include/visp3/core/vpColVector.h:220:16: note: no known conversion for argument 1 from ‘double’ to ‘double’ In file included from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:66:0: /opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:332:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpDetectorAprilTag::vpAprilTagFamily&) inline std::ostream &operator<<(std::ostream &os, const vpDetectorAprilTag::vpAprilTagFamily &tagFamily) ^ /opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:332:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:301:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpDetectorAprilTag::vpPoseEstimationMethod&) inline std::ostream &operator<<(std::ostream &os, const vpDetectorAprilTag::vpPoseEstimationMethod &method) ^ /opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:301:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ In file included from /opt/ros/kinetic/include/visp3/core/vpImageConvert.h:54:0, from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:55: /opt/ros/kinetic/include/visp3/core/vpImage.h:454:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&) inline std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:454:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/core/vpImage.h:427:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&) inline std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:427:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/core/vpImage.h:401:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&) inline std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:401:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/core/vpImage.h:375:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&) inline std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:375:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/core/vpImage.h:352:37: note: candidate: template std::ostream& operator<<(std::ostream&, const vpImage&) template std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:352:37: note: template argument deduction/substitution failed: /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:530:16: note: cannot convert ‘res’ (type ‘vpColVector’) to type ‘std::ostream& {aka std::basic_ostream&}’ res << 0., 0., 0., 0.; ^ In file included from /opt/ros/kinetic/include/ros/node_handle.h:52:0, from /opt/ros/kinetic/include/ros/ros.h:45, from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:40: /opt/ros/kinetic/include/xmlrpcpp/XmlRpcValue.h:192:15: note: candidate: std::ostream& operator<<(std::ostream&, const XmlRpc::XmlRpcValue&) std::ostream& operator<<(std::ostream& os, const XmlRpc::XmlRpcValue& v); ^ /opt/ros/kinetic/include/xmlrpcpp/XmlRpcValue.h:192:15: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ In file included from /opt/ros/kinetic/include/visp3/core/vpColVector.h:42:0, from /opt/ros/kinetic/include/visp3/core/vpExponentialMap.h:48, from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:54: /opt/ros/kinetic/include/visp3/core/vpArray2D.h:275:24: note: candidate: std::ostream& operator<<(std::ostream&, const vpArray2D&) friend std::ostream &operator<<(std::ostream &s, const vpArray2D &A) ^ /opt/ros/kinetic/include/visp3/core/vpArray2D.h:275:24: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:546:13: error: no match for ‘operator<<’ (operand types are ‘vpColVector’ and ‘double’) res << 0., 0., 0., 0.; ^ In file included from /opt/ros/kinetic/include/visp3/core/vpExponentialMap.h:48:0, from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:54: /opt/ros/kinetic/include/visp3/core/vpColVector.h:219:16: note: candidate: vpColVector& vpColVector::operator<<(const vpColVector&) vpColVector &operator<<(const vpColVector &v); ^ /opt/ros/kinetic/include/visp3/core/vpColVector.h:219:16: note: no known conversion for argument 1 from ‘double’ to ‘const vpColVector&’ /opt/ros/kinetic/include/visp3/core/vpColVector.h:220:16: note: candidate: vpColVector& vpColVector::operator<<(double) vpColVector &operator<<(double ); ^ /opt/ros/kinetic/include/visp3/core/vpColVector.h:220:16: note: no known conversion for argument 1 from ‘double’ to ‘double’ In file included from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:66:0: /opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:332:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpDetectorAprilTag::vpAprilTagFamily&) inline std::ostream &operator<<(std::ostream &os, const vpDetectorAprilTag::vpAprilTagFamily &tagFamily) ^ /opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:332:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:301:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpDetectorAprilTag::vpPoseEstimationMethod&) inline std::ostream &operator<<(std::ostream &os, const vpDetectorAprilTag::vpPoseEstimationMethod &method) ^ /opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:301:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ In file included from /opt/ros/kinetic/include/visp3/core/vpImageConvert.h:54:0, from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:55: /opt/ros/kinetic/include/visp3/core/vpImage.h:454:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&) inline std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:454:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/core/vpImage.h:427:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&) inline std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:427:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/core/vpImage.h:401:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&) inline std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:401:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/core/vpImage.h:375:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&) inline std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:375:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/core/vpImage.h:352:37: note: candidate: template std::ostream& operator<<(std::ostream&, const vpImage&) template std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:352:37: note: template argument deduction/substitution failed: /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:546:16: note: cannot convert ‘res’ (type ‘vpColVector’) to type ‘std::ostream& {aka std::basic_ostream&}’ res << 0., 0., 0., 0.; ^ In file included from /opt/ros/kinetic/include/ros/node_handle.h:52:0, from /opt/ros/kinetic/include/ros/ros.h:45, from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:40: /opt/ros/kinetic/include/xmlrpcpp/XmlRpcValue.h:192:15: note: candidate: std::ostream& operator<<(std::ostream&, const XmlRpc::XmlRpcValue&) std::ostream& operator<<(std::ostream& os, const XmlRpc::XmlRpcValue& v); ^ /opt/ros/kinetic/include/xmlrpcpp/XmlRpcValue.h:192:15: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ In file included from /opt/ros/kinetic/include/visp3/core/vpColVector.h:42:0, from /opt/ros/kinetic/include/visp3/core/vpExponentialMap.h:48, from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:54: /opt/ros/kinetic/include/visp3/core/vpArray2D.h:275:24: note: candidate: std::ostream& operator<<(std::ostream&, const vpArray2D&) friend std::ostream &operator<<(std::ostream &s, const vpArray2D &A) ^ /opt/ros/kinetic/include/visp3/core/vpArray2D.h:275:24: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:551:13: error: no match for ‘operator<<’ (operand types are ‘vpColVector’ and ‘double’) res << 0., 0., 0., 0.; ^ In file included from /opt/ros/kinetic/include/visp3/core/vpExponentialMap.h:48:0, from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:54: /opt/ros/kinetic/include/visp3/core/vpColVector.h:219:16: note: candidate: vpColVector& vpColVector::operator<<(const vpColVector&) vpColVector &operator<<(const vpColVector &v); ^ /opt/ros/kinetic/include/visp3/core/vpColVector.h:219:16: note: no known conversion for argument 1 from ‘double’ to ‘const vpColVector&’ /opt/ros/kinetic/include/visp3/core/vpColVector.h:220:16: note: candidate: vpColVector& vpColVector::operator<<(double) vpColVector &operator<<(double ); ^ /opt/ros/kinetic/include/visp3/core/vpColVector.h:220:16: note: no known conversion for argument 1 from ‘double’ to ‘double’ In file included from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:66:0: /opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:332:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpDetectorAprilTag::vpAprilTagFamily&) inline std::ostream &operator<<(std::ostream &os, const vpDetectorAprilTag::vpAprilTagFamily &tagFamily) ^ /opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:332:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:301:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpDetectorAprilTag::vpPoseEstimationMethod&) inline std::ostream &operator<<(std::ostream &os, const vpDetectorAprilTag::vpPoseEstimationMethod &method) ^ /opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:301:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ In file included from /opt/ros/kinetic/include/visp3/core/vpImageConvert.h:54:0, from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:55: /opt/ros/kinetic/include/visp3/core/vpImage.h:454:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&) inline std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:454:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/core/vpImage.h:427:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&) inline std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:427:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/core/vpImage.h:401:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&) inline std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:401:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/core/vpImage.h:375:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&) inline std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:375:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/core/vpImage.h:352:37: note: candidate: template std::ostream& operator<<(std::ostream&, const vpImage&) template std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:352:37: note: template argument deduction/substitution failed: /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:551:16: note: cannot convert ‘res’ (type ‘vpColVector’) to type ‘std::ostream& {aka std::basic_ostream&}’ res << 0., 0., 0., 0.; ^ In file included from /opt/ros/kinetic/include/ros/node_handle.h:52:0, from /opt/ros/kinetic/include/ros/ros.h:45, from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:40: /opt/ros/kinetic/include/xmlrpcpp/XmlRpcValue.h:192:15: note: candidate: std::ostream& operator<<(std::ostream&, const XmlRpc::XmlRpcValue&) std::ostream& operator<<(std::ostream& os, const XmlRpc::XmlRpcValue& v); ^ /opt/ros/kinetic/include/xmlrpcpp/XmlRpcValue.h:192:15: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ In file included from /opt/ros/kinetic/include/visp3/core/vpColVector.h:42:0, from /opt/ros/kinetic/include/visp3/core/vpExponentialMap.h:48, from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:54: /opt/ros/kinetic/include/visp3/core/vpArray2D.h:275:24: note: candidate: std::ostream& operator<<(std::ostream&, const vpArray2D&) friend std::ostream &operator<<(std::ostream &s, const vpArray2D &A) ^ /opt/ros/kinetic/include/visp3/core/vpArray2D.h:275:24: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:558:9: error: no match for ‘operator<<’ (operand types are ‘vpColVector’ and ‘double’) res << t[0], t[1], t[2], dThetaZ; ^ In file included from /opt/ros/kinetic/include/visp3/core/vpExponentialMap.h:48:0, from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:54: /opt/ros/kinetic/include/visp3/core/vpColVector.h:219:16: note: candidate: vpColVector& vpColVector::operator<<(const vpColVector&) vpColVector &operator<<(const vpColVector &v); ^ /opt/ros/kinetic/include/visp3/core/vpColVector.h:219:16: note: no known conversion for argument 1 from ‘double’ to ‘const vpColVector&’ /opt/ros/kinetic/include/visp3/core/vpColVector.h:220:16: note: candidate: vpColVector& vpColVector::operator<<(double) vpColVector &operator<<(double ); ^ /opt/ros/kinetic/include/visp3/core/vpColVector.h:220:16: note: no known conversion for argument 1 from ‘double’ to ‘double’ In file included from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:66:0: /opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:332:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpDetectorAprilTag::vpAprilTagFamily&) inline std::ostream &operator<<(std::ostream &os, const vpDetectorAprilTag::vpAprilTagFamily &tagFamily) ^ /opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:332:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:301:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpDetectorAprilTag::vpPoseEstimationMethod&) inline std::ostream &operator<<(std::ostream &os, const vpDetectorAprilTag::vpPoseEstimationMethod &method) ^ /opt/ros/kinetic/include/visp3/detection/vpDetectorAprilTag.h:301:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ In file included from /opt/ros/kinetic/include/visp3/core/vpImageConvert.h:54:0, from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:55: /opt/ros/kinetic/include/visp3/core/vpImage.h:454:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&) inline std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:454:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/core/vpImage.h:427:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&) inline std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:427:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/core/vpImage.h:401:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&) inline std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:401:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/core/vpImage.h:375:22: note: candidate: std::ostream& operator<<(std::ostream&, const vpImage&) inline std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:375:22: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ /opt/ros/kinetic/include/visp3/core/vpImage.h:352:37: note: candidate: template std::ostream& operator<<(std::ostream&, const vpImage&) template std::ostream &operator<<(std::ostream &s, const vpImage &I) ^ /opt/ros/kinetic/include/visp3/core/vpImage.h:352:37: note: template argument deduction/substitution failed: /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:558:15: note: cannot convert ‘res’ (type ‘vpColVector’) to type ‘std::ostream& {aka std::basic_ostream&}’ res << t[0], t[1], t[2], dThetaZ; ^ In file included from /opt/ros/kinetic/include/ros/node_handle.h:52:0, from /opt/ros/kinetic/include/ros/ros.h:45, from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:40: /opt/ros/kinetic/include/xmlrpcpp/XmlRpcValue.h:192:15: note: candidate: std::ostream& operator<<(std::ostream&, const XmlRpc::XmlRpcValue&) std::ostream& operator<<(std::ostream& os, const XmlRpc::XmlRpcValue& v); ^ /opt/ros/kinetic/include/xmlrpcpp/XmlRpcValue.h:192:15: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ In file included from /opt/ros/kinetic/include/visp3/core/vpColVector.h:42:0, from /opt/ros/kinetic/include/visp3/core/vpExponentialMap.h:48, from /home/gaspard-irt-jv/catkin_ws/src/visp_ros/tutorial/bebop2/visual_servo_nodelet.cpp:54: /opt/ros/kinetic/include/visp3/core/vpArray2D.h:275:24: note: candidate: std::ostream& operator<<(std::ostream&, const vpArray2D&) friend std::ostream &operator<<(std::ostream &s, const vpArray2D &A) ^ /opt/ros/kinetic/include/visp3/core/vpArray2D.h:275:24: note: no known conversion for argument 1 from ‘vpColVector’ to ‘std::ostream& {aka std::basic_ostream&}’ visp_ros/CMakeFiles/visp_ros_bebop2_visual_servo_nodelet.dir/build.make:62: recipe for target 'visp_ros/CMakeFiles/visp_ros_bebop2_visual_servo_nodelet.dir/tutorial/bebop2/visual_servo_nodelet.cpp.o' failed make[2]: [visp_ros/CMakeFiles/visp_ros_bebop2_visual_servo_nodelet.dir/tutorial/bebop2/visual_servo_nodelet.cpp.o] Error 1 CMakeFiles/Makefile2:3119: recipe for target 'visp_ros/CMakeFiles/visp_ros_bebop2_visual_servo_nodelet.dir/all' failed make[1]: [visp_ros/CMakeFiles/visp_ros_bebop2_visual_servo_nodelet.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j1 -l1" failed

fspindle commented 5 years ago

You are using ViSP installed from ros-kinetic-visp package that corresponds to ViSP 3.2.0 release that doesn't contain features introduced recently.

Romove ros-kinetic-visp package and follow this tutorial.

Gaspard-Bourgeois commented 5 years ago

Thank you for the reply, It was better that way.