strands-project / lamor15

A repository for the STRANDS summer school to be cloned by participants.
https://lcas.lincoln.ac.uk/ecmr15/?q=lamor15
MIT License
5 stars 17 forks source link

compilation fail with catkin_make #19

Open gregouras opened 7 years ago

gregouras commented 7 years ago

greg@kinectum:~/catkin_ws$ catkin_make Base path: /home/greg/catkin_ws Source space: /home/greg/catkin_ws/src Build space: /home/greg/catkin_ws/build Devel space: /home/greg/catkin_ws/devel Install space: /home/greg/catkin_ws/install

Running command: "make cmake_check_build_system" in "/home/greg/catkin_ws/build"

Running command: "make -j12 -l12" in "/home/greg/catkin_ws/build"

[ 0%] [ 0%] Built target std_msgs_generate_messages_lisp [ 0%] Built target geometry_msgs_generate_messages_cpp Built target geometry_msgs_generate_messages_lisp [ 0%] Built target std_msgs_generate_messages_cpp [ 0%] [ 0%] Built target geometry_msgs_generate_messages_py Built target std_msgs_generate_messages_py [ 0%] Built target sensor_msgs_generate_messages_py [ 0%] [ 0%] Built target _camera_srv_definitions_generate_messages_check_deps_save_tracking_results_to_file [ 0%] Built target sensor_msgs_generate_messages_lisp Built target _camera_srv_definitions_generate_messages_check_deps_start_tracker [ 0%] Built target _object_perception_msgs_generate_messages_check_deps_BBox [ 0%] [ 0%] [ 0%] [ 0%] Built target _object_tracker_msg_definitions_generate_messages_check_deps_ObjectInfo Built target sensor_msgs_generate_messages_cpp Built target _object_perception_msgs_generate_messages_check_deps_classification Built target _camera_srv_definitions_generate_messages_check_deps_do_ba [ 0%] [ 0%] Built target _camera_srv_definitions_generate_messages_check_deps_stop_tracker Built target _camera_srv_definitions_generate_messages_check_deps_visualize_compound [ 0%] Built target _camera_srv_definitions_generate_messages_check_deps_cleanup [ 0%] Built target _camera_srv_definitions_generate_messages_check_deps_get_tracking_results [ 0%] Built target _incremental_object_learning_srv_definitions_generate_messages_check_deps_learn_object_inc [ 0%] [ 0%] Built target _classifier_srv_definitions_generate_messages_check_deps_mv_classify Built target _classifier_srv_definitions_generate_messages_check_deps_classify [ 0%] [ 0%] [ 0%] Built target _incremental_object_learning_srv_definitions_generate_messages_check_deps_clear Built target _classifier_srv_definitions_generate_messages_check_deps_segment_and_classify Built target _incremental_object_learning_srv_definitions_generate_messages_check_deps_learn_object [ 0%] Built target _incremental_object_learning_srv_definitions_generate_messages_check_deps_visualize [ 0%] Built target _incremental_object_learning_srv_definitions_generate_messages_check_deps_save_model [ 0%] [ 0%] [ 0%] Built target _object_tracker_srv_definitions_generate_messages_check_deps_start_tracker Built target _object_tracker_srv_definitions_generate_messages_check_deps_cleanup Built target _object_tracker_srv_definitions_generate_messages_check_deps_detect_and_track [ 0%] Built target _object_tracker_srv_definitions_generate_messages_check_deps_stop_tracker [ 0%] Built target _object_tracker_srv_definitions_generate_messages_check_deps_change_tracking_model [ 0%] Built target pcl_msgs_generate_messages_py [ 0%] Built target _recognition_srv_definitions_generate_messages_check_deps_recognize [ 0%] [ 0%] Built target _recognition_srv_definitions_generate_messages_check_deps_get_configuration Built target _recognition_srv_definitions_generate_messages_check_deps_retrain_recognizer [ 0%] Built target roscpp_generate_messages_cpp [ 0%] Built target roscpp_generate_messages_lisp [ 0%] [ 0%] Built target rosgraph_msgs_generate_messages_cpp Built target roscpp_generate_messages_py [ 0%] [ 0%] Built target rosgraph_msgs_generate_messages_lisp Built target rosgraph_msgs_generate_messages_py [ 0%] Built target _segmentation_srv_definitions_generate_messages_check_deps_segment [ 0%] Built target _segmentation_srv_definitions_generate_messages_check_deps_MS_segment [ 0%] Built target visualization_msgs_generate_messages_lisp [ 0%] Built target visualization_msgs_generate_messages_py [ 0%] Built target topic_tools_generate_messages_py [ 0%] Built target visualization_msgs_generate_messages_cpp [ 3%] Built target kinect2_registration [ 3%] [ 3%] Built target pcl_msgs_generate_messages_cpp Built target pcl_msgs_generate_messages_lisp [ 3%] [ 3%] Built target tf2_msgs_generate_messages_cpp Built target tf2_msgs_generate_messages_lisp [ 3%] Built target dynamic_reconfigure_gencfg [ 3%] Built target actionlib_msgs_generate_messages_cpp [ 3%] Built target dynamic_reconfigure_generate_messages_py [ 3%] Built target tf_generate_messages_py [ 3%] Built target actionlib_generate_messages_lisp [ 3%] Built target nodelet_generate_messages_cpp [ 3%] [ 3%] Built target tf_generate_messages_cpp Built target tf_generate_messages_lisp [ 3%] Built target dynamic_reconfigure_generate_messages_cpp [ 3%] Built target actionlib_generate_messages_cpp [ 3%] Built target nodelet_generate_messages_lisp [ 3%] Built target dynamic_reconfigure_generate_messages_lisp [ 3%] Built target nodelet_generate_messages_py [ 3%] Built target bond_generate_messages_lisp [ 3%] [ 3%] Built target bond_generate_messages_py Built target actionlib_generate_messages_py [ 3%] Built target actionlib_msgs_generate_messages_lisp [ 3%] Built target bond_generate_messages_cpp [ 3%] Built target actionlib_msgs_generate_messages_py [ 3%] Built target tf2_msgs_generate_messages_py [ 3%] Built target topic_tools_generate_messages_cpp [ 3%] [ 3%] [ 3%] Built target topic_tools_generate_messages_lisp Built target pcl_ros_gencfg Built target std_srvs_generate_messages_py [ 3%] Built target std_srvs_generate_messages_lisp [ 3%] Built target std_srvs_generate_messages_cpp Linking CXX executable /home/greg/catkin_ws/devel/lib/object_gestalt_segmentation/object_gestalt_segmentation [ 6%] [ 6%] [ 7%] [ 7%] Built target object_perception_msgs_generate_messages_lisp Built target object_tracker_msg_definitions_generate_messages_cpp Built target object_perception_msgs_generate_messages_cpp [ 18%] [ 20%] Built target object_tracker_msg_definitions_generate_messages_lisp [ 24%] Built target camera_srv_definitions_generate_messages_lisp Built target camera_srv_definitions_generate_messages_cpp Built target incremental_object_learning_srv_definitions_generate_messages_lisp [ 26%] [ 32%] Built target object_tracker_msg_definitions_generate_messages_py Built target camera_srv_definitions_generate_messages_py [ 36%] [ 41%] Built target object_perception_msgs_generate_messages_py Built target incremental_object_learning_srv_definitions_generate_messages_py [ 45%] Built target incremental_object_learning_srv_definitions_generate_messages_cpp [ 50%] Built target object_tracker_srv_definitions_generate_messages_cpp [ 52%] Built target recognition_srv_definitions_generate_messages_cpp [ 55%] Built target recognition_srv_definitions_generate_messages_lisp [ 60%] Built target object_tracker_srv_definitions_generate_messages_py [ 61%] Built target segmentation_srv_definitions_generate_messages_cpp [ 65%] Built target object_tracker_srv_definitions_generate_messages_lisp [ 68%] Built target segmentation_srv_definitions_generate_messages_lisp [ 70%] Built target segmentation_srv_definitions_generate_messages_py [ 70%] [ 70%] Built target object_tracker_msg_definitions_generate_messages Built target camera_srv_definitions_generate_messages [ 73%] Built target classifier_srv_definitions_generate_messages_cpp [ 73%] Built target object_perception_msgs_generate_messages [ 75%] Built target classifier_srv_definitions_generate_messages_lisp [ 75%] Built target incremental_object_learning_srv_definitions_generate_messages [ 78%] Built target classifier_srv_definitions_generate_messages_py [ 78%] [ 78%] Built target object_tracker_srv_definitions_generate_messages Built target segmentation_srv_definitions_generate_messages Linking CXX executable /home/greg/catkin_ws/devel/lib/temporal_filtering/temporal_filtering Linking CXX executable /home/greg/catkin_ws/devel/lib/kinect2_calibration/kinect2_calibration [ 81%] Built target recognition_srv_definitions_generate_messages_py Linking CXX executable /home/greg/catkin_ws/devel/lib/kinect2_viewer/kinect2_viewer [ 82%] Built target kinect2_bridge_nodelet [ 84%] Built target kinect2_bridge Linking CXX executable /home/greg/catkin_ws/devel/lib/segmentation/test_segmentation [ 85%] Linking CXX executable /home/greg/catkin_ws/devel/lib/segment_and_classify/segement_and_classify_test Building CXX object v4r_ros_wrappers/segmentation/CMakeFiles/pcl_segmentation_service.dir/src/pcl_segmentation_ros.cpp.o Linking CXX executable /home/greg/catkin_ws/devel/lib/incremental_object_learning/test_incremental_object_learning_service Scanning dependencies of target test_object_gestalt_segmentation Linking CXX executable /home/greg/catkin_ws/devel/lib/incremental_object_learning/incremental_object_learning_service Linking CXX executable /home/greg/catkin_ws/devel/lib/camera_tracker/camera_tracker_service Scanning dependencies of target recognition_service [ 86%] Building CXX object v4r_ros_wrappers/object_gestalt_segmentation/CMakeFiles/test_object_gestalt_segmentation.dir/src/test_object_gestalt_segmentation.cpp.o [ 87%] Building CXX object v4r_ros_wrappers/singleview_object_recognizer/CMakeFiles/recognition_service.dir/src/recognizer_ros.cpp.o [ 87%] Built target kinect2_calibration Scanning dependencies of target test_single_view_recognition [ 88%] Building CXX object v4r_ros_wrappers/singleview_object_recognizer/CMakeFiles/test_single_view_recognition.dir/src/test_single_view_recognizer.cpp.o CMakeFiles/test_incremental_object_learning_service.dir/src/test_dol_from_files.cpp.o: In function IOLDemoFromFiles::callIOL()': test_dol_from_files.cpp:(.text._ZN16IOLDemoFromFiles7callIOLEv[_ZN16IOLDemoFromFiles7callIOLEv]+0x5e): undefined reference tov4r::io::getFilesInDirectory(std::string const&, std::string const&, bool)' test_dol_from_files.cpp:(.text._ZN16IOLDemoFromFiles7callIOLEv[_ZN16IOLDemoFromFiles7callIOLEv]+0xab): undefined reference to v4r::io::getFilesInDirectory(std::string const&, std::string const&, bool)' test_dol_from_files.cpp:(.text._ZN16IOLDemoFromFiles7callIOLEv[_ZN16IOLDemoFromFiles7callIOLEv]+0xf3): undefined reference tov4r::io::getFilesInDirectory(std::string const&, std::string const&, bool)' collect2: error: ld returned 1 exit status make[2]: [/home/greg/catkin_ws/devel/lib/incremental_object_learning/test_incremental_object_learning_service] Error 1 make[1]: [v4r_ros_wrappers/incremental_object_learning/CMakeFiles/test_incremental_object_learning_service.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... CMakeFiles/test_segmentation.dir/src/test_segmentation.cpp.o: In function SegmenationDemo::callUsingFiles()': test_segmentation.cpp:(.text._ZN15SegmenationDemo14callUsingFilesEv[_ZN15SegmenationDemo14callUsingFilesEv]+0x45): undefined reference tov4r::io::getFilesInDirectory(std::string const&, std::string const&, bool)' collect2: error: ld returned 1 exit status make[2]: [/home/greg/catkin_ws/devel/lib/segmentation/test_segmentation] Error 1 make[1]: [v4r_ros_wrappers/segmentation/CMakeFiles/test_segmentation.dir/all] Error 2 CMakeFiles/segement_and_classify_test.dir/src/test.cpp.o: In function SegmenationAndClassifyDemo::callUsingFiles()': test.cpp:(.text._ZN26SegmenationAndClassifyDemo14callUsingFilesEv[_ZN26SegmenationAndClassifyDemo14callUsingFilesEv]+0x41): undefined reference tov4r::io::getFilesInDirectory(std::string const&, std::string const&, bool)' collect2: error: ld returned 1 exit status make[2]: [/home/greg/catkin_ws/devel/lib/segment_and_classify/segement_and_classify_test] Error 1 make[1]: [v4r_ros_wrappers/segment_and_classify/CMakeFiles/segement_and_classify_test.dir/all] Error 2 [ 89%] Built target object_gestalt_segmentation [ 90%] Built target temporal_filtering [ 91%] Built target incremental_object_learning_service [ 92%] Built target kinect2_viewer CMakeFiles/camera_tracker_service.dir/src/camera_tracker.cpp.o: In function CamTracker::saveTrackingResultsToFile(camera_srv_definitions::save_tracking_results_to_fileRequest_<std::allocator<void> >&, camera_srv_definitions::save_tracking_results_to_fileResponse_<std::allocator<void> >&)': camera_tracker.cpp:(.text+0x3c4a): undefined reference tov4r::io::createDirIfNotExist(std::string const&)' CMakeFiles/camera_tracker_service.dir/src/camera_tracker.cpp.o: In function CamTracker::createObjectCloudFiltered(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZRGB> >&)': camera_tracker.cpp:(.text+0x46d8): undefined reference tov4r::NguyenNoiseModel::NguyenNoiseModel(v4r::NguyenNoiseModel::Parameter const&)' collect2: error: ld returned 1 exit status make[2]: [/home/greg/catkin_ws/devel/lib/camera_tracker/camera_tracker_service] Error 1 make[1]: [v4r_ros_wrappers/camera_tracker/CMakeFiles/camera_tracker_service.dir/all] Error 2 In file included from /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:1:0: /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/include/pcl_segmentation_ros.h:20:17: error: ‘PointIndices’ is not a member of ‘pcl’ std::vector foundclusters; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/include/pcl_segmentation_ros.h:20:17: error: ‘PointIndices’ is not a member of ‘pcl’ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/include/pcl_segmentation_ros.h:20:34: error: template argument 1 is invalid std::vector foundclusters; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/include/pcl_segmentation_ros.h:20:34: error: template argument 2 is invalid In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:25:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/apps/include/v4r/apps/CloudSegmenter.h:123:19: error: ‘NormalEstimator’ in namespace ‘v4r’ does not name a type typename v4r::NormalEstimator::Ptr normalestimator; ^ /home/greg/v4r/modules/apps/include/v4r/apps/CloudSegmenter.h:123:34: error: expected unqualified-id before ‘<’ token typename v4r::NormalEstimator::Ptr normalestimator; ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:34:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/features/include/v4r/features/global_simple_shape_estimator.h: In constructor ‘v4r::SimpleShapeEstimator::SimpleShapeEstimator()’: /home/greg/v4r/modules/features/include/v4r/features/global_simple_shape_estimator.h:51:51: error: ‘SIMPLE_SHAPE’ is not a member of ‘v4r::FeatureType’ : GlobalEstimator("simple_shape", FeatureType::SIMPLE_SHAPE, 3) ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:35:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/features/include/v4r/features/global_color_estimator.h: In constructor ‘v4r::GlobalColorEstimator::GlobalColorEstimator(const v4r::GlobalColorEstimatorParameter&)’: /home/greg/v4r/modules/features/include/v4r/features/global_color_estimator.h:113:51: error: ‘GLOBAL_COLOR’ is not a member of ‘v4r::FeatureType’ : GlobalEstimator("global_color", FeatureType::GLOBAL_COLOR), ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp: In member function ‘bool v4r::SegmenterROS::respondSrvCall(segmentation_srv_definitions::segment::Request&, segmentation_srv_definitions::segment::Response&) const’: /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:54:41: error: request for member ‘size’ in ‘((const v4r::SegmenterROS)this)->v4r::SegmenterROS::foundclusters’, which is of non-class type ‘const int’ for(size_t i=0; i < foundclusters.size(); i++) ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:56:61: error: invalid types ‘const int[std::size_t {aka long unsigned int}]’ for array subscript const pcl::PointIndices &indices = foundclusters[i]; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:79:5: error: ‘PCLOpenCVConverter’ is not a member of ‘v4r’ v4r::PCLOpenCVConverter img_conv; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:79:35: error: expected primary-expression before ‘>’ token v4r::PCLOpenCVConverter img_conv; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:79:37: error: ‘img_conv’ was not declared in this scope v4r::PCLOpenCVConverter img_conv; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp: In member function ‘void v4r::SegmenterROS::initialize(int, char)’: /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:94:18: error: ‘DominantPlane’ is not a member of ‘v4r::SegmentationType’ int method = v4r::SegmentationType::DominantPlane; ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:36:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/ourcvfh_estimator.h: At global scope: /opt/ros/indigo/include/v4r/features/ourcvfh_estimator.h:20:73: error: wrong number of template arguments (2, should be 1) class OURCVFHEstimator : public GlobalEstimator<PointInT, FeatureT> ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:29:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/global_estimator.h:35:23: error: provided for ‘template class v4r::GlobalEstimator’ class V4R_EXPORTS GlobalEstimator { ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:36:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/ourcvfh_estimator.h:25:49: error: wrong number of template arguments (2, should be 1) using GlobalEstimator<PointInT, FeatureT>::normalestimator; ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:29:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/global_estimator.h:35:23: error: provided for ‘template class v4r::GlobalEstimator’ class V4R_EXPORTS GlobalEstimator { ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:36:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/ourcvfhestimator.h:26:49: error: wrong number of template arguments (2, should be 1) using GlobalEstimator<PointInT, FeatureT>::normals; ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:29:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/global_estimator.h:35:23: error: provided for ‘template class v4r::GlobalEstimator’ class V4R_EXPORTS GlobalEstimator { ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:36:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/ourcvfh_estimator.h: In member function ‘virtual bool v4r::OURCVFHEstimator<PointInT, FeatureT>::estimate(const PointInTPtr&, v4r::OURCVFHEstimator<PointInT, FeatureT>::PointInTPtr&, typename pcl::PointCloud::CloudVectorType&, std::vector<Eigen::Matrix<float, 3, 1> >&)’: /opt/ros/indigo/include/v4r/features/ourcvfh_estimator.h:154:16: error: ‘normalestimator’ was not declared in this scope if (!normalestimator) ^ /opt/ros/indigo/include/v4r/features/ourcvfhestimator.h:175:11: error: ‘normals’ was not declared in this scope normals_.reset (new pcl::PointCloud); ^ /opt/ros/indigo/include/v4r/features/ourcvfh_estimator.h:177:13: error: ‘normalestimator’ was not declared in this scope normalestimator->estimate (in, processed, normals_); ^ /opt/ros/indigo/include/v4r/features/ourcvfh_estimator.h:191:15: error: ‘normalestimator’ was not declared in this scope normalestimator->estimate (filtered, processed, normals_); ^ /opt/ros/indigo/include/v4r/features/ourcvfh_estimator.h:229:32: error: ‘normalestimator’ was not declared in this scope float radius = normalestimator->normalradius; ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h: In constructor ‘v4r::GlobalConcatEstimatorParameter::GlobalConcatEstimatorParameter()’: /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:58:43: error: ‘SIMPLE_SHAPE’ is not a member of ‘v4r::FeatureType’ feature_type ( FeatureType::ESF | FeatureType::SIMPLE_SHAPE | FeatureType::GLOBAL_COLOR ) ^ /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:58:71: error: ‘GLOBAL_COLOR’ is not a member of ‘v4r::FeatureType’ feature_type ( FeatureType::ESF | FeatureType::SIMPLE_SHAPE | FeatureType::GLOBAL_COLOR ) ^ /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h: In constructor ‘v4r::GlobalConcatEstimatorParameter::GlobalConcatEstimatorParameter(const string&)’: /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:82:123: error: ‘filesystem’ is not a member of ‘boost’ throw std::runtime_error("Given config file " + filename + " does not exist! Current working directory is " + boost::filesystem::current_path().string() + "."); ^ /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h: At global scope: /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:150:37: error: wrong number of template arguments (1, should be 2) typename OURCVFHEstimator::Ptr ourcvfhestimator; ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:36:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/ourcvfh_estimator.h:20:13: error: provided for ‘template<class PointInT, class FeatureT> class v4r::OURCVFHEstimator’ class OURCVFHEstimator : public GlobalEstimator<PointInT, FeatureT> ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h: In constructor ‘v4r::apps::ObjectRecognizerParameter::ObjectRecognizerParameter()’: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:119:56: error: ‘SIMPLE_SHAPE’ is not a member of ‘v4r::FeatureType’ global_featuretypes ( { FeatureType::ESF | FeatureType::SIMPLE_SHAPE | FeatureType::GLOBAL_COLOR, FeatureType::ALEXNET } ), ^ /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:119:84: error: ‘GLOBAL_COLOR’ is not a member of ‘v4r::FeatureType’ global_featuretypes ( { FeatureType::ESF | FeatureType::SIMPLE_SHAPE | FeatureType::GLOBAL_COLOR, FeatureType::ALEXNET } ), ^ /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:119:111: error: ‘ALEXNET’ is not a member of ‘v4r::FeatureType’ global_featuretypes ( { FeatureType::ESF | FeatureType::SIMPLE_SHAPE | FeatureType::GLOBAL_COLOR, FeatureType::ALEXNET } ), ^ /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:122:40: error: ‘NormalEstimatorType’ has not been declared normal_computationmethod ( NormalEstimatorType::PCL_INTEGRAL_NORMAL ), ^ /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:138:23: error: no matching function for call to ‘std::vector::vector()’ shotknn (0) ^ /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:138:23: note: candidates are: In file included from /usr/include/c++/4.8/vector:64:0, from /home/greg/catkin_ws/devel/include/recognition_srv_definitions/get_configurationRequest.h:10, from /home/greg/catkin_ws/devel/include/recognition_srv_definitions/get_configuration.h:11, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:1, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /usr/include/c++/4.8/bits/stl_vector.h:392:9: note: template<class _InputIterator, class> std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) vector(_InputIterator first, _InputIterator last, ^ /usr/include/c++/4.8/bits/stl_vector.h:392:9: note: template argument deduction/substitution failed: In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:138:23: note: candidate expects 3 arguments, 1 provided shotknn (0) ^ In file included from /usr/include/c++/4.8/vector:64:0, from /home/greg/catkin_ws/devel/include/recognition_srv_definitions/get_configurationRequest.h:10, from /home/greg/catkin_ws/devel/include/recognition_srv_definitions/get_configuration.h:11, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:1, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /usr/include/c++/4.8/bits/stl_vector.h:364:7: note: std::vector<_Tp, _Alloc>::vector(std::initializer_list<_Tp>, const allocator_type&) [with _Tp = int; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::allocator_type = std::allocator] vector(initializer_list l, ^ /usr/include/c++/4.8/bits/stl_vector.h:364:7: note: no known conversion for argument 1 from ‘’ to ‘std::initializer_list’ /usr/include/c++/4.8/bits/stl_vector.h:340:7: note: std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>&&, const allocator_type&) [with _Tp = int; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::allocator_type = std::allocator] vector(vector&& rv, const allocator_type& m) ^ /usr/include/c++/4.8/bits/stl_vector.h:340:7: note: candidate expects 2 arguments, 1 provided /usr/include/c++/4.8/bits/stl_vector.h:331:7: note: std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&, const allocator_type&) [with _Tp = int; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::allocator_type = std::allocator] vector(const vector& x, const allocator_type& a) ^ /usr/include/c++/4.8/bits/stl_vector.h:331:7: note: candidate expects 2 arguments, 1 provided /usr/include/c++/4.8/bits/stl_vector.h:327:7: note: std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>&&) [with _Tp = int; _Alloc = std::allocator] vector(vector&& x) noexcept ^ /usr/include/c++/4.8/bits/stl_vector.h:327:7: note: no known conversion for argument 1 from ‘’ to ‘std::vector&&’ /usr/include/c++/4.8/bits/stl_vector.h:310:7: note: std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = int; _Alloc = std::allocator] vector(const vector& x) ^ /usr/include/c++/4.8/bits/stl_vector.h:310:7: note: no known conversion for argument 1 from ‘’ to ‘const std::vector&’ /usr/include/c++/4.8/bits/stl_vector.h:281:7: note: std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = int; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = int; std::vector<_Tp, _Alloc>::allocator_type = std::allocator] vector(size_type __n, const value_type& value, ^ /usr/include/c++/4.8/bits/stl_vector.h:281:7: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.8/bits/stl_vector.h:269:7: note: std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const allocator_type&) [with _Tp = int; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::allocator_type = std::allocator] vector(size_type n, const allocator_type& __a = allocator_type()) ^ /usr/include/c++/4.8/bits/stl_vector.h:269:7: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type {aka long unsigned int}’ /usr/include/c++/4.8/bits/stl_vector.h:256:7: note: std::vector<_Tp, _Alloc>::vector(const allocator_type&) [with _Tp = int; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::allocator_type = std::allocator] vector(const allocator_type& a) ^ /usr/include/c++/4.8/bits/stl_vector.h:256:7: note: no known conversion for argument 1 from ‘’ to ‘const allocator_type& {aka const std::allocator&}’ /usr/include/c++/4.8/bits/stl_vector.h:248:7: note: std::vector<_Tp, _Alloc>::vector() [with _Tp = int; _Alloc = std::allocator] vector() ^ /usr/include/c++/4.8/bits/stl_vector.h:248:7: note: candidate expects 0 arguments, 1 provided In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h: In member function ‘void v4r::apps::ObjectRecognizerParameter::load(const string&)’: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:176:123: error: ‘filesystem’ is not a member of ‘boost’ throw std::runtime_error("Given config file " + filename + " does not exist! Current working directory is " + boost::filesystem::current_path().string() + "."); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp: In instantiation of ‘bool v4r::SegmenterROS::do_segmentation_ROS(segmentation_srv_definitions::segment::Request&, segmentation_srv_definitions::segment::Response&) [with PointT = pcl::PointXYZRGB; segmentation_srv_definitions::segment::Request = segmentation_srvdefinitions::segmentRequest<std::allocator >; segmentation_srv_definitions::segment::Response = segmentation_srvdefinitions::segmentResponse<std::allocator >]’: /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:117:62: required from ‘void v4r::SegmenterROS::initialize(int, char**) [with PointT = pcl::PointXYZRGB]’ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:129:28: required from here /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:40:5: error: no matching function for call to ‘v4r::Segmenter::getSegmentIndices(int&)’ cast_segmenter->getSegmentIndices( foundclusters ); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:40:5: note: candidate is: In file included from /home/greg/v4r/modules/segmentation/include/v4r/segmentation/all_headers.h:27:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/include/pcl_segmentation_ros.h:3, from /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:1: /home/greg/v4r/modules/segmentation/include/v4r/segmentation/segmenter.h:153:5: note: void v4r::Segmenter::getSegmentIndices(std::vector<std::vector >&) const [with PointT = pcl::PointXYZRGB] getSegmentIndices ( std::vector<std::vector > & indices ) const ^ /home/greg/v4r/modules/segmentation/include/v4r/segmentation/segmenter.h:153:5: note: no known conversion for argument 1 from ‘int’ to ‘std::vector<std::vector >&’ In file included from /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:38:0, from /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:9, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:27, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/keypoints/include/v4r/keypoints/keypoint_extractor.h: At global scope: /home/greg/v4r/modules/keypoints/include/v4r/keypoints/keypoint_extractor.h:35:19: error: redefinition of ‘class v4r::KeypointExtractor’ class V4R_EXPORTS KeypointExtractor ^ In file included from /opt/ros/indigo/include/v4r/features/uniform_sampling_extractor.h:28:0, from /opt/ros/indigo/include/v4r/features/local_estimator.h:29, from /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:36, from /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:9, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:27, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/keypoint_extractor.h:35:19: error: previous definition of ‘class v4r::KeypointExtractor’ class V4R_EXPORTS KeypointExtractor ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:9:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:27, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:206:14: error: expected nested-name-specifier before ‘NormalEstimator’ typename NormalEstimator::Ptr normalestimator; ///< normal estimator used for computing surface normals (currently only used at training) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:206:14: error: expected ‘;’ at end of member declaration /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:206:29: error: expected unqualified-id before ‘<’ token typename NormalEstimator::Ptr normalestimator; ///< normal estimator used for computing surface normals (currently only used at training) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_featurematching.h:217:27: error: ‘LocalObjectHypothesis’ was not declared in this scope std::map<std::string, LocalObjectHypothesis > corrs; ///< correspondences for each object model (model id, correspondences) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_featurematching.h:217:55: error: template argument 2 is invalid std::map<std::string, LocalObjectHypothesis > corrs; ///< correspondences for each object model (model id, correspondences) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:217:55: error: template argument 4 is invalid /home/greg/v4r/modules/recognition/include/v4r/recognition/local_featurematching.h:217:57: error: expected unqualified-id before ‘>’ token std::map<std::string, LocalObjectHypothesis > corrs; ///< correspondences for each object model (model id, correspondences) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:226:5: error: ‘PCLVisualizationParams’ does not name a type PCLVisualizationParams::ConstPtr visparam; ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:421:27: error: ‘LocalObjectHypothesis’ was not declared in this scope std::map<std::string, LocalObjectHypothesis> ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:421:49: error: template argument 2 is invalid std::map<std::string, LocalObjectHypothesis> ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:421:49: error: template argument 4 is invalid /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:421:55: error: expected unqualified-id before ‘>’ token std::map<std::string, LocalObjectHypothesis> ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:463:39: error: expected nested-name-specifier before ‘NormalEstimator’ setNormalEstimator(const typename NormalEstimator::Ptr &normal_estimator) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:463:54: error: expected ‘,’ or ‘...’ before ‘<’ token setNormalEstimator(const typename NormalEstimator::Ptr &normal_estimator) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:479:37: error: ‘PCLVisualizationParams’ does not name a type setVisualizationParameter(const PCLVisualizationParams::ConstPtr &vis_param) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:479:70: error: expected unqualified-id before ‘&’ token setVisualizationParameter(const PCLVisualizationParams::ConstPtr &vis_param) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:479:70: error: expected ‘)’ before ‘&’ token /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:479:70: error: expected ‘;’ at end of member declaration /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:479:71: error: ‘vis_param’ does not name a type setVisualizationParameter(const PCLVisualizationParams::ConstPtr &vis_param) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h: In member function ‘void v4r::LocalFeatureMatcher::setNormalEstimator(int)’: /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:465:9: error: ‘normalestimator’ was not declared in this scope normalestimator = normal_estimator; ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:465:29: error: ‘normal_estimator’ was not declared in this scope normalestimator = normal_estimator; ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:10:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:27, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/recognition/include/v4r/recognition/object_hypothesis.h: At global scope: /home/greg/v4r/modules/recognition/include/v4r/recognition/object_hypothesis.h:43:19: error: template argument required for ‘class ObjectHypothesis’ class V4R_EXPORTS ObjectHypothesis ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:10:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:27, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/recognition/include/v4r/recognition/objecthypothesis.h:141:14: error: ‘template class v4r::ObjectHypothesis’ used without template parameters typename ObjectHypothesis::Ptr oh; ///< object hypothesis ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/object_hypothesis.h:167:33: error: ‘template class v4r::ObjectHypothesis’ used without template parameters HVRecognitionModel(typename ObjectHypothesis::Ptr &oh) : ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/objecthypothesis.h:237:48: error: template argument 1 is invalid std::vector ohs; ///< Each hypothesis can have several object model (e.g. global recognizer tries to macht several object instances for a clustered point cloud segment). ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/object_hypothesis.h:237:48: error: template argument 2 is invalid In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:27:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:39:5: error: ‘PCLVisualizationParams’ does not name a type PCLVisualizationParams::ConstPtr visparam; ///< visualization parameters ^ /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:97:40: error: ‘PCLVisualizationParams’ does not name a type ObjectRecognitionVisualizer( const PCLVisualizationParams::ConstPtr &vis_param) ^ /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:97:73: error: expected unqualified-id before ‘&’ token ObjectRecognitionVisualizer( const PCLVisualizationParams::ConstPtr &vis_param) ^ /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:97:73: error: expected ‘)’ before ‘&’ token /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:97:73: error: constructors may not be ref-qualified /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:97:73: error: expected ‘;’ at end of member declaration /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:97:74: error: ‘vis_param’ does not name a type ObjectRecognitionVisualizer( const PCLVisualizationParams::ConstPtr &vis_param) ^ /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h: In constructor ‘v4r::ObjectRecognitionVisualizer::ObjectRecognitionVisualizer()’: /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:104:9: error: ‘PCLVisualizationParams’ has not been declared PCLVisualizationParams::Ptr vis_param ( new PCLVisualizationParams() ); ^ /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:104:37: error: expected ‘;’ before ‘vis_param’ PCLVisualizationParams::Ptr vis_param ( new PCLVisualizationParams() ); ^ /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:105:9: error: ‘visparam’ was not declared in this scope visparam = vis_param; ^ /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:105:22: error: ‘vis_param’ was not declared in this scope visparam = vis_param; ^ In file included from /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:30:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:31, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h: At global scope: /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:62:14: error: expected nested-name-specifier before ‘NormalEstimator’ typename NormalEstimator::Ptr normalestimator; ///< normal estimator used for computing surface normals (currently only used at training) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:62:14: error: expected ‘;’ at end of member declaration /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:62:29: error: expected unqualified-id before ‘<’ token typename NormalEstimator::Ptr normalestimator; ///< normal estimator used for computing surface normals (currently only used at training) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:88:5: error: ‘PCLVisualizationParams’ does not name a type PCLVisualizationParams::ConstPtr visparam; ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:180:39: error: expected nested-name-specifier before ‘NormalEstimator’ setNormalEstimator(const typename NormalEstimator::Ptr &normal_estimator) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:180:54: error: expected ‘,’ or ‘...’ before ‘<’ token setNormalEstimator(const typename NormalEstimator::Ptr &normal_estimator) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:191:37: error: ‘PCLVisualizationParams’ does not name a type setVisualizationParameter(const PCLVisualizationParams::ConstPtr &vis_param) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:191:70: error: expected unqualified-id before ‘&’ token setVisualizationParameter(const PCLVisualizationParams::ConstPtr &vis_param) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:191:70: error: expected ‘)’ before ‘&’ token /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:191:70: error: expected ‘;’ at end of member declaration /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:191:71: error: ‘vis_param’ does not name a type setVisualizationParameter(const PCLVisualizationParams::ConstPtr &vis_param) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h: In member function ‘void v4r::RecognitionPipeline::setNormalEstimator(int)’: /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:182:9: error: ‘normalestimator’ was not declared in this scope normalestimator = normal_estimator; ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:182:29: error: ‘normal_estimator’ was not declared in this scope normalestimator = normal_estimator; ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:31:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h: At global scope: /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:153:27: error: ‘LocalObjectHypothesis’ was not declared in this scope std::map<std::string, LocalObjectHypothesis > local_objhypotheses; ///< stores feature correspondences ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:153:55: error: template argument 2 is invalid std::map<std::string, LocalObjectHypothesis > local_objhypotheses; ///< stores feature correspondences ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:153:55: error: template argument 4 is invalid /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:153:57: error: expected unqualified-id before ‘>’ token std::map<std::string, LocalObjectHypothesis > local_objhypotheses; ///< stores feature correspondences ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:269:27: error: ‘LocalObjectHypothesis’ was not declared in this scope std::map<std::string, LocalObjectHypothesis > ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:269:55: error: template argument 2 is invalid std::map<std::string, LocalObjectHypothesis > ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:269:55: error: template argument 4 is invalid /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:269:57: error: expected unqualified-id before ‘>’ token std::map<std::string, LocalObjectHypothesis > ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h: In member function ‘bool v4r::LocalRecognitionPipeline::needNormals() const’: /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:217:83: error: ‘Ptr’ in ‘class v4r::GraphGeometricConsistencyGrouping<pcl::PointXYZ, pcl::PointXYZ>’ does not name a type typename GraphGeometricConsistencyGrouping<pcl::PointXYZ, pcl::PointXYZ>::Ptr gcg_algorithm = boost::dynamic_pointer_cast< GraphGeometricConsistencyGrouping<pcl::PointXYZ, pcl::PointXYZ> > (cgalgorithm); ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:217:101: error: invalid type in declaration before ‘=’ token typename GraphGeometricConsistencyGrouping<pcl::PointXYZ, pcl::PointXYZ>::Ptr gcg_algorithm = boost::dynamic_pointer_cast< GraphGeometricConsistencyGrouping<pcl::PointXYZ, pcl::PointXYZ> > (cgalgorithm); ^ In file included from /opt/ros/indigo/include/v4r/recognition/multi_pipeline_recognizer.h:28:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:32, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/recognition/local_recognizer.h: At global scope: /opt/ros/indigo/include/v4r/recognition/local_recognizer.h:57:25: error: redefinition of ‘class v4r::LocalRecognitionPipeline’ class V4R_EXPORTS LocalRecognitionPipeline : public Recognizer ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:31:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:139:19: error: previous definition of ‘class v4r::LocalRecognitionPipeline’ class V4R_EXPORTS LocalRecognitionPipeline : public RecognitionPipeline ^ In file included from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:49:19: error: ‘NormalEstimator’ in namespace ‘v4r’ does not name a type typename v4r::NormalEstimator::Ptr normalestimator; ///< normal estimator used for computing surface normals (currently only used at training) ^ /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:49:34: error: expected unqualified-id before ‘<’ token typename v4r::NormalEstimator::Ptr normalestimator; ///< normal estimator used for computing surface normals (currently only used at training) ^ /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:61:5: error: ‘Camera’ does not name a type Camera::Ptr camera_; ^ In file included from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1:0: /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizerros.h:24:13: error: ‘Camera’ in namespace ‘v4r’ does not name a type mutable v4r::Camera::Ptr camera; ///< camera (if cloud is not organized) ^ In file included from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1:0: /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:42:21: error: ‘Camera’ in namespace ‘v4r’ does not name a type setCamera(const v4r::Camera::Ptr &cam) ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:42:38: error: expected unqualified-id before ‘&’ token setCamera(const v4r::Camera::Ptr &cam) ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:42:38: error: expected ‘)’ before ‘&’ token /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:42:38: error: expected ‘;’ at end of member declaration /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:42:39: error: ‘cam’ does not name a type setCamera(const v4r::Camera::Ptr &cam) ^ make[2]: [v4r_ros_wrappers/segmentation/CMakeFiles/pcl_segmentation_service.dir/src/pcl_segmentation_ros.cpp.o] Error 1 make[1]: [v4r_ros_wrappers/segmentation/CMakeFiles/pcl_segmentation_service.dir/all] Error 2 Linking CXX executable /home/greg/catkin_ws/devel/lib/singleview_object_recognizer/test_single_view_recognition In file included from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:13:0: /home/greg/v4r/modules/keypoints/include/v4r/keypoints/uniform_sampling_extractor.h:82:19: error: redefinition of ‘class v4r::UniformSamplingExtractor’ class V4R_EXPORTS UniformSamplingExtractor : public KeypointExtractor ^ In file included from /opt/ros/indigo/include/v4r/features/local_estimator.h:29:0, from /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:36, from /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:9, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:27, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/uniform_sampling_extractor.h:33:19: error: previous definition of ‘class v4r::UniformSamplingExtractor’ class V4R_EXPORTS UniformSamplingExtractor : public KeypointExtractor ^ In file included from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:17:0: /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:64:56: error: template argument 1 is invalid std::vector<typename GlobalRecognizer::Ptr > globalrecognizers; ///< set of Global recognizer generating keypoint correspondences ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:64:56: error: template argument 2 is invalid In file included from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:17:0: /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:88:34: error: expected nested-name-specifier before ‘GlobalRecognizer’ addRecognizer(const typename GlobalRecognizer::Ptr & l_rec) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:88:50: error: expected ‘,’ or ‘...’ before ‘<’ token addRecognizer(const typename GlobalRecognizer::Ptr & l_rec) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h: In member function ‘void v4r::GlobalRecognitionPipeline::addRecognizer(int)’: /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:90:29: error: request for member ‘push_back’ in ‘((v4r::GlobalRecognitionPipeline)this)->v4r::GlobalRecognitionPipeline::globalrecognizers’, which is of non-class type ‘int’ globalrecognizers.push_back( l_rec ); ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:90:40: error: ‘l_rec’ was not declared in this scope globalrecognizers.push_back( l_rec ); ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h: In member function ‘bool v4r::GlobalRecognitionPipeline::needNormals() const’: /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:101:55: error: request for member ‘size’ in ‘((const v4r::GlobalRecognitionPipeline)this)->v4r::GlobalRecognitionPipeline::globalrecognizers’, which is of non-class type ‘const int’ for(size_t r_id=0; r_id < globalrecognizers.size(); r_id++) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:103:41: error: invalid types ‘const int[std::size_t {aka long unsigned int}]’ for array subscript if( globalrecognizers[r_id]->needNormals()) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h: In member function ‘std::size_t v4r::GlobalRecognitionPipeline::getFeatureType() const’: /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:128:55: error: request for member ‘size’ in ‘((const v4r::GlobalRecognitionPipeline)this)->v4r::GlobalRecognitionPipeline::globalrecognizers’, which is of non-class type ‘const int’ for(size_t r_id=0; r_id < globalrecognizers.size(); r_id++) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:129:50: error: invalid types ‘const int[std::size_t {aka long unsigned int}]’ for array subscript feat_type += globalrecognizers[r_id]->getFeatureType(); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp: In member function ‘bool v4r::RecognizerROS::respondSrvCall(recognition_srv_definitions::recognize::Request&, recognition_srv_definitions::recognize::Response&) const’: /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:46:5: error: ‘PCLOpenCVConverter’ is not a member of ‘v4r’ v4r::PCLOpenCVConverter img_conv; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:46:35: error: expected primary-expression before ‘>’ token v4r::PCLOpenCVConverter img_conv; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:46:37: error: ‘img_conv’ was not declared in this scope v4r::PCLOpenCVConverter img_conv; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizerros.cpp:52:14: error: ‘camera’ was not declared in this scope if( !camera_ ) ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizerros.cpp:62:29: error: ‘camera’ was not declared in this scope imgconv.setCamera( camera ); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizerros.cpp:130:13: error: ‘camera’ was not declared in this scope if(!camera_) ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizerros.cpp:151:46: error: ‘camera’ was not declared in this scope const int u = staticcast ( camera->getFocalLength() x / z + camera_->getCx()); ^ In file included from /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:30:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:31, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h: In instantiation of ‘class v4r::RecognitionPipeline’: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:46:52: required from ‘class v4r::apps::ObjectRecognizer’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:22:50: required from ‘class v4r::RecognizerROS’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:299:42: required from here /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:60:39: error: no type named ‘ConstPtr’ in ‘class v4r::Source’ typename Source::ConstPtr mdb; ///< model data base ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:152:5: error: no type named ‘ConstPtr’ in ‘class v4r::Source’ setModelDatabase(const typename Source::ConstPtr &m_db) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:162:5: error: no type named ‘ConstPtr’ in ‘class v4r::Source’ getModelDatabase() const ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:31:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h: In instantiation of ‘class v4r::LocalRecognitionPipeline’: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:47:57: required from ‘class v4r::apps::ObjectRecognizer’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:22:50: required from ‘class v4r::RecognizerROS’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:299:42: required from here /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:143:40: error: no members matching ‘v4r::RecognitionPipeline::mdb’ in ‘class v4r::RecognitionPipeline’ using RecognitionPipeline::mdb; ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:144:40: error: no members matching ‘v4r::RecognitionPipeline::normalestimator’ in ‘class v4r::RecognitionPipeline’ using RecognitionPipeline::normalestimator; ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:148:40: error: no members matching ‘v4r::RecognitionPipeline::visparam’ in ‘class v4r::RecognitionPipeline’ using RecognitionPipeline::visparam; ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:9:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:27, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h: In instantiation of ‘class v4r::LocalFeatureMatcher’: /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:150:61: required from ‘class v4r::LocalRecognitionPipeline’ /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:47:57: required from ‘class v4r::apps::ObjectRecognizer’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:22:50: required from ‘class v4r::RecognizerROS’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:299:42: required from here /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:205:39: error: no type named ‘ConstPtr’ in ‘class v4r::Source’ typename Source::ConstPtr mdb; ///< model data base ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_featurematching.h:219:56: error: no type named ‘Ptr’ in ‘class v4r::LocalEstimator’ std::vector<typename LocalEstimator::Ptr > estimators; ///< estimators to compute features/signatures ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:220:59: error: no type named ‘Ptr’ in ‘class v4r::KeypointExtractor’ std::vector<typename KeypointExtractor::Ptr > keypointextractor; ///< set of keypoint extractors ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:349:5: error: no type named ‘Ptr’ in ‘class v4r::LocalEstimator’ addFeatureEstimator (const typename LocalEstimator::Ptr & feat) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:368:5: error: no type named ‘Ptr’ in ‘class v4r::KeypointExtractor’ addKeypointExtractor (typename KeypointExtractor::Ptr & ke) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:453:5: error: no type named ‘ConstPtr’ in ‘class v4r::Source’ setModelDatabase(const typename Source::ConstPtr &m_db) ^ In file included from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h: In instantiation of ‘class v4r::apps::ObjectRecognizer’: /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:22:50: required from ‘class v4r::RecognizerROS’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizerros.cpp:299:42: required from here /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:48:63: error: no type named ‘Ptr’ in ‘class v4r::HypothesisVerification<pcl::PointXYZRGB, pcl::PointXYZRGB>’ typename v4r::HypothesisVerification<PointT, PointT>::Ptr hv; ///< hypothesis verification object ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:27:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h: In instantiation of ‘class v4r::ObjectRecognitionVisualizer’: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:51:60: required from ‘class v4r::apps::ObjectRecognizer’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:22:50: required from ‘class v4r::RecognizerROS’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:299:42: required from here /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:36:39: error: no type named ‘ConstPtr’ in ‘class v4r::Source’ typename Source::ConstPtr mdb; ///< model data base ^ /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:195:5: error: no type named ‘ConstPtr’ in ‘class v4r::Source’ setModelDatabase(const typename Source::ConstPtr &m_db) ^ In file included from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h: In instantiation of ‘class v4r::apps::ObjectRecognizer’: /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:22:50: required from ‘class v4r::RecognizerROS’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:299:42: required from here /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:63:34: error: no type named ‘Ptr’ in ‘class v4r::Source’ typename Source::Ptr modeldatabase; ^ CMakeFiles/test_single_view_recognition.dir/src/test_single_view_recognizer.cpp.o: In function SingleViewRecognizerDemo::callSvRecognizerUsingFiles()': test_single_view_recognizer.cpp:(.text._ZN24SingleViewRecognizerDemo26callSvRecognizerUsingFilesEv[_ZN24SingleViewRecognizerDemo26callSvRecognizerUsingFilesEv]+0x45): undefined reference tov4r::io::getFilesInDirectory(std::string const&, std::string const&, bool)' collect2: error: ld returned 1 exit status make[2]: [/home/greg/catkin_ws/devel/lib/singleview_object_recognizer/test_single_view_recognition] Error 1 make[1]: [v4r_ros_wrappers/singleview_object_recognizer/CMakeFiles/test_single_view_recognition.dir/all] Error 2 /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp: In instantiation of ‘bool v4r::RecognizerROS::recognizeROS(recognition_srv_definitions::recognize::Request&, recognition_srv_definitions::recognize::Response&) [with PointT = pcl::PointXYZRGB; recognition_srv_definitions::recognize::Request = recognition_srvdefinitions::recognizeRequest<std::allocator >; recognition_srv_definitions::recognize::Response = recognition_srvdefinitions::recognizeResponse<std::allocator >]’: /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:284:59: required from ‘bool v4r::RecognizerROS::initialize(int, char) [with PointT = pcl::PointXYZRGB]’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:300:29: required from here /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:195:26: error: no match for ‘operator=’ (operand types are ‘std::vector<boost::shared_ptr<v4r::ObjectHypothesis >, std::allocator<boost::shared_ptr<v4r::ObjectHypothesis > > >’ and ‘std::vector’) verifiedhypotheses = mrec.recognize( scene );; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:195:26: note: candidates are: In file included from /usr/include/c++/4.8/vector:69:0, from /home/greg/catkin_ws/devel/include/recognition_srv_definitions/get_configurationRequest.h:10, from /home/greg/catkin_ws/devel/include/recognition_srv_definitions/get_configuration.h:11, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:1, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /usr/include/c++/4.8/bits/vector.tcc:160:5: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = boost::shared_ptr<v4r::ObjectHypothesis >; _Alloc = std::allocator<boost::shared_ptr<v4r::ObjectHypothesis > >] vector<_Tp, _Alloc>:: ^ /usr/include/c++/4.8/bits/vector.tcc:160:5: note: no known conversion for argument 1 from ‘std::vector’ to ‘const std::vector<boost::shared_ptr<v4r::ObjectHypothesis >, std::allocator<boost::shared_ptr<v4r::ObjectHypothesis > > >&’ In file included from /usr/include/c++/4.8/vector:64:0, from /home/greg/catkin_ws/devel/include/recognition_srv_definitions/get_configurationRequest.h:10, from /home/greg/catkin_ws/devel/include/recognition_srv_definitions/get_configuration.h:11, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:1, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /usr/include/c++/4.8/bits/stl_vector.h:439:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = boost::shared_ptr<v4r::ObjectHypothesis >; _Alloc = std::allocator<boost::shared_ptr<v4r::ObjectHypothesis > >] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^ /usr/include/c++/4.8/bits/stl_vector.h:439:7: note: no known conversion for argument 1 from ‘std::vector’ to ‘std::vector<boost::shared_ptr<v4r::ObjectHypothesis >, std::allocator<boost::shared_ptr<v4r::ObjectHypothesis > > >&&’ /usr/include/c++/4.8/bits/stl_vector.h:461:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = boost::shared_ptr<v4r::ObjectHypothesis >; _Alloc = std::allocator<boost::shared_ptr<v4r::ObjectHypothesis > >] operator=(initializer_list __l) ^ /usr/include/c++/4.8/bits/stl_vector.h:461:7: note: no known conversion for argument 1 from ‘std::vector’ to ‘std::initializer_list<boost::shared_ptr<v4r::ObjectHypothesis > >’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:199:44: error: ‘class v4r::ObjectHypothesis’ has no member named ‘modelid’ const std::string &model_id = voh->modelid; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizerros.cpp:200:42: error: ‘class v4r::ObjectHypothesis’ has no member named ‘transform’ const Eigen::Matrix4f &tf = voh->transform_; ^ Linking CXX executable /home/greg/catkin_ws/devel/lib/object_gestalt_segmentation/test_object_gestalt_segmentation CMakeFiles/test_object_gestalt_segmentation.dir/src/test_object_gestalt_segmentation.cpp.o: In function SegmenationDemo::callUsingFiles()': test_object_gestalt_segmentation.cpp:(.text._ZN15SegmenationDemo14callUsingFilesEv[_ZN15SegmenationDemo14callUsingFilesEv]+0x46): undefined reference tov4r::io::getFilesInDirectory(std::string const&, std::string const&, bool)' collect2: error: ld returned 1 exit status make[2]: ** [/home/greg/catkin_ws/devel/lib/object_gestalt_segmentation/test_object_gestalt_segmentation] Error 1 make[1]: [v4r_ros_wrappers/object_gestalt_segmentation/CMakeFiles/test_object_gestalt_segmentation.dir/all] Error 2 make[2]: [v4r_ros_wrappers/singleview_object_recognizer/CMakeFiles/recognition_service.dir/src/recognizer_ros.cpp.o] Error 1 make[1]: [v4r_ros_wrappers/singleview_object_recognizer/CMakeFiles/recognition_service.dir/all] Error 2 make: *** [all] Error 2 Invoking "make -j12 -l12" failed greg@kinectum:~/catkin_ws$ catkin_make Base path: /home/greg/catkin_ws Source space: /home/greg/catkin_ws/src Build space: /home/greg/catkin_ws/build Devel space: /home/greg/catkin_ws/devel Install space: /home/greg/catkin_ws/install

Running command: "make cmake_check_build_system" in "/home/greg/catkin_ws/build"

Running command: "make -j12 -l12" in "/home/greg/catkin_ws/build"

[ 0%] [ 0%] Built target std_msgs_generate_messages_py Built target geometry_msgs_generate_messages_py [ 0%] Built target std_msgs_generate_messages_lisp [ 0%] [ 0%] Built target geometry_msgs_generate_messages_cpp Built target geometry_msgs_generate_messages_lisp [ 0%] Built target std_msgs_generate_messages_cpp [ 0%] Built target _object_tracker_msg_definitions_generate_messages_check_deps_ObjectInfo [ 0%] [ 0%] Built target _object_perception_msgs_generate_messages_check_deps_classification Built target _camera_srv_definitions_generate_messages_check_deps_do_ba [ 0%] [ 0%] Built target _camera_srv_definitions_generate_messages_check_deps_save_tracking_results_to_file Built target sensor_msgs_generate_messages_py [ 0%] [ 0%] Built target _object_perception_msgs_generate_messages_check_deps_BBox Built target sensor_msgs_generate_messages_lisp [ 0%] Built target _camera_srv_definitions_generate_messages_check_deps_start_tracker [ 0%] [ 0%] Built target sensor_msgs_generate_messages_cpp Built target _camera_srv_definitions_generate_messages_check_deps_get_tracking_results [ 0%] Built target _camera_srv_definitions_generate_messages_check_deps_stop_tracker [ 0%] Built target _camera_srv_definitions_generate_messages_check_deps_visualize_compound [ 0%] Built target _camera_srv_definitions_generate_messages_check_deps_cleanup [ 0%] Built target _classifier_srv_definitions_generate_messages_check_deps_classify [ 0%] Built target _classifier_srv_definitions_generate_messages_check_deps_segment_and_classify [ 0%] Built target _classifier_srv_definitions_generate_messages_check_deps_mv_classify [ 0%] Built target _incremental_object_learning_srv_definitions_generate_messages_check_deps_visualize [ 0%] Built target _incremental_object_learning_srv_definitions_generate_messages_check_deps_save_model [ 0%] [ 0%] Built target _incremental_object_learning_srv_definitions_generate_messages_check_deps_learn_object Built target _incremental_object_learning_srv_definitions_generate_messages_check_deps_learn_object_inc [ 0%] [ 0%] Built target _incremental_object_learning_srv_definitions_generate_messages_check_deps_clear [ 0%] Built target _object_tracker_srv_definitions_generate_messages_check_deps_cleanup Built target _object_tracker_srv_definitions_generate_messages_check_deps_stop_tracker [ 0%] [ 0%] [ 0%] Built target _recognition_srv_definitions_generate_messages_check_deps_get_configuration Built target _object_tracker_srv_definitions_generate_messages_check_deps_start_tracker [ 0%] [ 0%] Built target _object_tracker_srv_definitions_generate_messages_check_deps_detect_and_track Built target _recognition_srv_definitions_generate_messages_check_deps_recognize Built target _object_tracker_srv_definitions_generate_messages_check_deps_change_tracking_model [ 0%] [ 0%] Built target pcl_msgs_generate_messages_py Built target roscpp_generate_messages_cpp [ 0%] [ 3%] [ 3%] Built target kinect2_registration Built target roscpp_generate_messages_lisp Built target rosgraph_msgs_generate_messages_cpp [ 3%] [ 3%] [ 3%] [ 3%] [ 3%] [ 3%] [ 3%] Built target rosgraph_msgs_generate_messages_py Built target _segmentation_srv_definitions_generate_messages_check_deps_segment Built target rosgraph_msgs_generate_messages_lisp Built target visualization_msgs_generate_messages_py Built target visualization_msgs_generate_messages_lisp Built target roscpp_generate_messages_py Built target visualization_msgs_generate_messages_cpp [ 3%] [ 3%] Built target _recognition_srv_definitions_generate_messages_check_deps_retrain_recognizer Built target _segmentation_srv_definitions_generate_messages_check_deps_MS_segment [ 3%] Built target pcl_msgs_generate_messages_cpp [ 3%] Built target topic_tools_generate_messages_py [ 3%] [ 3%] Built target pcl_msgs_generate_messages_lisp [ 4%] [ 4%] Built target dynamic_reconfigure_gencfg Built target kinect2_calibration Built target kinect2_bridge [ 5%] [ 5%] [ 5%] [ 5%] [ 5%] Built target kinect2_bridge_nodelet Built target tf2_msgs_generate_messages_cpp Built target tf2_msgs_generate_messages_lisp Built target actionlib_msgs_generate_messages_cpp Built target dynamic_reconfigure_generate_messages_py [ 5%] [ 6%] Built target tf_generate_messages_py Built target object_gestalt_segmentation [ 6%] [ 6%] [ 6%] [ 7%] Built target nodelet_generate_messages_cpp Built target actionlib_generate_messages_cpp Built target actionlib_generate_messages_lisp Built target kinect2_viewer [ 7%] [ 7%] [ 7%] [ 7%] [ 7%] [ 7%] Built target nodelet_generate_messages_py Built target tf_generate_messages_cpp Built target nodelet_generate_messages_lisp Built target dynamic_reconfigure_generate_messages_cpp Built target dynamic_reconfigure_generate_messages_lisp Built target tf_generate_messages_lisp [ 7%] Built target bond_generate_messages_lisp [ 7%] [ 7%] Built target bond_generate_messages_py Built target actionlib_msgs_generate_messages_lisp [ 7%] [ 7%] [ 7%] Built target actionlib_generate_messages_py Built target actionlib_msgs_generate_messages_py Built target bond_generate_messages_cpp [ 7%] [ 7%] [ 7%] [ 7%] [ 7%] [ 7%] [ 7%] [ 10%] Built target std_srvs_generate_messages_py [ 11%] Built target tf2_msgs_generate_messages_py Built target pcl_ros_gencfg Built target topic_tools_generate_messages_lisp Built target std_srvs_generate_messages_lisp Built target topic_tools_generate_messages_cpp Built target std_srvs_generate_messages_cpp Built target object_perception_msgs_generate_messages_lisp Built target object_perception_msgs_generate_messages_py [ 13%] [ 15%] [ 17%] [ 17%] [ 23%] [ 29%] Built target object_perception_msgs_generate_messages_cpp Built target object_tracker_msg_definitions_generate_messages_cpp Built target object_tracker_msg_definitions_generate_messages_lisp Built target object_tracker_msg_definitions_generate_messages_py Built target camera_srv_definitions_generate_messages_py Built target camera_srv_definitions_generate_messages_lisp [ 36%] Built target camera_srv_definitions_generate_messages_cpp [ 39%] [ 42%] [ 45%] [ 50%] [ 55%] Built target classifier_srv_definitions_generate_messages_lisp Built target classifier_srv_definitions_generate_messages_py Built target incremental_object_learning_srv_definitions_generate_messages_lisp Built target incremental_object_learning_srv_definitions_generate_messages_py Built target incremental_object_learning_srv_definitions_generate_messages_cpp [ 64%] [ 64%] [ 69%] [ 74%] [ 74%] [ 77%] Built target object_tracker_srv_definitions_generate_messages_py Built target object_tracker_srv_definitions_generate_messages_lisp Built target object_tracker_srv_definitions_generate_messages_cpp Built target recognition_srv_definitions_generate_messages_cpp Built target recognition_srv_definitions_generate_messages_lisp Built target recognition_srv_definitions_generate_messages_py [ 79%] [ 80%] [ 82%] Built target segmentation_srv_definitions_generate_messages_lisp Built target segmentation_srv_definitions_generate_messages_cpp Built target segmentation_srv_definitions_generate_messages_py [ 82%] [ 82%] [ 82%] Built target object_perception_msgs_generate_messages Built target camera_srv_definitions_generate_messages [ 82%] Built target object_tracker_msg_definitions_generate_messages [ 82%] Built target incremental_object_learning_srv_definitions_generate_messages Built target object_tracker_srv_definitions_generate_messages [ 86%] Built target classifier_srv_definitions_generate_messages_cpp [ 87%] Built target temporal_filtering [ 87%] [ 87%] Built target recognition_srv_definitions_generate_messages Built target segmentation_srv_definitions_generate_messages Linking CXX executable /home/greg/catkin_ws/devel/lib/camera_tracker/camera_tracker_service Linking CXX executable /home/greg/catkin_ws/devel/lib/object_gestalt_segmentation/test_object_gestalt_segmentation [ 88%] Built target incremental_object_learning_service [ 89%] Linking CXX executable /home/greg/catkin_ws/devel/lib/singleview_object_recognizer/test_single_view_recognition Linking CXX executable /home/greg/catkin_ws/devel/lib/incremental_object_learning/test_incremental_object_learning_service Linking CXX executable /home/greg/catkin_ws/devel/lib/segmentation/test_segmentation Building CXX object v4r_ros_wrappers/singleview_object_recognizer/CMakeFiles/recognition_service.dir/src/recognizer_ros.cpp.o [ 89%] Built target classifier_srv_definitions_generate_messages [ 90%] Linking CXX executable /home/greg/catkin_ws/devel/lib/segment_and_classify/segement_and_classify_test Building CXX object v4r_ros_wrappers/segmentation/CMakeFiles/pcl_segmentation_service.dir/src/pcl_segmentation_ros.cpp.o [ 91%] Building CXX object v4r_ros_wrappers/object_tracker/CMakeFiles/object_tracker_service.dir/src/object_tracker.cpp.o Linking CXX executable /home/greg/catkin_ws/devel/lib/object_detection_and_tracking/detect_and_track_object [ 92%] Linking CXX executable /home/greg/catkin_ws/devel/lib/object_classifier/object_classifier_demo_node Building CXX object v4r_ros_wrappers/object_classifier/CMakeFiles/object_classifier_node.dir/src/global_classifier.cpp.o [ 93%] Built target detect_and_track_object CMakeFiles/test_incremental_object_learning_service.dir/src/test_dol_from_files.cpp.o: In function IOLDemoFromFiles::callIOL()': test_dol_from_files.cpp:(.text._ZN16IOLDemoFromFiles7callIOLEv[_ZN16IOLDemoFromFiles7callIOLEv]+0x5e): undefined reference tov4r::io::getFilesInDirectory(std::string const&, std::string const&, bool)' test_dol_from_files.cpp:(.text._ZN16IOLDemoFromFiles7callIOLEv[_ZN16IOLDemoFromFiles7callIOLEv]+0xab): undefined reference to v4r::io::getFilesInDirectory(std::string const&, std::string const&, bool)' test_dol_from_files.cpp:(.text._ZN16IOLDemoFromFiles7callIOLEv[_ZN16IOLDemoFromFiles7callIOLEv]+0xf3): undefined reference tov4r::io::getFilesInDirectory(std::string const&, std::string const&, bool)' collect2: error: ld returned 1 exit status make[2]: [/home/greg/catkin_ws/devel/lib/incremental_object_learning/test_incremental_object_learning_service] Error 1 make[1]: [v4r_ros_wrappers/incremental_object_learning/CMakeFiles/test_incremental_object_learning_service.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... CMakeFiles/test_segmentation.dir/src/test_segmentation.cpp.o: In function SegmenationDemo::callUsingFiles()': test_segmentation.cpp:(.text._ZN15SegmenationDemo14callUsingFilesEv[_ZN15SegmenationDemo14callUsingFilesEv]+0x45): undefined reference tov4r::io::getFilesInDirectory(std::string const&, std::string const&, bool)' collect2: error: ld returned 1 exit status make[2]: [/home/greg/catkin_ws/devel/lib/segmentation/test_segmentation] Error 1 make[1]: [v4r_ros_wrappers/segmentation/CMakeFiles/test_segmentation.dir/all] Error 2 CMakeFiles/segement_and_classify_test.dir/src/test.cpp.o: In function SegmenationAndClassifyDemo::callUsingFiles()': test.cpp:(.text._ZN26SegmenationAndClassifyDemo14callUsingFilesEv[_ZN26SegmenationAndClassifyDemo14callUsingFilesEv]+0x41): undefined reference tov4r::io::getFilesInDirectory(std::string const&, std::string const&, bool)' collect2: error: ld returned 1 exit status make[2]: [/home/greg/catkin_ws/devel/lib/segment_and_classify/segement_and_classify_test] Error 1 make[1]: [v4r_ros_wrappers/segment_and_classify/CMakeFiles/segement_and_classify_test.dir/all] Error 2 CMakeFiles/test_single_view_recognition.dir/src/test_single_view_recognizer.cpp.o: In function SingleViewRecognizerDemo::callSvRecognizerUsingFiles()': test_single_view_recognizer.cpp:(.text._ZN24SingleViewRecognizerDemo26callSvRecognizerUsingFilesEv[_ZN24SingleViewRecognizerDemo26callSvRecognizerUsingFilesEv]+0x45): undefined reference tov4r::io::getFilesInDirectory(std::string const&, std::string const&, bool)' collect2: error: ld returned 1 exit status make[2]: [/home/greg/catkin_ws/devel/lib/singleview_object_recognizer/test_single_view_recognition] Error 1 make[1]: [v4r_ros_wrappers/singleview_object_recognizer/CMakeFiles/test_single_view_recognition.dir/all] Error 2 CMakeFiles/test_object_gestalt_segmentation.dir/src/test_object_gestalt_segmentation.cpp.o: In function SegmenationDemo::callUsingFiles()': test_object_gestalt_segmentation.cpp:(.text._ZN15SegmenationDemo14callUsingFilesEv[_ZN15SegmenationDemo14callUsingFilesEv]+0x46): undefined reference tov4r::io::getFilesInDirectory(std::string const&, std::string const&, bool)' collect2: error: ld returned 1 exit status make[2]: [/home/greg/catkin_ws/devel/lib/object_gestalt_segmentation/test_object_gestalt_segmentation] Error 1 make[1]: [v4r_ros_wrappers/object_gestalt_segmentation/CMakeFiles/test_object_gestalt_segmentation.dir/all] Error 2 [ 93%] Built target object_classifier_demo_node CMakeFiles/camera_tracker_service.dir/src/camera_tracker.cpp.o: In function CamTracker::saveTrackingResultsToFile(camera_srv_definitions::save_tracking_results_to_fileRequest_<std::allocator<void> >&, camera_srv_definitions::save_tracking_results_to_fileResponse_<std::allocator<void> >&)': camera_tracker.cpp:(.text+0x3c4a): undefined reference tov4r::io::createDirIfNotExist(std::string const&)' CMakeFiles/camera_tracker_service.dir/src/camera_tracker.cpp.o: In function CamTracker::createObjectCloudFiltered(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZRGB> >&)': camera_tracker.cpp:(.text+0x46d8): undefined reference tov4r::NguyenNoiseModel::NguyenNoiseModel(v4r::NguyenNoiseModel::Parameter const&)' collect2: error: ld returned 1 exit status make[2]: [/home/greg/catkin_ws/devel/lib/camera_tracker/camera_tracker_service] Error 1 make[1]: * [v4r_ros_wrappers/camera_tracker/CMakeFiles/camera_tracker_service.dir/all] Error 2 In file included from /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:1:0: /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/include/pcl_segmentation_ros.h:20:17: error: ‘PointIndices’ is not a member of ‘pcl’ std::vector foundclusters; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/include/pcl_segmentation_ros.h:20:17: error: ‘PointIndices’ is not a member of ‘pcl’ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/include/pcl_segmentation_ros.h:20:34: error: template argument 1 is invalid std::vector foundclusters; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/include/pcl_segmentation_ros.h:20:34: error: template argument 2 is invalid In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:25:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/apps/include/v4r/apps/CloudSegmenter.h:123:19: error: ‘NormalEstimator’ in namespace ‘v4r’ does not name a type typename v4r::NormalEstimator::Ptr normalestimator; ^ /home/greg/v4r/modules/apps/include/v4r/apps/CloudSegmenter.h:123:34: error: expected unqualified-id before ‘<’ token typename v4r::NormalEstimator::Ptr normalestimator; ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:34:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/features/include/v4r/features/global_simple_shape_estimator.h: In constructor ‘v4r::SimpleShapeEstimator::SimpleShapeEstimator()’: /home/greg/v4r/modules/features/include/v4r/features/global_simple_shape_estimator.h:51:51: error: ‘SIMPLE_SHAPE’ is not a member of ‘v4r::FeatureType’ : GlobalEstimator("simple_shape", FeatureType::SIMPLE_SHAPE, 3) ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:35:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/features/include/v4r/features/global_color_estimator.h: In constructor ‘v4r::GlobalColorEstimator::GlobalColorEstimator(const v4r::GlobalColorEstimatorParameter&)’: /home/greg/v4r/modules/features/include/v4r/features/global_color_estimator.h:113:51: error: ‘GLOBAL_COLOR’ is not a member of ‘v4r::FeatureType’ : GlobalEstimator("global_color", FeatureType::GLOBAL_COLOR), ^ In file included from /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:14:0: /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/include/globalclassifier.h:24:14: error: expected nested-name-specifier before ‘GlobalRecognizer’ typename GlobalRecognizer::Ptr rec; ///< recognizer ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/include/global_classifier.h:24:14: error: expected ‘;’ at end of member declaration /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/include/globalclassifier.h:24:30: error: expected unqualified-id before ‘<’ token typename GlobalRecognizer::Ptr rec; ///< recognizer ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:36:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/ourcvfh_estimator.h: At global scope: /opt/ros/indigo/include/v4r/features/ourcvfh_estimator.h:20:73: error: wrong number of template arguments (2, should be 1) class OURCVFHEstimator : public GlobalEstimator<PointInT, FeatureT> ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:29:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/global_estimator.h:35:23: error: provided for ‘template class v4r::GlobalEstimator’ class V4R_EXPORTS GlobalEstimator { ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:36:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/ourcvfh_estimator.h:25:49: error: wrong number of template arguments (2, should be 1) using GlobalEstimator<PointInT, FeatureT>::normalestimator; ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:29:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/global_estimator.h:35:23: error: provided for ‘template class v4r::GlobalEstimator’ class V4R_EXPORTS GlobalEstimator { ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:36:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/ourcvfhestimator.h:26:49: error: wrong number of template arguments (2, should be 1) using GlobalEstimator<PointInT, FeatureT>::normals; ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:29:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/global_estimator.h:35:23: error: provided for ‘template class v4r::GlobalEstimator’ class V4R_EXPORTS GlobalEstimator { ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:36:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/ourcvfh_estimator.h: In member function ‘virtual bool v4r::OURCVFHEstimator<PointInT, FeatureT>::estimate(const PointInTPtr&, v4r::OURCVFHEstimator<PointInT, FeatureT>::PointInTPtr&, typename pcl::PointCloud::CloudVectorType&, std::vector<Eigen::Matrix<float, 3, 1> >&)’: /opt/ros/indigo/include/v4r/features/ourcvfh_estimator.h:154:16: error: ‘normalestimator’ was not declared in this scope if (!normalestimator) ^ /opt/ros/indigo/include/v4r/features/ourcvfhestimator.h:175:11: error: ‘normals’ was not declared in this scope normals_.reset (new pcl::PointCloud); ^ /opt/ros/indigo/include/v4r/features/ourcvfh_estimator.h:177:13: error: ‘normalestimator’ was not declared in this scope normalestimator->estimate (in, processed, normals_); ^ /opt/ros/indigo/include/v4r/features/ourcvfh_estimator.h:191:15: error: ‘normalestimator’ was not declared in this scope normalestimator->estimate (filtered, processed, normals_); ^ /opt/ros/indigo/include/v4r/features/ourcvfh_estimator.h:229:32: error: ‘normalestimator’ was not declared in this scope float radius = normalestimator->normalradius; ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h: In constructor ‘v4r::GlobalConcatEstimatorParameter::GlobalConcatEstimatorParameter()’: /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:58:43: error: ‘SIMPLE_SHAPE’ is not a member of ‘v4r::FeatureType’ feature_type ( FeatureType::ESF | FeatureType::SIMPLE_SHAPE | FeatureType::GLOBAL_COLOR ) ^ /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:58:71: error: ‘GLOBAL_COLOR’ is not a member of ‘v4r::FeatureType’ feature_type ( FeatureType::ESF | FeatureType::SIMPLE_SHAPE | FeatureType::GLOBAL_COLOR ) ^ /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h: In constructor ‘v4r::GlobalConcatEstimatorParameter::GlobalConcatEstimatorParameter(const string&)’: /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:82:123: error: ‘filesystem’ is not a member of ‘boost’ throw std::runtime_error("Given config file " + filename + " does not exist! Current working directory is " + boost::filesystem::current_path().string() + "."); ^ /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h: At global scope: /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:150:37: error: wrong number of template arguments (1, should be 2) typename OURCVFHEstimator::Ptr ourcvfhestimator; ^ In file included from /home/greg/v4r/modules/features/include/v4r/features/global_concatenated.h:36:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:41, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/ourcvfh_estimator.h:20:13: error: provided for ‘template<class PointInT, class FeatureT> class v4r::OURCVFHEstimator’ class OURCVFHEstimator : public GlobalEstimator<PointInT, FeatureT> ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h: In constructor ‘v4r::apps::ObjectRecognizerParameter::ObjectRecognizerParameter()’: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:119:56: error: ‘SIMPLE_SHAPE’ is not a member of ‘v4r::FeatureType’ global_featuretypes ( { FeatureType::ESF | FeatureType::SIMPLE_SHAPE | FeatureType::GLOBAL_COLOR, FeatureType::ALEXNET } ), ^ /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:119:84: error: ‘GLOBAL_COLOR’ is not a member of ‘v4r::FeatureType’ global_featuretypes ( { FeatureType::ESF | FeatureType::SIMPLE_SHAPE | FeatureType::GLOBAL_COLOR, FeatureType::ALEXNET } ), ^ /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:119:111: error: ‘ALEXNET’ is not a member of ‘v4r::FeatureType’ global_featuretypes ( { FeatureType::ESF | FeatureType::SIMPLE_SHAPE | FeatureType::GLOBAL_COLOR, FeatureType::ALEXNET } ), ^ /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:122:40: error: ‘NormalEstimatorType’ has not been declared normal_computationmethod ( NormalEstimatorType::PCL_INTEGRAL_NORMAL ), ^ /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:138:23: error: no matching function for call to ‘std::vector::vector()’ shotknn (0) ^ /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:138:23: note: candidates are: In file included from /usr/include/c++/4.8/vector:64:0, from /home/greg/catkin_ws/devel/include/recognition_srv_definitions/get_configurationRequest.h:10, from /home/greg/catkin_ws/devel/include/recognition_srv_definitions/get_configuration.h:11, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:1, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /usr/include/c++/4.8/bits/stl_vector.h:392:9: note: template<class _InputIterator, class> std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) vector(_InputIterator first, _InputIterator last, ^ /usr/include/c++/4.8/bits/stl_vector.h:392:9: note: template argument deduction/substitution failed: In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:138:23: note: candidate expects 3 arguments, 1 provided shotknn (0) ^ In file included from /usr/include/c++/4.8/vector:64:0, from /home/greg/catkin_ws/devel/include/recognition_srv_definitions/get_configurationRequest.h:10, from /home/greg/catkin_ws/devel/include/recognition_srv_definitions/get_configuration.h:11, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:1, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /usr/include/c++/4.8/bits/stl_vector.h:364:7: note: std::vector<_Tp, _Alloc>::vector(std::initializer_list<_Tp>, const allocator_type&) [with _Tp = int; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::allocator_type = std::allocator] vector(initializer_list l, ^ /usr/include/c++/4.8/bits/stl_vector.h:364:7: note: no known conversion for argument 1 from ‘’ to ‘std::initializer_list’ /usr/include/c++/4.8/bits/stl_vector.h:340:7: note: std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>&&, const allocator_type&) [with _Tp = int; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::allocator_type = std::allocator] vector(vector&& rv, const allocator_type& m) ^ /usr/include/c++/4.8/bits/stl_vector.h:340:7: note: candidate expects 2 arguments, 1 provided /usr/include/c++/4.8/bits/stl_vector.h:331:7: note: std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&, const allocator_type&) [with _Tp = int; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::allocator_type = std::allocator] vector(const vector& x, const allocator_type& a) ^ /usr/include/c++/4.8/bits/stl_vector.h:331:7: note: candidate expects 2 arguments, 1 provided /usr/include/c++/4.8/bits/stl_vector.h:327:7: note: std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>&&) [with _Tp = int; _Alloc = std::allocator] vector(vector&& x) noexcept ^ /usr/include/c++/4.8/bits/stl_vector.h:327:7: note: no known conversion for argument 1 from ‘’ to ‘std::vector&&’ /usr/include/c++/4.8/bits/stl_vector.h:310:7: note: std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = int; _Alloc = std::allocator] vector(const vector& x) ^ /usr/include/c++/4.8/bits/stl_vector.h:310:7: note: no known conversion for argument 1 from ‘’ to ‘const std::vector&’ /usr/include/c++/4.8/bits/stl_vector.h:281:7: note: std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = int; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = int; std::vector<_Tp, _Alloc>::allocator_type = std::allocator] vector(size_type __n, const value_type& value, ^ /usr/include/c++/4.8/bits/stl_vector.h:281:7: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.8/bits/stl_vector.h:269:7: note: std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const allocator_type&) [with _Tp = int; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::allocator_type = std::allocator] vector(size_type n, const allocator_type& __a = allocator_type()) ^ /usr/include/c++/4.8/bits/stl_vector.h:269:7: note: no known conversion for argument 1 from ‘’ to ‘std::vector::size_type {aka long unsigned int}’ /usr/include/c++/4.8/bits/stl_vector.h:256:7: note: std::vector<_Tp, _Alloc>::vector(const allocator_type&) [with _Tp = int; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::allocator_type = std::allocator] vector(const allocator_type& a) ^ /usr/include/c++/4.8/bits/stl_vector.h:256:7: note: no known conversion for argument 1 from ‘’ to ‘const allocator_type& {aka const std::allocator&}’ /usr/include/c++/4.8/bits/stl_vector.h:248:7: note: std::vector<_Tp, _Alloc>::vector() [with _Tp = int; _Alloc = std::allocator] vector() ^ /usr/include/c++/4.8/bits/stl_vector.h:248:7: note: candidate expects 0 arguments, 1 provided In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:26:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h: In member function ‘void v4r::apps::ObjectRecognizerParameter::load(const string&)’: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizerParameter.h:176:123: error: ‘filesystem’ is not a member of ‘boost’ throw std::runtime_error("Given config file " + filename + " does not exist! Current working directory is " + boost::filesystem::current_path().string() + "."); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp: In member function ‘bool v4r::SegmenterROS::respondSrvCall(segmentation_srv_definitions::segment::Request&, segmentation_srv_definitions::segment::Response&) const’: /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:54:41: error: request for member ‘size’ in ‘((const v4r::SegmenterROS*)this)->v4r::SegmenterROS::foundclusters’, which is of non-class type ‘const int’ for(size_t i=0; i < foundclusters.size(); i++) ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:56:61: error: invalid types ‘const int[std::size_t {aka long unsigned int}]’ for array subscript const pcl::PointIndices &indices = foundclusters[i]; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:79:5: error: ‘PCLOpenCVConverter’ is not a member of ‘v4r’ v4r::PCLOpenCVConverter img_conv; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:79:35: error: expected primary-expression before ‘>’ token v4r::PCLOpenCVConverter img_conv; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:79:37: error: ‘img_conv’ was not declared in this scope v4r::PCLOpenCVConverter img_conv; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp: In member function ‘void v4r::SegmenterROS::initialize(int, char)’: /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:94:18: error: ‘DominantPlane’ is not a member of ‘v4r::SegmentationType’ int method = v4r::SegmentationType::DominantPlane; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp: In member function ‘bool v4r::ClassifierROS::classify(classifier_srv_definitions::classify::Request&, classifier_srv_definitions::classify::Response&)’: /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:75:18: error: expected nested-name-specifier before ‘GlobalRecognizer’ typename GlobalRecognizer::Cluster::Ptr cluster ( ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:75:18: error: expected ‘(’ before ‘GlobalRecognizer’ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:75:18: error: expected ‘;’ before ‘GlobalRecognizer’ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/globalclassifier.cpp:77:9: error: ‘rec’ was not declared in this scope rec->setInputCloud( cloud ); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/globalclassifier.cpp:78:27: error: ‘cluster’ was not declared in this scope rec->setCluster( cluster ); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/globalclassifier.cpp:80:66: error: template argument 1 is invalid const std::vector<typename ObjectHypothesis::Ptr > ohs = rec->getHypotheses(); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:80:66: error: template argument 2 is invalid /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/globalclassifier.cpp:80:72: error: invalid type in declaration before ‘=’ token const std::vector<typename ObjectHypothesis::Ptr > ohs = rec->getHypotheses(); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:85:38: error: invalid type in declaration before ‘<’ token for(typename ObjectHypothesis::Ptr oh : ohs) ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:85:38: error: expected ‘;’ before ‘<’ token /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:85:38: error: expected primary-expression before ‘<’ token /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:85:45: error: expected primary-expression before ‘>’ token for(typename ObjectHypothesis::Ptr oh : ohs) ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:85:46: error: ‘::Ptr’ has not been declared for(typename ObjectHypothesis::Ptr oh : ohs) ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:85:46: note: suggested alternatives: In file included from /usr/include/opencv/cv.h:64:0, from /opt/ros/indigo/include/v4r/ml/svmWrapper.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:19: /usr/include/opencv2/core/core.hpp:1267:30: note: ‘cv::Ptr’ template class Ptr ^ /usr/include/opencv2/core/core.hpp:1267:30: note: ‘cv::Ptr’ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:85:52: error: expected ‘;’ before ‘oh’ for(typename ObjectHypothesis::Ptr oh : ohs) ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:85:52: error: ‘oh’ was not declared in this scope /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:85:55: error: expected ‘)’ before ‘:’ token for(typename ObjectHypothesis::Ptr oh : ohs) ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:85:55: error: expected primary-expression before ‘:’ token /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:85:55: error: expected ‘;’ before ‘:’ token /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:172:29: error: invalid types ‘const int[int]’ for array subscript marker_text << ohs[0]->modelid << ohs[0]->confidence_; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:172:50: error: invalid types ‘const int[int]’ for array subscript marker_text << ohs[0]->modelid << ohs[0]->confidence_; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp: In member function ‘void v4r::ClassifierROS::initialize(int, char)’: /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/globalclassifier.cpp:223:5: error: ‘rec’ was not declared in this scope rec_.reset(new GlobalRecognizer); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/globalclassifier.cpp:223:20: error: expected type-specifier before ‘GlobalRecognizer’ rec.reset(new GlobalRecognizer); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:228:5: error: ‘SVMParameter’ was not declared in this scope SVMParameter svmParam; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:228:18: error: expected ‘;’ before ‘svmParam’ SVMParameter svmParam; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/globalclassifier.cpp:229:5: error: ‘svmParam’ was not declared in this scope svmParam.svm.kernel_type = ::RBF; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:234:5: error: ‘svmClassifier’ has not been declared svmClassifier::Ptr classifier (new svmClassifier (svmParam)); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:234:24: error: expected ‘;’ before ‘classifier’ svmClassifier::Ptr classifier (new svmClassifier (svmParam)); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/globalclassifier.cpp:235:25: error: ‘classifier’ was not declared in this scope rec->setClassifier(classifier); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp: In instantiation of ‘bool v4r::SegmenterROS::do_segmentation_ROS(segmentation_srv_definitions::segment::Request&, segmentation_srv_definitions::segment::Response&) [with PointT = pcl::PointXYZRGB; segmentation_srv_definitions::segment::Request = segmentation_srvdefinitions::segmentRequest<std::allocator >; segmentation_srv_definitions::segment::Response = segmentation_srvdefinitions::segmentResponse<std::allocator >]’: /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:117:62: required from ‘void v4r::SegmenterROS::initialize(int, char) [with PointT = pcl::PointXYZRGB]’ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:129:28: required from here /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:40:5: error: no matching function for call to ‘v4r::Segmenter::getSegmentIndices(int&)’ cast_segmenter->getSegmentIndices( foundclusters ); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:40:5: note: candidate is: In file included from /home/greg/v4r/modules/segmentation/include/v4r/segmentation/all_headers.h:27:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/include/pcl_segmentation_ros.h:3, from /home/greg/catkin_ws/src/v4r_ros_wrappers/segmentation/src/pcl_segmentation_ros.cpp:1: /home/greg/v4r/modules/segmentation/include/v4r/segmentation/segmenter.h:153:5: note: void v4r::Segmenter::getSegmentIndices(std::vector<std::vector >&) const [with PointT = pcl::PointXYZRGB] getSegmentIndices ( std::vector<std::vector > & indices ) const ^ /home/greg/v4r/modules/segmentation/include/v4r/segmentation/segmenter.h:153:5: note: no known conversion for argument 1 from ‘int’ to ‘std::vector<std::vector >&’ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp: In instantiation of ‘void v4r::ClassifierROS::initialize(int, char**) [with PointT = pcl::PointXYZ]’: /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:253:42: required from here /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:219:34: error: no type named ‘Ptr’ in ‘class v4r::Source’ typename Source::Ptr model_database (new Source ( models_dir, true ) ); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:220:41: error: no type named ‘Ptr’ in ‘class v4r::ESFEstimation’ typename ESFEstimation::Ptr estimator (new ESFEstimation); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_classifier/src/global_classifier.cpp:221:43: error: no type named ‘Ptr’ in ‘class v4r::GlobalEstimator’ typename GlobalEstimator::Ptr cast_estimator = boost::dynamic_pointer_cast<ESFEstimation > (estimator); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_tracker/src/object_tracker.cpp: In member function ‘void v4r::ObjTrackerMono::trackNewCloud(const PointCloud2Ptr&)’: /home/greg/catkin_ws/src/v4r_ros_wrappers/object_tracker/src/object_tracker.cpp:234:5: error: ‘PCLOpenCVConverter’ is not a member of ‘v4r’ v4r::PCLOpenCVConverter img_conv; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_tracker/src/object_tracker.cpp:234:45: error: expected primary-expression before ‘>’ token v4r::PCLOpenCVConverter img_conv; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/object_tracker/src/object_tracker.cpp:234:47: error: ‘img_conv’ was not declared in this scope v4r::PCLOpenCVConverter img_conv; ^ In file included from /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:38:0, from /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:9, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:27, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/keypoints/include/v4r/keypoints/keypoint_extractor.h: At global scope: /home/greg/v4r/modules/keypoints/include/v4r/keypoints/keypoint_extractor.h:35:19: error: redefinition of ‘class v4r::KeypointExtractor’ class V4R_EXPORTS KeypointExtractor ^ In file included from /opt/ros/indigo/include/v4r/features/uniform_sampling_extractor.h:28:0, from /opt/ros/indigo/include/v4r/features/local_estimator.h:29, from /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:36, from /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:9, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:27, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/keypoint_extractor.h:35:19: error: previous definition of ‘class v4r::KeypointExtractor’ class V4R_EXPORTS KeypointExtractor ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:9:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:27, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:206:14: error: expected nested-name-specifier before ‘NormalEstimator’ typename NormalEstimator::Ptr normalestimator; ///< normal estimator used for computing surface normals (currently only used at training) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:206:14: error: expected ‘;’ at end of member declaration /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:206:29: error: expected unqualified-id before ‘<’ token typename NormalEstimator::Ptr normalestimator; ///< normal estimator used for computing surface normals (currently only used at training) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_featurematching.h:217:27: error: ‘LocalObjectHypothesis’ was not declared in this scope std::map<std::string, LocalObjectHypothesis > corrs; ///< correspondences for each object model (model id, correspondences) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_featurematching.h:217:55: error: template argument 2 is invalid std::map<std::string, LocalObjectHypothesis > corrs; ///< correspondences for each object model (model id, correspondences) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:217:55: error: template argument 4 is invalid /home/greg/v4r/modules/recognition/include/v4r/recognition/local_featurematching.h:217:57: error: expected unqualified-id before ‘>’ token std::map<std::string, LocalObjectHypothesis > corrs; ///< correspondences for each object model (model id, correspondences) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:226:5: error: ‘PCLVisualizationParams’ does not name a type PCLVisualizationParams::ConstPtr visparam; ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:421:27: error: ‘LocalObjectHypothesis’ was not declared in this scope std::map<std::string, LocalObjectHypothesis> ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:421:49: error: template argument 2 is invalid std::map<std::string, LocalObjectHypothesis> ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:421:49: error: template argument 4 is invalid /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:421:55: error: expected unqualified-id before ‘>’ token std::map<std::string, LocalObjectHypothesis> ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:463:39: error: expected nested-name-specifier before ‘NormalEstimator’ setNormalEstimator(const typename NormalEstimator::Ptr &normal_estimator) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:463:54: error: expected ‘,’ or ‘...’ before ‘<’ token setNormalEstimator(const typename NormalEstimator::Ptr &normal_estimator) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:479:37: error: ‘PCLVisualizationParams’ does not name a type setVisualizationParameter(const PCLVisualizationParams::ConstPtr &vis_param) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:479:70: error: expected unqualified-id before ‘&’ token setVisualizationParameter(const PCLVisualizationParams::ConstPtr &vis_param) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:479:70: error: expected ‘)’ before ‘&’ token /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:479:70: error: expected ‘;’ at end of member declaration /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:479:71: error: ‘vis_param’ does not name a type setVisualizationParameter(const PCLVisualizationParams::ConstPtr &vis_param) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h: In member function ‘void v4r::LocalFeatureMatcher::setNormalEstimator(int)’: /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:465:9: error: ‘normalestimator’ was not declared in this scope normalestimator = normal_estimator; ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:465:29: error: ‘normal_estimator’ was not declared in this scope normalestimator = normal_estimator; ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:10:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:27, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/recognition/include/v4r/recognition/object_hypothesis.h: At global scope: /home/greg/v4r/modules/recognition/include/v4r/recognition/object_hypothesis.h:43:19: error: template argument required for ‘class ObjectHypothesis’ class V4R_EXPORTS ObjectHypothesis ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:10:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:27, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/recognition/include/v4r/recognition/objecthypothesis.h:141:14: error: ‘template class v4r::ObjectHypothesis’ used without template parameters typename ObjectHypothesis::Ptr oh; ///< object hypothesis ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/object_hypothesis.h:167:33: error: ‘template class v4r::ObjectHypothesis’ used without template parameters HVRecognitionModel(typename ObjectHypothesis::Ptr &oh) : ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/objecthypothesis.h:237:48: error: template argument 1 is invalid std::vector ohs; ///< Each hypothesis can have several object model (e.g. global recognizer tries to macht several object instances for a clustered point cloud segment). ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/object_hypothesis.h:237:48: error: template argument 2 is invalid In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:27:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:39:5: error: ‘PCLVisualizationParams’ does not name a type PCLVisualizationParams::ConstPtr visparam; ///< visualization parameters ^ /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:97:40: error: ‘PCLVisualizationParams’ does not name a type ObjectRecognitionVisualizer( const PCLVisualizationParams::ConstPtr &vis_param) ^ /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:97:73: error: expected unqualified-id before ‘&’ token ObjectRecognitionVisualizer( const PCLVisualizationParams::ConstPtr &vis_param) ^ /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:97:73: error: expected ‘)’ before ‘&’ token /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:97:73: error: constructors may not be ref-qualified /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:97:73: error: expected ‘;’ at end of member declaration /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:97:74: error: ‘vis_param’ does not name a type ObjectRecognitionVisualizer( const PCLVisualizationParams::ConstPtr &vis_param) ^ /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h: In constructor ‘v4r::ObjectRecognitionVisualizer::ObjectRecognitionVisualizer()’: /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:104:9: error: ‘PCLVisualizationParams’ has not been declared PCLVisualizationParams::Ptr vis_param ( new PCLVisualizationParams() ); ^ /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:104:37: error: expected ‘;’ before ‘vis_param’ PCLVisualizationParams::Ptr vis_param ( new PCLVisualizationParams() ); ^ /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:105:9: error: ‘visparam’ was not declared in this scope visparam = vis_param; ^ /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:105:22: error: ‘vis_param’ was not declared in this scope visparam = vis_param; ^ In file included from /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:30:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:31, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h: At global scope: /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:62:14: error: expected nested-name-specifier before ‘NormalEstimator’ typename NormalEstimator::Ptr normalestimator; ///< normal estimator used for computing surface normals (currently only used at training) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:62:14: error: expected ‘;’ at end of member declaration /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:62:29: error: expected unqualified-id before ‘<’ token typename NormalEstimator::Ptr normalestimator; ///< normal estimator used for computing surface normals (currently only used at training) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:88:5: error: ‘PCLVisualizationParams’ does not name a type PCLVisualizationParams::ConstPtr visparam; ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:180:39: error: expected nested-name-specifier before ‘NormalEstimator’ setNormalEstimator(const typename NormalEstimator::Ptr &normal_estimator) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:180:54: error: expected ‘,’ or ‘...’ before ‘<’ token setNormalEstimator(const typename NormalEstimator::Ptr &normal_estimator) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:191:37: error: ‘PCLVisualizationParams’ does not name a type setVisualizationParameter(const PCLVisualizationParams::ConstPtr &vis_param) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:191:70: error: expected unqualified-id before ‘&’ token setVisualizationParameter(const PCLVisualizationParams::ConstPtr &vis_param) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:191:70: error: expected ‘)’ before ‘&’ token /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:191:70: error: expected ‘;’ at end of member declaration /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:191:71: error: ‘vis_param’ does not name a type setVisualizationParameter(const PCLVisualizationParams::ConstPtr &vis_param) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h: In member function ‘void v4r::RecognitionPipeline::setNormalEstimator(int)’: /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:182:9: error: ‘normalestimator’ was not declared in this scope normalestimator = normal_estimator; ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:182:29: error: ‘normal_estimator’ was not declared in this scope normalestimator = normal_estimator; ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:31:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h: At global scope: /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:153:27: error: ‘LocalObjectHypothesis’ was not declared in this scope std::map<std::string, LocalObjectHypothesis > local_objhypotheses; ///< stores feature correspondences ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:153:55: error: template argument 2 is invalid std::map<std::string, LocalObjectHypothesis > local_objhypotheses; ///< stores feature correspondences ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:153:55: error: template argument 4 is invalid /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:153:57: error: expected unqualified-id before ‘>’ token std::map<std::string, LocalObjectHypothesis > local_objhypotheses; ///< stores feature correspondences ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:269:27: error: ‘LocalObjectHypothesis’ was not declared in this scope std::map<std::string, LocalObjectHypothesis > ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:269:55: error: template argument 2 is invalid std::map<std::string, LocalObjectHypothesis > ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:269:55: error: template argument 4 is invalid /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:269:57: error: expected unqualified-id before ‘>’ token std::map<std::string, LocalObjectHypothesis > ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h: In member function ‘bool v4r::LocalRecognitionPipeline::needNormals() const’: /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:217:83: error: ‘Ptr’ in ‘class v4r::GraphGeometricConsistencyGrouping<pcl::PointXYZ, pcl::PointXYZ>’ does not name a type typename GraphGeometricConsistencyGrouping<pcl::PointXYZ, pcl::PointXYZ>::Ptr gcg_algorithm = boost::dynamic_pointer_cast< GraphGeometricConsistencyGrouping<pcl::PointXYZ, pcl::PointXYZ> > (cgalgorithm); ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:217:101: error: invalid type in declaration before ‘=’ token typename GraphGeometricConsistencyGrouping<pcl::PointXYZ, pcl::PointXYZ>::Ptr gcg_algorithm = boost::dynamic_pointer_cast< GraphGeometricConsistencyGrouping<pcl::PointXYZ, pcl::PointXYZ> > (cgalgorithm); ^ In file included from /opt/ros/indigo/include/v4r/recognition/multi_pipeline_recognizer.h:28:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:32, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/recognition/local_recognizer.h: At global scope: /opt/ros/indigo/include/v4r/recognition/local_recognizer.h:57:25: error: redefinition of ‘class v4r::LocalRecognitionPipeline’ class V4R_EXPORTS LocalRecognitionPipeline : public Recognizer ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:31:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:139:19: error: previous definition of ‘class v4r::LocalRecognitionPipeline’ class V4R_EXPORTS LocalRecognitionPipeline : public RecognitionPipeline ^ In file included from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:49:19: error: ‘NormalEstimator’ in namespace ‘v4r’ does not name a type typename v4r::NormalEstimator::Ptr normalestimator; ///< normal estimator used for computing surface normals (currently only used at training) ^ /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:49:34: error: expected unqualified-id before ‘<’ token typename v4r::NormalEstimator::Ptr normalestimator; ///< normal estimator used for computing surface normals (currently only used at training) ^ /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:61:5: error: ‘Camera’ does not name a type Camera::Ptr camera_; ^ In file included from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1:0: /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizerros.h:24:13: error: ‘Camera’ in namespace ‘v4r’ does not name a type mutable v4r::Camera::Ptr camera; ///< camera (if cloud is not organized) ^ In file included from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1:0: /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:42:21: error: ‘Camera’ in namespace ‘v4r’ does not name a type setCamera(const v4r::Camera::Ptr &cam) ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:42:38: error: expected unqualified-id before ‘&’ token setCamera(const v4r::Camera::Ptr &cam) ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:42:38: error: expected ‘)’ before ‘&’ token /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:42:38: error: expected ‘;’ at end of member declaration /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:42:39: error: ‘cam’ does not name a type setCamera(const v4r::Camera::Ptr &cam) ^ In file included from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:13:0: /home/greg/v4r/modules/keypoints/include/v4r/keypoints/uniform_sampling_extractor.h:82:19: error: redefinition of ‘class v4r::UniformSamplingExtractor’ class V4R_EXPORTS UniformSamplingExtractor : public KeypointExtractor ^ In file included from /opt/ros/indigo/include/v4r/features/local_estimator.h:29:0, from /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:36, from /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:9, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:27, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /opt/ros/indigo/include/v4r/features/uniform_sampling_extractor.h:33:19: error: previous definition of ‘class v4r::UniformSamplingExtractor’ class V4R_EXPORTS UniformSamplingExtractor : public KeypointExtractor ^ In file included from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:17:0: /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:64:56: error: template argument 1 is invalid std::vector<typename GlobalRecognizer::Ptr > globalrecognizers; ///< set of Global recognizer generating keypoint correspondences ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:64:56: error: template argument 2 is invalid In file included from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:17:0: /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:88:34: error: expected nested-name-specifier before ‘GlobalRecognizer’ addRecognizer(const typename GlobalRecognizer::Ptr & l_rec) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:88:50: error: expected ‘,’ or ‘...’ before ‘<’ token addRecognizer(const typename GlobalRecognizer::Ptr & l_rec) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h: In member function ‘void v4r::GlobalRecognitionPipeline::addRecognizer(int)’: /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:90:29: error: request for member ‘push_back’ in ‘((v4r::GlobalRecognitionPipeline)this)->v4r::GlobalRecognitionPipeline::globalrecognizers’, which is of non-class type ‘int’ globalrecognizers.push_back( l_rec ); ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:90:40: error: ‘l_rec’ was not declared in this scope globalrecognizers.push_back( l_rec ); ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h: In member function ‘bool v4r::GlobalRecognitionPipeline::needNormals() const’: /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:101:55: error: request for member ‘size’ in ‘((const v4r::GlobalRecognitionPipeline)this)->v4r::GlobalRecognitionPipeline::globalrecognizers’, which is of non-class type ‘const int’ for(size_t r_id=0; r_id < globalrecognizers.size(); r_id++) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:103:41: error: invalid types ‘const int[std::size_t {aka long unsigned int}]’ for array subscript if( globalrecognizers[r_id]->needNormals()) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h: In member function ‘std::size_t v4r::GlobalRecognitionPipeline::getFeatureType() const’: /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:128:55: error: request for member ‘size’ in ‘((const v4r::GlobalRecognitionPipeline)this)->v4r::GlobalRecognitionPipeline::globalrecognizers’, which is of non-class type ‘const int’ for(size_t r_id=0; r_id < globalrecognizers.size(); r_id++) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/global_recognition_pipeline.h:129:50: error: invalid types ‘const int[std::size_t {aka long unsigned int}]’ for array subscript feat_type += globalrecognizers[r_id]->getFeatureType(); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp: In member function ‘bool v4r::RecognizerROS::respondSrvCall(recognition_srv_definitions::recognize::Request&, recognition_srv_definitions::recognize::Response&) const’: /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:46:5: error: ‘PCLOpenCVConverter’ is not a member of ‘v4r’ v4r::PCLOpenCVConverter img_conv; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:46:35: error: expected primary-expression before ‘>’ token v4r::PCLOpenCVConverter img_conv; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:46:37: error: ‘img_conv’ was not declared in this scope v4r::PCLOpenCVConverter img_conv; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizerros.cpp:52:14: error: ‘camera’ was not declared in this scope if( !camera_ ) ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizerros.cpp:62:29: error: ‘camera’ was not declared in this scope imgconv.setCamera( camera ); ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizerros.cpp:130:13: error: ‘camera’ was not declared in this scope if(!camera_) ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizerros.cpp:151:46: error: ‘camera’ was not declared in this scope const int u = staticcast ( camera->getFocalLength() x / z + camera_->getCx()); ^ In file included from /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:30:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:31, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h: In instantiation of ‘class v4r::RecognitionPipeline’: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:46:52: required from ‘class v4r::apps::ObjectRecognizer’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:22:50: required from ‘class v4r::RecognizerROS’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:299:42: required from here /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:60:39: error: no type named ‘ConstPtr’ in ‘class v4r::Source’ typename Source::ConstPtr mdb; ///< model data base ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:152:5: error: no type named ‘ConstPtr’ in ‘class v4r::Source’ setModelDatabase(const typename Source::ConstPtr &m_db) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/recognition_pipeline.h:162:5: error: no type named ‘ConstPtr’ in ‘class v4r::Source’ getModelDatabase() const ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:31:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h: In instantiation of ‘class v4r::LocalRecognitionPipeline’: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:47:57: required from ‘class v4r::apps::ObjectRecognizer’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:22:50: required from ‘class v4r::RecognizerROS’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:299:42: required from here /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:143:40: error: no members matching ‘v4r::RecognitionPipeline::mdb’ in ‘class v4r::RecognitionPipeline’ using RecognitionPipeline::mdb; ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:144:40: error: no members matching ‘v4r::RecognitionPipeline::normalestimator’ in ‘class v4r::RecognitionPipeline’ using RecognitionPipeline::normalestimator; ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:148:40: error: no members matching ‘v4r::RecognitionPipeline::visparam’ in ‘class v4r::RecognitionPipeline’ using RecognitionPipeline::visparam; ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:9:0, from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:27, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h: In instantiation of ‘class v4r::LocalFeatureMatcher’: /home/greg/v4r/modules/recognition/include/v4r/recognition/local_recognition_pipeline.h:150:61: required from ‘class v4r::LocalRecognitionPipeline’ /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:47:57: required from ‘class v4r::apps::ObjectRecognizer’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:22:50: required from ‘class v4r::RecognizerROS’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:299:42: required from here /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:205:39: error: no type named ‘ConstPtr’ in ‘class v4r::Source’ typename Source::ConstPtr mdb; ///< model data base ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_featurematching.h:219:56: error: no type named ‘Ptr’ in ‘class v4r::LocalEstimator’ std::vector<typename LocalEstimator::Ptr > estimators; ///< estimators to compute features/signatures ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:220:59: error: no type named ‘Ptr’ in ‘class v4r::KeypointExtractor’ std::vector<typename KeypointExtractor::Ptr > keypointextractor; ///< set of keypoint extractors ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:349:5: error: no type named ‘Ptr’ in ‘class v4r::LocalEstimator’ addFeatureEstimator (const typename LocalEstimator::Ptr & feat) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:368:5: error: no type named ‘Ptr’ in ‘class v4r::KeypointExtractor’ addKeypointExtractor (typename KeypointExtractor::Ptr & ke) ^ /home/greg/v4r/modules/recognition/include/v4r/recognition/local_feature_matching.h:453:5: error: no type named ‘ConstPtr’ in ‘class v4r::Source’ setModelDatabase(const typename Source::ConstPtr &m_db) ^ In file included from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h: In instantiation of ‘class v4r::apps::ObjectRecognizer’: /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:22:50: required from ‘class v4r::RecognizerROS’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizerros.cpp:299:42: required from here /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:48:63: error: no type named ‘Ptr’ in ‘class v4r::HypothesisVerification<pcl::PointXYZRGB, pcl::PointXYZRGB>’ typename v4r::HypothesisVerification<PointT, PointT>::Ptr hv; ///< hypothesis verification object ^ In file included from /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:27:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h: In instantiation of ‘class v4r::ObjectRecognitionVisualizer’: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:51:60: required from ‘class v4r::apps::ObjectRecognizer’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:22:50: required from ‘class v4r::RecognizerROS’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:299:42: required from here /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:36:39: error: no type named ‘ConstPtr’ in ‘class v4r::Source’ typename Source::ConstPtr mdb; ///< model data base ^ /home/greg/v4r/modules/apps/include/v4r/apps/visualization.h:195:5: error: no type named ‘ConstPtr’ in ‘class v4r::Source’ setModelDatabase(const typename Source::ConstPtr &m_db) ^ In file included from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:6:0, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h: In instantiation of ‘class v4r::apps::ObjectRecognizer’: /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:22:50: required from ‘class v4r::RecognizerROS’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:299:42: required from here /home/greg/v4r/modules/apps/include/v4r/apps/ObjectRecognizer.h:63:34: error: no type named ‘Ptr’ in ‘class v4r::Source’ typename Source::Ptr modeldatabase; ^ make[2]: [v4r_ros_wrappers/object_classifier/CMakeFiles/object_classifier_node.dir/src/global_classifier.cpp.o] Error 1 make[1]: [v4r_ros_wrappers/object_classifier/CMakeFiles/object_classifier_node.dir/all] Error 2 make[2]: [v4r_ros_wrappers/segmentation/CMakeFiles/pcl_segmentation_service.dir/src/pcl_segmentation_ros.cpp.o] Error 1 make[1]: [v4r_ros_wrappers/segmentation/CMakeFiles/pcl_segmentation_service.dir/all] Error 2 /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp: In instantiation of ‘bool v4r::RecognizerROS::recognizeROS(recognition_srv_definitions::recognize::Request&, recognition_srv_definitions::recognize::Response&) [with PointT = pcl::PointXYZRGB; recognition_srv_definitions::recognize::Request = recognition_srvdefinitions::recognizeRequest<std::allocator >; recognition_srv_definitions::recognize::Response = recognition_srvdefinitions::recognizeResponse<std::allocator >]’: /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:284:59: required from ‘bool v4r::RecognizerROS::initialize(int, char) [with PointT = pcl::PointXYZRGB]’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:300:29: required from here /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:195:26: error: no match for ‘operator=’ (operand types are ‘std::vector<boost::shared_ptr<v4r::ObjectHypothesis >, std::allocator<boost::shared_ptr<v4r::ObjectHypothesis > > >’ and ‘std::vector’) verifiedhypotheses = mrec.recognize( scene );; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:195:26: note: candidates are: In file included from /usr/include/c++/4.8/vector:69:0, from /home/greg/catkin_ws/devel/include/recognition_srv_definitions/get_configurationRequest.h:10, from /home/greg/catkin_ws/devel/include/recognition_srv_definitions/get_configuration.h:11, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:1, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /usr/include/c++/4.8/bits/vector.tcc:160:5: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = boost::shared_ptr<v4r::ObjectHypothesis >; _Alloc = std::allocator<boost::shared_ptr<v4r::ObjectHypothesis > >] vector<_Tp, _Alloc>:: ^ /usr/include/c++/4.8/bits/vector.tcc:160:5: note: no known conversion for argument 1 from ‘std::vector’ to ‘const std::vector<boost::shared_ptr<v4r::ObjectHypothesis >, std::allocator<boost::shared_ptr<v4r::ObjectHypothesis > > >&’ In file included from /usr/include/c++/4.8/vector:64:0, from /home/greg/catkin_ws/devel/include/recognition_srv_definitions/get_configurationRequest.h:10, from /home/greg/catkin_ws/devel/include/recognition_srv_definitions/get_configuration.h:11, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/include/recognizer_ros.h:1, from /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:1: /usr/include/c++/4.8/bits/stl_vector.h:439:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = boost::shared_ptr<v4r::ObjectHypothesis >; _Alloc = std::allocator<boost::shared_ptr<v4r::ObjectHypothesis > >] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^ /usr/include/c++/4.8/bits/stl_vector.h:439:7: note: no known conversion for argument 1 from ‘std::vector’ to ‘std::vector<boost::shared_ptr<v4r::ObjectHypothesis >, std::allocator<boost::shared_ptr<v4r::ObjectHypothesis > > >&&’ /usr/include/c++/4.8/bits/stl_vector.h:461:7: note: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = boost::shared_ptr<v4r::ObjectHypothesis >; _Alloc = std::allocator<boost::shared_ptr<v4r::ObjectHypothesis > >] operator=(initializer_list __l) ^ /usr/include/c++/4.8/bits/stl_vector.h:461:7: note: no known conversion for argument 1 from ‘std::vector’ to ‘std::initializer_list<boost::shared_ptr<v4r::ObjectHypothesis > >’ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizer_ros.cpp:199:44: error: ‘class v4r::ObjectHypothesis’ has no member named ‘modelid’ const std::string &model_id = voh->modelid; ^ /home/greg/catkin_ws/src/v4r_ros_wrappers/singleview_object_recognizer/src/recognizerros.cpp:200:42: error: ‘class v4r::ObjectHypothesis’ has no member named ‘transform’ const Eigen::Matrix4f &tf = voh->transform_; ^ make[2]: ** [v4r_ros_wrappers/object_tracker/CMakeFiles/object_tracker_service.dir/src/object_tracker.cpp.o] Error 1 make[1]: [v4r_ros_wrappers/object_tracker/CMakeFiles/object_tracker_service.dir/all] Error 2 make[2]: [v4r_ros_wrappers/singleview_object_recognizer/CMakeFiles/recognition_service.dir/src/recognizer_ros.cpp.o] Error 1 make[1]: [v4r_ros_wrappers/singleview_object_recognizer/CMakeFiles/recognition_service.dir/all] Error 2 make: *** [all] Error 2 Invoking "make -j12 -l12" failed

marc-hanheide commented 7 years ago

what is your build environment @gregouras ?