hyunminch / realsense-pointcloud

Point Cloud Registration from Multiple Intel Realsense Frames
12 stars 4 forks source link

what opencv version is it compatible with? #13

Open AndreV84 opened 4 years ago

AndreV84 commented 4 years ago
:~/realsense-pointcloud/build$ make -j8
Scanning dependencies of target rs-pcl
[ 50%] Building CXX object CMakeFiles/rs-pcl.dir/src/main.cpp.o
In file included from /home/agx/realsense-pointcloud/src/main.cpp:30:0:
/home/agx/realsense-pointcloud/src/capture_opencv.hpp: In function ‘std::pair<std::vector<cv::KeyPoint>, cv::Mat> get_keypoints(int, cv::Mat)’:
/home/agx/realsense-pointcloud/src/capture_opencv.hpp:31:30: error: ‘SiftFeatureDetector’ is not a member of ‘cv::xfeatures2d’
     cv::Ptr<cv::xfeatures2d::SiftFeatureDetector> detector = cv::xfeatures2d::SiftFeatureDetector::create();
                              ^~~~~~~~~~~~~~~~~~~
/home/agx/realsense-pointcloud/src/capture_opencv.hpp:31:30: note: suggested alternative: ‘SurfFeatureDetector’
     cv::Ptr<cv::xfeatures2d::SiftFeatureDetector> detector = cv::xfeatures2d::SiftFeatureDetector::create();
                              ^~~~~~~~~~~~~~~~~~~
                              SurfFeatureDetector
/home/agx/realsense-pointcloud/src/capture_opencv.hpp:31:30: error: ‘SiftFeatureDetector’ is not a member of ‘cv::xfeatures2d’
/home/agx/realsense-pointcloud/src/capture_opencv.hpp:31:30: note: suggested alternative: ‘SurfFeatureDetector’
     cv::Ptr<cv::xfeatures2d::SiftFeatureDetector> detector = cv::xfeatures2d::SiftFeatureDetector::create();
                              ^~~~~~~~~~~~~~~~~~~
                              SurfFeatureDetector
/home/agx/realsense-pointcloud/src/capture_opencv.hpp:31:49: error: template argument 1 is invalid
     cv::Ptr<cv::xfeatures2d::SiftFeatureDetector> detector = cv::xfeatures2d::SiftFeatureDetector::create();
                                                 ^
/home/agx/realsense-pointcloud/src/capture_opencv.hpp:31:79: error: ‘cv::xfeatures2d::SiftFeatureDetector’ has not been declared
     cv::Ptr<cv::xfeatures2d::SiftFeatureDetector> detector = cv::xfeatures2d::SiftFeatureDetector::create();
                                                                               ^~~~~~~~~~~~~~~~~~~
/home/agx/realsense-pointcloud/src/capture_opencv.hpp:37:13: error: base operand of ‘->’ is not a pointer
     detector->detectAndCompute(input, noArray(), keypoints, descriptors);
             ^~
CMakeFiles/rs-pcl.dir/build.make:81: recipe for target 'CMakeFiles/rs-pcl.dir/src/main.cpp.o' failed
make[2]: *** [CMakeFiles/rs-pcl.dir/src/main.cpp.o] Error 1
CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/rs-pcl.dir/all' failed
make[1]: *** [CMakeFiles/rs-pcl.dir/all] Error 2
Makefile:102: recipe for target 'all' failed
make: *** [all] Error 2
intelnuc71 commented 4 years ago

[ 50%] Building CXX object CMakeFiles/rs-pcl.dir/src/main.cpp.o In file included from /home/vgv/realsense-pointcloud/src/main.cpp:30:0: /home/vgv/realsense-pointcloud/src/capture_opencv.hpp: In function ‘std::pair<std::vector, cv::Mat> get_keypoints(int, cv::Mat)’: /home/vgv/realsense-pointcloud/src/capture_opencv.hpp:31:30: error: ‘SiftFeatureDetector’ is not a member of ‘cv::xfeatures2d’ cv::Ptr detector = cv::xfeatures2d::SiftFeatureDetector::create(); ^~~~~~~ /home/vgv/realsense-pointcloud/src/capture_opencv.hpp:31:30: note: suggested alternative: ‘SurfFeatureDetector’ cv::Ptr detector = cv::xfeatures2d::SiftFeatureDetector::create(); ^~~~~~~ SurfFeatureDetector /home/vgv/realsense-pointcloud/src/capture_opencv.hpp:31:30: error: ‘SiftFeatureDetector’ is not a member of ‘cv::xfeatures2d’ /home/vgv/realsense-pointcloud/src/capture_opencv.hpp:31:30: note: suggested alternative: ‘SurfFeatureDetector’ cv::Ptr detector = cv::xfeatures2d::SiftFeatureDetector::create(); ^~~~~~~ SurfFeatureDetector /home/vgv/realsense-pointcloud/src/capture_opencv.hpp:31:49: error: template argument 1 is invalid cv::Ptr detector = cv::xfeatures2d::SiftFeatureDetector::create(); ^ /home/vgv/realsense-pointcloud/src/capture_opencv.hpp:31:79: error: ‘cv::xfeatures2d::SiftFeatureDetector’ has not been declared r detector = cv::xfeatures2d::SiftFeatureDetector::create(); ^~~~~~~ /home/vgv/realsense-pointcloud/src/capture_opencv.hpp:37:13: error: base operand of ‘->’ is not a pointer detector->detectAndCompute(input, noArray(), keypoints, descriptors); ^~ CMakeFiles/rs-pcl.dir/build.make:81: recipe for target 'CMakeFiles/rs-pcl.dir/src/main.cpp.o' failed make[2]: [CMakeFiles/rs-pcl.dir/src/main.cpp.o] Error 1 CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/rs-pcl.dir/all' failed make[1]: [CMakeFiles/rs-pcl.dir/all] Error 2 Makefile:102: recipe for target 'all' failed make: *** [all] Error 2


libpcl_registration.so.1.11 -> libpcl_registration.so.1.11.0
libpcl_recognition.so.1.11 -> libpcl_recognition.so.1.11.0
libpcl_stereo.so.1.11 -> libpcl_stereo.so.1.11.0
libpcl_octree.so.1.11 -> libpcl_octree.so.1.11.0
libpcl_io.so.1.11 -> libpcl_io.so.1.11.0
libpcl_sample_consensus.so.1.11 -> libpcl_sample_consensus.so.1.11.0
libpcl_tracking.so.1.11 -> libpcl_tracking.so.1.11.0
libpcl_common.so.1.11 -> libpcl_common.so.1.11.0
libpcl_keypoints.so.1.11 -> libpcl_keypoints.so.1.11.0
libpcl_visualization.so.1.11 -> libpcl_visualization.so.1.11.0
libpcl_outofcore.so.1.11 -> libpcl_outofcore.so.1.11.0
libpcl_search.so.1.11 -> libpcl_search.so.1.11.0
libpcl_ml.so.1.11 -> libpcl_ml.so.1.11.0
libpcl_segmentation.so.1.11 -> libpcl_segmentation.so.1.11.0
libpcl_filters.so.1.11 -> libpcl_filters.so.1.11.0
libpcl_people.so.1.11 -> libpcl_people.so.1.11.0
libpcl_kdtree.so.1.11 -> libpcl_kdtree.so.1.11.0
libpcl_io_ply.so.1.11 -> libpcl_io_ply.so.1.11.0
libpcl_surface.so.1.11 -> libpcl_surface.so.1.11.0

    libopencv_ccalib.so.4.4 -> libopencv_ccalib.so.4.4.0
libopencv_imgproc.so.4.4 -> libopencv_imgproc.so.4.4.0
libopencv_bioinspired.so.4.4 -> libopencv_bioinspired.so.4.4.0
libopencv_dnn_superres.so.4.4 -> libopencv_dnn_superres.so.4.4.0
libopencv_reg.so.4.4 -> libopencv_reg.so.4.4.0
libopencv_dpm.so.4.4 -> libopencv_dpm.so.4.4.0
libopencv_flann.so.4.4 -> libopencv_flann.so.4.4.0
libopencv_surface_matching.so.4.4 -> libopencv_surface_matching.so.4.4.0
libopencv_highgui.so.4.4 -> libopencv_highgui.so.4.4.0
libopencv_phase_unwrapping.so.4.4 -> libopencv_phase_unwrapping.so.4.4.0
libopencv_fuzzy.so.4.4 -> libopencv_fuzzy.so.4.4.0
libopencv_datasets.so.4.4 -> libopencv_datasets.so.4.4.0
libopencv_gapi.so.4.4 -> libopencv_gapi.so.4.4.0
libopencv_dnn_objdetect.so.4.4 -> libopencv_dnn_objdetect.so.4.4.0
libopencv_calib3d.so.4.4 -> libopencv_calib3d.so.4.4.0
libopencv_text.so.4.4 -> libopencv_text.so.4.4.0

    libopencv_ccalib.so.3.2 -> libopencv_ccalib.so.3.2.0
libopencv_videostab.so.3.2 -> libopencv_videostab.so.3.2.0
libopencv_video.so.3.2 -> libopencv_video.so.3.2.0
libopencv_face.so.3.2 -> libopencv_face.so.3.2.0
libopencv_line_descriptor.so.3.2 -> libopencv_line_descriptor.so.3.2.0
libopencv_stereo.so.3.2 -> libopencv_stereo.so.3.2.0
libopencv_viz.so.3.2 -> libopencv_viz.so.3.2.0
libopencv_videoio.so.3.2 -> libopencv_videoio.so.3.2.0
libopencv_stitching.so.3.2 -> libopencv_stitching.so.3.2.0
libopencv_datasets.so.3.2 -> libopencv_datasets.so.3.2.0
libopencv_optflow.so.3.2 -> libopencv_optflow.so.3.2.0
libopencv_plot.so.3.2 -> libopencv_plot.so.3.2.0
libopencv_imgproc.so.3.2 -> libopencv_imgproc.so.3.2.0
libopencv_calib3d.so.3.2 -> libopencv_calib3d.so.3.2.0
libopencv_reg.so.3.2 -> libopencv_reg.so.3.2.0
libopencv_ml.so.3.2 -> libopencv_ml.so.3.2.0
libopencv_fuzzy.so.3.2 -> libopencv_fuzzy.so.3.2.0
libopencv_surface_matching.so.3.2 -> libopencv_surface_matching.so.3.2.0
libopencv_hdf.so.3.2 -> libopencv_hdf.so.3.2.0
libopencv_saliency.so.3.2 -> libopencv_saliency.so.3.2.0
libopencv_bioinspired.so.3.2 -> libopencv_bioinspired.so.3.2.0
libopencv_structured_light.so.3.2 -> libopencv_structured_light.so.3.2.0
libopencv_freetype.so.3.2 -> libopencv_freetype.so.3.2.0
libopencv_xobjdetect.so.3.2 -> libopencv_xobjdetect.so.3.2.0
libopencv_photo.so.3.2 -> libopencv_photo.so.3.2.0
libopencv_aruco.so.3.2 -> libopencv_aruco.so.3.2.0
libopencv_bgsegm.so.3.2 -> libopencv_bgsegm.so.3.2.0
libopencv_flann.so.3.2 -> libopencv_flann.so.3.2.0
libopencv_xphoto.so.3.2 -> libopencv_xphoto.so.3.2.0
libopencv_core.so.3.2 -> libopencv_core.so.3.2.0
libopencv_features2d.so.3.2 -> libopencv_features2d.so.3.2.0
libopencv_shape.so.3.2 -> libopencv_shape.so.3.2.0
libopencv_text.so.3.2 -> libopencv_text.so.3.2.0
libopencv_superres.so.3.2 -> libopencv_superres.so.3.2.0
libopencv_rgbd.so.3.2 -> libopencv_rgbd.so.3.2.0
libopencv_imgcodecs.so.3.2 -> libopencv_imgcodecs.so.3.2.0
libopencv_ximgproc.so.3.2 -> libopencv_ximgproc.so.3.2.0
libopencv_objdetect.so.3.2 -> libopencv_objdetect.so.3.2.0
libopencv_dpm.so.3.2 -> libopencv_dpm.so.3.2.0
libopencv_highgui.so.3.2 -> libopencv_highgui.so.3.2.0