lagadic / vision_visp

ViSP stack for ROS
http://wiki.ros.org/vision_visp
GNU General Public License v2.0
184 stars 90 forks source link

Was not able to install visp_tracker & visp_auto_tracker #135

Open Henry9378 opened 7 months ago

Henry9378 commented 7 months ago

I was trying to build vision_visp ROS package in ubuntu20.04 with ros noetic following this tutorial (http://docs.ros.org/en/noetic/api/visp_ros/html/tutorial-franka-coppeliasim.html). However, evertime I try to catkin_make it will failed at 90%. After that, I have tried to install the packages indivdually and sucessflly built visp_bridge, visp_camera_calibration and visp_hand2eye_calibration with (catkin_make -j4 -DCMAKE_BUILD_TYPE=Release --pkg visp_bridge), and found that the visp_tracker and visp_auto_tracker were the only packages I can't install. The errors are as follow(code & photo). Any help would be appreciated!

Screenshot from 2024-04-12 18-07-52 Screenshot from 2024-04-12 18-07-58 Screenshot from 2024-04-12 18-08-19 Screenshot from 2024-04-12 18-08-24

henry@henry-Lenovo-Y50-70:~/catkin_ws$ catkin_make --cmake-args -DCMAKE_BUILD_TYPE=Release -DVISP_DIR=~/software/visp/visp-build Base path: /home/henry/catkin_ws Source space: /home/henry/catkin_ws/src Build space: /home/henry/catkin_ws/build Devel space: /home/henry/catkin_ws/devel Install space: /home/henry/catkin_ws/install

Running command: "cmake /home/henry/catkin_ws/src -DCMAKE_BUILD_TYPE=Release -DVISP_DIR=~/software/visp/visp-build -DCATKIN_DEVEL_PREFIX=/home/henry/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/henry/catkin_ws/install -G Unix Makefiles" in "/home/henry/catkin_ws/build"

-- Using CATKIN_DEVEL_PREFIX: /home/henry/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/noetic -- This workspace overlays: /opt/ros/noetic -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3") -- Using PYTHON_EXECUTABLE: /usr/bin/python3 -- Using Debian Python package layout -- Using empy: /usr/lib/python3/dist-packages/em.py -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/henry/catkin_ws/build/test_results -- Forcing gtest/gmock from source, though one was otherwise available. -- Found gtest sources under '/usr/src/googletest': gtests will be built -- Found gmock sources under '/usr/src/googletest': gmock will be built -- Found PythonInterp: /usr/bin/python3 (found version "3.8.10") -- Using Python nosetests: /usr/bin/nosetests3 -- catkin 0.8.10 -- BUILD_SHARED_LIBS is on -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~ -- ~~ traversing 6 packages in topological order: -- ~~ - vision_visp (metapackage) -- ~~ - visp_bridge -- ~~ - visp_camera_calibration -- ~~ - visp_hand2eye_calibration -- ~~ - 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) -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: system thread filesystem program_options -- +++ processing catkin package: 'visp_camera_calibration' -- ==> add_subdirectory(vision_visp/visp_camera_calibration) -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: system thread -- 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_tracker' -- ==> add_subdirectory(vision_visp/visp_tracker) -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: system filesystem thread -- 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) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: filesystem system regex date_time program_options thread missing components: signals -- Configuring done -- Generating done -- Build files have been written to: /home/henry/catkin_ws/build

Running command: "make -j8 -l8" in "/home/henry/catkin_ws/build"

[ 0%] Built target sensor_msgs_generate_messages_cpp . . . [ 88%] Building CXX object vision_visp/visp_tracker/CMakeFiles/visp_tracker.dir/src/libvisp_tracker/tracker-client.cpp.o [ 89%] Building CXX object vision_visp/visp_tracker/CMakeFiles/visp_tracker.dir/src/libvisp_tracker/callbacks.cpp.o [ 89%] Building CXX object vision_visp/visp_tracker/CMakeFiles/visp_tracker.dir/src/libvisp_tracker/conversion.cpp.o [ 90%] Building CXX object vision_visp/visp_tracker/CMakeFiles/visp_tracker.dir/src/libvisp_tracker/tracker-viewer.cpp.o [ 90%] Building CXX object vision_visp/visp_tracker/CMakeFiles/visp_tracker.dir/src/libvisp_tracker/tracker.cpp.o [ 90%] Built target visp_auto_tracker_bag In file included from /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.cpp:19: /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:52:85: error: ‘vpKltOpencv’ does not name a type; did you mean ‘_vpKltOpencvh’? 52 | std::string convertVpKltOpencvToRosMessage(const vpMbGenericTracker &tracker, const vpKltOpencv& klt); | ^~~ | _vpKltOpencvh /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:80:44: error: ‘vpKltOpencv’ does not name a type; did you mean ‘_vpKltOpencvh’? 80 | void convertVpKltOpencvToInitRequest(const vpKltOpencv& klt, | ^~~ | _vpKltOpencvh /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:86:38: error: ‘vpKltOpencv’ has not been declared 86 | vpKltOpencv& klt); | ^~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:145:51: error: ‘vpKltOpencv’ has not been declared 145 | vpKltOpencv& klt, | ^~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh: In function ‘void convertModelBasedSettingsConfigToVpKltOpencv(const ConfigType&, int&, vpMbGenericTracker&)’: /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:148:7: error: request for member ‘setMaxFeatures’ in ‘klt’, which is of non-class type ‘int’ 148 | klt.setMaxFeatures(config.max_features); | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:149:7: error: request for member ‘setWindowSize’ in ‘klt’, which is of non-class type ‘int’ 149 | klt.setWindowSize(config.window_size); | ^~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:150:7: error: request for member ‘setQuality’ in ‘klt’, which is of non-class type ‘int’ 150 | klt.setQuality(config.quality); | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:151:7: error: request for member ‘setMinDistance’ in ‘klt’, which is of non-class type ‘int’ 151 | klt.setMinDistance(config.min_distance); | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:152:7: error: request for member ‘setHarrisFreeParameter’ in ‘klt’, which is of non-class type ‘int’ 152 | klt.setHarrisFreeParameter(config.harris); | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:153:7: error: request for member ‘setBlockSize’ in ‘klt’, which is of non-class type ‘int’ 153 | klt.setBlockSize(config.size_block); | ^~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:154:7: error: request for member ‘setPyramidLevels’ in ‘klt’, which is of non-class type ‘int’ 154 | klt.setPyramidLevels(config.pyramid_lvl); | ^~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:155:11: error: ‘class vpMbGenericTracker’ has no member named ‘setKltMaskBorder’ 155 | tracker.setKltMaskBorder((unsigned)config.mask_border); | ^~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:157:11: error: ‘class vpMbGenericTracker’ has no member named ‘setKltOpencv’ 157 | tracker.setKltOpencv(klt); | ^~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh: At global scope: /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:161:57: error: ‘vpKltOpencv’ does not name a type; did you mean ‘_vpKltOpencvh’? 161 | void convertVpKltOpencvToModelBasedSettingsConfig(const vpKltOpencv& klt, | ^~~ | _vpKltOpencvh /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh: In function ‘void convertVpKltOpencvToModelBasedSettingsConfig(const int&, const vpMbGenericTracker&, ConfigType&)’: /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:165:29: error: request for member ‘getMaxFeatures’ in ‘klt’, which is of non-class type ‘const int’ 165 | config.max_features = klt.getMaxFeatures(); | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:166:28: error: request for member ‘getWindowSize’ in ‘klt’, which is of non-class type ‘const int’ 166 | config.window_size = klt.getWindowSize(); | ^~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:167:24: error: request for member ‘getQuality’ in ‘klt’, which is of non-class type ‘const int’ 167 | config.quality = klt.getQuality(); | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:168:29: error: request for member ‘getMinDistance’ in ‘klt’, which is of non-class type ‘const int’ 168 | config.min_distance = klt.getMinDistance(); | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:169:23: error: request for member ‘getHarrisFreeParameter’ in ‘klt’, which is of non-class type ‘const int’ 169 | config.harris = klt.getHarrisFreeParameter(); | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:170:27: error: request for member ‘getBlockSize’ in ‘klt’, which is of non-class type ‘const int’ 170 | config.size_block = klt.getBlockSize(); | ^~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:171:28: error: request for member ‘getPyramidLevels’ in ‘klt’, which is of non-class type ‘const int’ 171 | config.pyramid_lvl = klt.getPyramidLevels(); | ^~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:172:32: error: ‘const class vpMbGenericTracker’ has no member named ‘getKltMaskBorder’ 172 | config.mask_border = tracker.getKltMaskBorder(); | ^~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.cpp: At global scope: /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.cpp:106:85: error: ‘vpKltOpencv’ does not name a type; did you mean ‘_vpKltOpencvh’? 106 | std::string convertVpKltOpencvToRosMessage(const vpMbGenericTracker &tracker, const vpKltOpencv& klt) | ^~~ | _vpKltOpencvh /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.cpp: In function ‘std::string convertVpKltOpencvToRosMessage(const vpMbGenericTracker&, const int&)’: /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.cpp:110:57: error: request for member ‘getWindowSize’ in ‘klt’, which is of non-class type ‘const int’ 110 | " Window size......................" << klt.getWindowSize() <<"x"<< klt.getWindowSize() <<" pixels\n" << | ^~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.cpp:110:85: error: request for member ‘getWindowSize’ in ‘klt’, which is of non-class type ‘const int’ 110 | " Window size......................" << klt.getWindowSize() <<"x"<< klt.getWindowSize() <<" pixels\n" << | ^~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.cpp:111:61: error: ‘const class vpMbGenericTracker’ has no member named ‘getKltMaskBorder’ 111 | " Mask border......................" << tracker.getKltMaskBorder() << " pixels\n" << | ^~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.cpp:112:57: error: request for member ‘getMaxFeatures’ in ‘klt’, which is of non-class type ‘const int’ 112 | " Maximum number of features......." << klt.getMaxFeatures() <<"\n" << | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.cpp:113:57: error: request for member ‘getQuality’ in ‘klt’, which is of non-class type ‘const int’ 113 | " Detected points quality.........." << klt.getQuality() << "\n" << | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.cpp:114:57: error: request for member ‘getMinDistance’ in ‘klt’, which is of non-class type ‘const int’ 114 | " Minimum distance between points.." << klt.getMinDistance() << " pixels\n" << | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.cpp:115:57: error: request for member ‘getHarrisFreeParameter’ in ‘klt’, which is of non-class type ‘const int’ 115 | " Harris free parameter............" << klt.getHarrisFreeParameter() <<"\n" << | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.cpp:116:57: error: request for member ‘getBlockSize’ in ‘klt’, which is of non-class type ‘const int’ 116 | " Block size......................." << klt.getBlockSize() << "x" << klt.getBlockSize() << " pixels\n" << | ^~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.cpp:116:86: error: request for member ‘getBlockSize’ in ‘klt’, which is of non-class type ‘const int’ 116 | " Block size......................." << klt.getBlockSize() << "x" << klt.getBlockSize() << " pixels\n" << | ^~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.cpp:117:57: error: request for member ‘getPyramidLevels’ in ‘klt’, which is of non-class type ‘const int’ 117 | " Number of pyramid levels........." << klt.getPyramidLevels() << "\n"; | ^~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.cpp: At global scope: /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.cpp:226:44: error: ‘vpKltOpencv’ does not name a type; did you mean ‘_vpKltOpencvh’? 226 | void convertVpKltOpencvToInitRequest(const vpKltOpencv& klt, | ^~~

In file included from /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker-client.cpp:32: /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:52:85: error: ‘vpKltOpencv’ does not name a type; did you mean ‘_vpKltOpencvh’? 52 | std::string convertVpKltOpencvToRosMessage(const vpMbGenericTracker &tracker, const vpKltOpencv& klt); | ^~~ | _vpKltOpencvh /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:80:44: error: ‘vpKltOpencv’ does not name a type; did you mean ‘_vpKltOpencvh’? 80 | void convertVpKltOpencvToInitRequest(const vpKltOpencv& klt, | ^~~ | _vpKltOpencvh /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:86:38: error: ‘vpKltOpencv’ has not been declared 86 | vpKltOpencv& klt); | ^~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:145:51: error: ‘vpKltOpencv’ has not been declared 145 | vpKltOpencv& klt, | ^~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh: In function ‘void convertModelBasedSettingsConfigToVpKltOpencv(const ConfigType&, int&, vpMbGenericTracker&)’: /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:148:7: error: request for member ‘setMaxFeatures’ in ‘klt’, which is of non-class type ‘int’ 148 | klt.setMaxFeatures(config.max_features); | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:149:7: error: request for member ‘setWindowSize’ in ‘klt’, which is of non-class type ‘int’ 149 | klt.setWindowSize(config.window_size); | ^~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:150:7: error: request for member ‘setQuality’ in ‘klt’, which is of non-class type ‘int’ 150 | klt.setQuality(config.quality); | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:151:7: error: request for member ‘setMinDistance’ in ‘klt’, which is of non-class type ‘int’ 151 | klt.setMinDistance(config.min_distance); | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:152:7: error: request for member ‘setHarrisFreeParameter’ in ‘klt’, which is of non-class type ‘int’ 152 | klt.setHarrisFreeParameter(config.harris); | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:153:7: error: request for member ‘setBlockSize’ in ‘klt’, which is of non-class type ‘int’ 153 | klt.setBlockSize(config.size_block); | ^~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:154:7: error: request for member ‘setPyramidLevels’ in ‘klt’, which is of non-class type ‘int’ 154 | klt.setPyramidLevels(config.pyramid_lvl); | ^~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:155:11: error: ‘class vpMbGenericTracker’ has no member named ‘setKltMaskBorder’ 155 | tracker.setKltMaskBorder((unsigned)config.mask_border); | ^~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:157:11: error: ‘class vpMbGenericTracker’ has no member named ‘setKltOpencv’ 157 | tracker.setKltOpencv(klt); | ^~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh: At global scope: /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:161:57: error: ‘vpKltOpencv’ does not name a type; did you mean ‘_vpKltOpencvh’? 161 | void convertVpKltOpencvToModelBasedSettingsConfig(const vpKltOpencv& klt, | ^~~ | _vpKltOpencvh /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh: In function ‘void convertVpKltOpencvToModelBasedSettingsConfig(const int&, const vpMbGenericTracker&, ConfigType&)’: /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:165:29: error: request for member ‘getMaxFeatures’ in ‘klt’, which is of non-class type ‘const int’ 165 | config.max_features = klt.getMaxFeatures(); | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:166:28: error: request for member ‘getWindowSize’ in ‘klt’, which is of non-class type ‘const int’ 166 | config.window_size = klt.getWindowSize(); | ^~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:167:24: error: request for member ‘getQuality’ in ‘klt’, which is of non-class type ‘const int’ 167 | config.quality = klt.getQuality(); | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:168:29: error: request for member ‘getMinDistance’ in ‘klt’, which is of non-class type ‘const int’ 168 | config.min_distance = klt.getMinDistance(); | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:169:23: error: request for member ‘getHarrisFreeParameter’ in ‘klt’, which is of non-class type ‘const int’ 169 | config.harris = klt.getHarrisFreeParameter(); | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:170:27: error: request for member ‘getBlockSize’ in ‘klt’, which is of non-class type ‘const int’ 170 | config.size_block = klt.getBlockSize(); | ^~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:171:28: error: request for member ‘getPyramidLevels’ in ‘klt’, which is of non-class type ‘const int’ 171 | config.pyramid_lvl = klt.getPyramidLevels(); | ^~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:172:32: error: ‘const class vpMbGenericTracker’ has no member named ‘getKltMaskBorder’ 172 | config.mask_border = tracker.getKltMaskBorder(); | ^~~~ . . . . . In file included from /home/henry/software/visp/visp/modules/tracker/me/include/visp3/me/vpMeSite.h:42, from /home/henry/software/visp/visp/modules/tracker/me/include/visp3/me/vpMeEllipse.h:43, from /home/henry/software/visp/visp/modules/tracker/mbt/include/visp3/mbt/vpMbtMeEllipse.h:45, from /home/henry/software/visp/visp/modules/tracker/mbt/include/visp3/mbt/vpMbtDistanceCircle.h:48, from /home/henry/software/visp/visp/modules/tracker/mbt/include/visp3/mbt/vpMbTracker.h:65, from /home/henry/software/visp/visp/modules/tracker/mbt/include/visp3/mbt/vpMbDepthDenseTracker.h:38, from /home/henry/software/visp/visp/modules/tracker/mbt/include/visp3/mbt/vpMbGenericTracker.h:43, from /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker-client.cpp:26: /home/henry/software/visp/visp/modules/core/include/visp3/core/vpDisplay.h:919:29: note: declared here 919 | vp_deprecated static void displayCharString(const vpImage &I, int i, int j, const char string, | ^~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker-client.cpp:769:24: warning: ‘static void vpDisplay::displayCharString(const vpImage&, int, int, const char, const vpColor&)’ is deprecated [-Wdeprecated-declarations] 769 | vpColor::red); | ^ In file included from /home/henry/software/visp/visp/modules/tracker/me/include/visp3/me/vpMeSite.h:42, from /home/henry/software/visp/visp/modules/tracker/me/include/visp3/me/vpMeEllipse.h:43, from /home/henry/software/visp/visp/modules/tracker/mbt/include/visp3/mbt/vpMbtMeEllipse.h:45, from /home/henry/software/visp/visp/modules/tracker/mbt/include/visp3/mbt/vpMbtDistanceCircle.h:48, from /home/henry/software/visp/visp/modules/tracker/mbt/include/visp3/mbt/vpMbTracker.h:65, from /home/henry/software/visp/visp/modules/tracker/mbt/include/visp3/mbt/vpMbDepthDenseTracker.h:38, from /home/henry/software/visp/visp/modules/tracker/mbt/include/visp3/mbt/vpMbGenericTracker.h:43, from /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker-client.cpp:26: /home/henry/software/visp/visp/modules/core/include/visp3/core/vpDisplay.h:919:29: note: declared here 919 | vp_deprecated static void displayCharString(const vpImage &I, int i, int j, const char string, | ^~~~~ | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:169:23: error: request for member ‘getHarrisFreeParameter’ in ‘klt’, which is of non-class type ‘const int’ 169 | config.harris = klt.getHarrisFreeParameter(); | ^~~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:170:27: error: request for member ‘getBlockSize’ in ‘klt’, which is of non-class type ‘const int’ 170 | config.size_block = klt.getBlockSize(); | ^~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:171:28: error: request for member ‘getPyramidLevels’ in ‘klt’, which is of non-class type ‘const int’ 171 | config.pyramid_lvl = klt.getPyramidLevels(); | ^~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/conversion.hh:172:32: error: ‘const class vpMbGenericTracker’ has no member named ‘getKltMaskBorder’ 172 | config.mask_border = tracker.getKltMaskBorder(); | ^~~~ In file included from /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:28: /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/callbacks.hh: At global scope: /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/callbacks.hh:43:26: error: ‘vpKltOpencv’ has not been declared 43 | vpKltOpencv& kltTracker, | ^~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/callbacks.hh:57:29: error: ‘vpKltOpencv’ has not been declared 57 | vpKltOpencv& kltTracker, | ^~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/callbacks.hh:69:39: error: ‘vpKltOpencv’ has not been declared 69 | vpKltOpencv& kltTracker, | ^~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/callbacks.hh:85:42: error: ‘vpKltOpencv’ has not been declared 85 | vpKltOpencv& kltTracker, | ^~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp: In member function ‘bool visp_tracker::Tracker::initCallback(visp_tracker::Init::Request&, visp_tracker::Init::Response&)’: /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisptracker/tracker.cpp:76:54: error: ‘kltTracker’ was not declared in this scope; did you mean ‘tracker’? 76 | convertInitRequestToVpKltOpencv(req, tracker, kltTracker); | ^~~ | tracker /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisptracker/tracker.cpp:85:92: error: ‘kltTracker’ was not declared in this scope; did you mean ‘tracker_’? 85 | convertVpKltOpencvToModelBasedSettingsConfig(kltTracker, tracker, config); | ^~~ | tracker_ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisptracker/tracker.cpp:99:95: error: ‘kltTracker’ was not declared in this scope; did you mean ‘tracker_’? 99 | convertVpKltOpencvToModelBasedSettingsConfig(kltTracker, tracker, config); | ^~~ | tracker_ In file included from /opt/ros/noetic/include/ros/assert.h:35, from /opt/ros/noetic/include/ros/common.h:36, from /opt/ros/noetic/include/ros/publisher.h:32, from /opt/ros/noetic/include/ros/node_handle.h:32, from /opt/ros/noetic/include/dynamic_reconfigure/server.h:50, from /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:8: /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisptracker/tracker.cpp:141:65: error: ‘kltTracker’ was not declared in this scope; did you mean ‘tracker_’? 141 | ROS_INFOSTREAM(convertVpKltOpencvToRosMessage(tracker,kltTracker_)); | ^~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp: In member function ‘void visp_tracker::Tracker::updateMovingEdgeSites(visp_tracker::MovingEdgeSitesPtr)’: /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:201:47: error: ‘const class vpMeSite’ has no member named ‘ifloat’; did you mean ‘m_ifloat’? 201 | movingEdgeSite.x = sitesIterator->ifloat; | ^~ | m_ifloat /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:202:47: error: ‘const class vpMeSite’ has no member named ‘jfloat’; did you mean ‘m_jfloat’? 202 | movingEdgeSite.y = sitesIterator->jfloat; | ^~ | m_jfloat /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp: In member function ‘void visp_tracker::Tracker::updateKltPoints(visp_tracker::KltPointsPtr)’: /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:254:13: error: ‘vpMbtDistanceKltPoints’ was not declared in this scope; did you mean ‘vpMbtDistanceLine’? 254 | std::list<vpMbtDistanceKltPoints> poly_lst; | ^~~~~~ | vpMbtDistanceLine /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:254:36: error: template argument 1 is invalid 254 | std::list<vpMbtDistanceKltPoints> poly_lst; | ^ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:254:36: error: template argument 2 is invalid /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:258:25: error: ‘class vpMbGenericTracker’ has no member named ‘getFeaturesKlt’; did you mean ‘getNbFeaturesKlt’? 258 | polylst = tracker.getFeaturesKlt(); | ^~~~~~ | getNbFeaturesKlt /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:260:42: error: template argument 1 is invalid 260 | for(std::list<vpMbtDistanceKltPoints>::const_iterator it=poly_lst.begin(); it!=poly_lst.end(); ++it){ | ^ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:260:42: error: template argument 2 is invalid /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:260:60: error: qualified-id in declaration before ‘it’ 260 | for(std::list<vpMbtDistanceKltPoints>::const_iterator it=poly_lst.begin(); it!=poly_lst.end(); ++it){ | ^~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:260:59: error: expected ‘;’ before ‘it’ 260 | for(std::list<vpMbtDistanceKltPoints>::const_iterator it=poly_lst.begin(); it!=poly_lst.end(); ++it){ | ^~~ | ; /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:260:60: error: ‘it’ was not declared in this scope; did you mean ‘int’? 260 | for(std::list<vpMbtDistanceKltPoints>::const_iterator it=poly_lst.begin(); it!=poly_lst.end(); ++it){ | ^~ | int /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:260:72: error: request for member ‘begin’ in ‘poly_lst’, which is of non-class type ‘int’ 260 | for(std::list<vpMbtDistanceKltPoints>::const_iterator it=poly_lst.begin(); it!=poly_lst.end(); ++it){ | ^~~~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:260:94: error: request for member ‘end’ in ‘poly_lst’, which is of non-class type ‘int’ 260 | for(std::list<vpMbtDistanceKltPoints>::const_iterator it=poly_lst.begin(); it!=poly_lst.end(); ++it){ | ^~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:260:99: error: expected ‘)’ before ‘;’ token 260 | for(std::list<vpMbtDistanceKltPoints>::const_iterator it=poly_lst.begin(); it!=poly_lst.end(); ++it){ | ~ ^ | ) /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:260:103: error: ‘it’ was not declared in this scope; did you mean ‘int’? 260 | for(std::list<vpMbtDistanceKltPoints*>::const_iterator it=poly_lst.begin(); it!=poly_lst.end(); ++it){ | ^~ | int /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp: In constructor ‘visp_tracker::Tracker::Tracker(ros::NodeHandle&, ros::NodeHandle&, volatile bool&, unsigned int)’: /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:316:5: error: class ‘visptracker::Tracker’ does not have any field named ‘kltTracker’ 316 | kltTracker_(), | ^~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:339:49: error: ‘KLTTRACKER’ is not a member of ‘vpMbGenericTracker’ 339 | tracker.setTrackerType(vpMbGenericTracker::KLT_TRACKER); | ^~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisp_tracker/tracker.cpp:341:84: error: ‘KLTTRACKER’ is not a member of ‘vpMbGenericTracker’ 341 | tracker.setTrackerType(vpMbGenericTracker::EDGE_TRACKER | vpMbGenericTracker::KLT_TRACKER); | ^~~ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisptracker/tracker.cpp:410:77: error: ‘kltTracker’ was not declared in this scope; did you mean ‘tracker’? 410 | boost::ref(image), boost::ref(movingEdge), boost::ref(kltTracker), | ^~~ | tracker_ /home/henry/catkin_ws/src/vision_visp/visp_tracker/src/libvisptracker/tracker.cpp:428:52: error: ‘kltTracker’ was not declared in this scope; did you mean ‘tracker’? 428 | boost::ref(image), boost::ref(kltTracker), | ^~~ | tracker make[2]: [vision_visp/visp_tracker/CMakeFiles/visp_tracker.dir/build.make:128: vision_visp/visp_tracker/CMakeFiles/visp_tracker.dir/src/libvisp_tracker/tracker-viewer.cpp.o] Error 1 make[2]: [vision_visp/visp_tracker/CMakeFiles/visp_tracker.dir/build.make:141: vision_visp/visp_tracker/CMakeFiles/visp_tracker.dir/src/libvisp_tracker/tracker.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:4390: vision_visp/visp_tracker/CMakeFiles/visp_tracker.dir/all] Error 2 make: [Makefile:141: all] Error 2

eduespuch commented 6 months ago

is happening the same to me, any way to solve this??