Open ytgcljj opened 5 years ago
What is the version of your OS/ROS?
Same problem here. Ubuntu 16.04 and ros kinectic 1.12.14
Hi guys,
I think it is an error relating to OpenCV3 in an old version of this package. Could you check if the package is updated to the latest version. In particular, check if the following line is the same as the latest version.
I had the same problem.
Changing the line boost = cv::ml::Boost::load<cv::ml::Boost>(modelfile);
to its old version boost = cv::ml::Boost::load(modelfile);
worked for me.
Thank you for your reply @koide3.
Updating Python and OpenCV3 worked for me. Still get the error with my old WS, creating a new one after the updates solved the problem for me. Line is the same.
test@test:~/catkin_ws$ catkin_make Base path: /home/test/catkin_ws Source space: /home/test/catkin_ws/src Build space: /home/test/catkin_ws/build Devel space: /home/test/catkin_ws/devel Install space: /home/test/catkin_ws/install Creating symlink "/home/test/catkin_ws/src/CMakeLists.txt" pointing to "/opt/ros/kinetic/share/catkin/cmake/toplevel.cmake"
Running command: "cmake /home/test/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/test/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/test/catkin_ws/install -G Unix Makefiles" in "/home/test/catkin_ws/build"
-- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Using CATKIN_DEVEL_PREFIX: /home/test/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /home/test/catkin_ws/devel;/opt/ros/kinetic -- This workspace overlays: /home/test/catkin_ws/devel;/opt/ros/kinetic -- Found PythonInterp: /usr/bin/python (found version "2.7.12") -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/test/catkin_ws/build/test_results -- Found gmock sources under '/usr/src/gmock': gmock will be built -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Found gtest sources under '/usr/src/gmock': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.7.14 -- BUILD_SHARED_LIBS is on --
~~~~~~~~~~~~~ -- ~~ traversing 4 packages in topological order: -- ~~ - hdl_people_tracking -- ~~ - ndt_omp -- ~~ - hdl_localization -- ~~ - hdl_graph_slam --~~~~~~~~~~~~~ -- +++ processing catkin package: 'hdl_people_tracking' -- ==> add_subdirectory(hdl_people_tracking) -- Found OpenCV: /opt/ros/kinetic (found version "3.2.0") -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- hdl_people_tracking: 4 messages, 0 services -- +++ processing catkin package: 'ndt_omp' -- ==> add_subdirectory(ndt_omp) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Checking for module 'eigen3' -- Found eigen3, version 3.2.92 -- Found eigen: /usr/include/eigen3-- Boost version: 1.58.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- date_time -- iostreams -- serialization -- chrono -- atomic -- regex -- Checking for module 'flann' -- Found flann, version 1.8.4 -- Found Flann: /usr/lib/x86_64-linux-gnu/libflann_cpp_s.a
-- Checking for module 'libopenni' -- Found libopenni, version 1.5.4.0 -- Found openni: /usr/lib/libOpenNI.so
-- Checking for module 'libopenni2' -- Found libopenni2, version 2.2.0.3 -- Found OpenNI2: /usr/lib/libOpenNI2.so
WARNING io features related to pcap will be disabled WARNING io features related to png will be disabled -- The imported target "vtkRenderingPythonTkWidgets" references the file "/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so" but this file does not exist. Possible reasons include:
-- The imported target "vtk" references the file "/usr/bin/vtk" but this file does not exist. Possible reasons include:
-- Found libusb-1.0: /usr/include
-- Found qhull: /usr/lib/x86_64-linux-gnu/libqhull.so
-- looking for PCL_COMMON -- Found PCL_COMMON: /usr/lib/x86_64-linux-gnu/libpcl_common.so
-- looking for PCL_KDTREE -- Found PCL_KDTREE: /usr/lib/x86_64-linux-gnu/libpcl_kdtree.so
-- looking for PCL_OCTREE -- Found PCL_OCTREE: /usr/lib/x86_64-linux-gnu/libpcl_octree.so
-- looking for PCL_SEARCH -- Found PCL_SEARCH: /usr/lib/x86_64-linux-gnu/libpcl_search.so
-- looking for PCL_IO -- Found PCL_IO: /usr/lib/x86_64-linux-gnu/libpcl_io.so
-- looking for PCL_SAMPLE_CONSENSUS -- Found PCL_SAMPLE_CONSENSUS: /usr/lib/x86_64-linux-gnu/libpcl_sample_consensus.so
-- looking for PCL_FILTERS -- Found PCL_FILTERS: /usr/lib/x86_64-linux-gnu/libpcl_filters.so
-- looking for PCL_GEOMETRY -- Found PCL_GEOMETRY: /usr/include/pcl-1.7
-- looking for PCL_FEATURES -- Found PCL_FEATURES: /usr/lib/x86_64-linux-gnu/libpcl_features.so
-- looking for PCL_SEGMENTATION -- Found PCL_SEGMENTATION: /usr/lib/x86_64-linux-gnu/libpcl_segmentation.so
-- looking for PCL_SURFACE -- Found PCL_SURFACE: /usr/lib/x86_64-linux-gnu/libpcl_surface.so
-- looking for PCL_REGISTRATION -- Found PCL_REGISTRATION: /usr/lib/x86_64-linux-gnu/libpcl_registration.so
-- looking for PCL_RECOGNITION -- Found PCL_RECOGNITION: /usr/lib/x86_64-linux-gnu/libpcl_recognition.so
-- looking for PCL_KEYPOINTS -- Found PCL_KEYPOINTS: /usr/lib/x86_64-linux-gnu/libpcl_keypoints.so
-- looking for PCL_VISUALIZATION -- Found PCL_VISUALIZATION: /usr/lib/x86_64-linux-gnu/libpcl_visualization.so
-- looking for PCL_PEOPLE -- Found PCL_PEOPLE: /usr/lib/x86_64-linux-gnu/libpcl_people.so
-- looking for PCL_OUTOFCORE -- Found PCL_OUTOFCORE: /usr/lib/x86_64-linux-gnu/libpcl_outofcore.so
-- looking for PCL_TRACKING -- Found PCL_TRACKING: /usr/lib/x86_64-linux-gnu/libpcl_tracking.so
-- looking for PCL_APPS -- Could NOT find PCL_APPS (missing: PCL_APPS_LIBRARY) -- looking for PCL_MODELER -- Found PCL_MODELER: /usr/include/pcl-1.7
-- looking for PCL_IN_HAND_SCANNER -- Found PCL_IN_HAND_SCANNER: /usr/include/pcl-1.7
-- looking for PCL_POINT_CLOUD_EDITOR -- Found PCL_POINT_CLOUD_EDITOR: /usr/include/pcl-1.7
-- Found PCL: /usr/lib/x86_64-linux-gnu/libboost_system.so;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;/usr/lib/x86_64-linux-gnu/libboost_thread.so;/usr/lib/x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-linux-gnu/libboost_iostreams.so;/usr/lib/x86_64-linux-gnu/libboost_serialization.so;/usr/lib/x86_64-linux-gnu/libboost_chrono.so;/usr/lib/x86_64-linux-gnu/libboost_atomic.so;/usr/lib/x86_64-linux-gnu/libboost_regex.so;optimized;/usr/lib/x86_64-linux-gnu/libpcl_common.so;debug;/usr/lib/x86_64-linux-gnu/libpcl_common.so;optimized;/usr/lib/x86_64-linux-gnu/libflann_cpp_s.a;debug;/usr/lib/x86_64-linux-gnu/libflann_cpp_s.a;optimized;/usr/lib/x86_64-linux-gnu/libpcl_kdtree.so;debug;/usr/lib/x86_64-linux-gnu/libpcl_kdtree.so;optimized;/usr/lib/x86_64-linux-gnu/libpcl_octree.so;debug;/usr/lib/x86_64-linux-gnu/libpcl_octree.so;optimized;/usr/lib/x86_64-linux-gnu/libpcl_search.so;debug;/usr/lib/x86_64-linux-gnu/libpcl_search.so;/usr/lib/libOpenNI.so;/usr/lib/libOpenNI2.so;vtkImagingStencil;vtkCommonComputationalGeometry;vtkCommonDataModel;vtkCommonMath;vtkCommonCore;vtksys;vtkCommonMisc;vtkCommonSystem;vtkCommonTransforms;vtkImagingCore;vtkCommonExecutionModel;vtkFiltersAMR;vtkFiltersGeneral;vtkFiltersCore;vtkParallelCore;vtkIOLegacy;vtkIOCore;/usr/lib/x86_64-linux-gnu/libz.so;vtkInteractionWidgets;vtkFiltersHybrid;vtkImagingSources;vtkRenderingCore;vtkCommonColor;vtkFiltersExtraction;vtkFiltersStatistics;vtkImagingFourier;vtkalglib;vtkFiltersGeometry;vtkFiltersSources;vtkFiltersModeling;vtkImagingGeneral;vtkImagingHybrid;vtkIOImage;vtkDICOMParser;vtkmetaio;/usr/lib/x86_64-linux-gnu/libjpeg.so;/usr/lib/x86_64-linux-gnu/libpng.so;/usr/lib/x86_64-linux-gnu/libtiff.so;vtkInteractionStyle;vtkRenderingAnnotation;vtkImagingColor;vtkRenderingFreeType;/usr/lib/x86_64-linux-gnu/libfreetype.so;vtkftgl;vtkRenderingVolume;vtkIOParallelNetCDF;vtkParallelMPI;/usr/lib/x86_64-linux-gnu/libnetcdf_c++.so;/usr/lib/x86_64-linux-gnu/libnetcdf.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;vtkRenderingOpenGL;vtkIOLSDyna;vtkIOXML;vtkIOGeometry;/usr/lib/x86_64-linux-gnu/libjsoncpp.so;vtkIOXMLParser;/usr/lib/x86_64-linux-gnu/libexpat.so;vtkLocalExample;vtkInfovisCore;vtkGeovisCore;vtkInfovisLayout;vtkViewsCore;vtkproj4;/usr/lib/x86_64-linux-gnu/libpython2.7.so;vtkTestingGenericBridge;/usr/lib/libgl2ps.so;verdict;vtkIOMovie;/usr/lib/x86_64-linux-gnu/libtheoraenc.so;/usr/lib/x86_64-linux-gnu/libtheoradec.so;/usr/lib/x86_64-linux-gnu/libogg.so;vtkFiltersImaging;vtkIOMINC;vtkRenderingLOD;vtkViewsQt;vtkGUISupportQt;vtkViewsInfovis;vtkChartsCore;vtkRenderingContext2D;vtkRenderingLabel;vtkRenderingImage;vtkFiltersFlowPaths;vtkxdmf2;/usr/lib/x86_64-linux-gnu/libxml2.so;vtkFiltersReebGraph;vtkViewsContext2D;vtkIOXdmf2;vtkIOAMR;vtkRenderingContextOpenGL;vtkImagingStatistics;vtkIOParallel;vtkFiltersParallel;vtkIONetCDF;vtkexoIIc;vtkGUISupportQtOpenGL;vtkIOParallelLSDyna;vtkFiltersParallelGeometry;vtkGUISupportQtWebkit;vtkIOPLY;vtkWrappingTools;vtkFiltersHyperTree;vtkRenderingVolumeOpenGL;vtkIOExodus;vtkIOPostgreSQL;vtkIOSQL;sqlite3;vtkWrappingJava;vtkFiltersParallelFlowPaths;vtkFiltersParallelStatistics;vtkFiltersProgrammable;vtkFiltersParallelImaging;vtkRenderingParallelLIC;vtkRenderingLIC;vtkInteractionImage;vtkFiltersPython;vtkWrappingPythonCore;vtkIOParallelExodus;vtkFiltersGeneric;vtkIOVideo;vtkRenderingQt;vtkFiltersTexture;vtkIOInfovis;vtkGUISupportQtSQL;vtkRenderingFreeTypeOpenGL;vtkInfovisBoostGraphAlgorithms;vtkRenderingGL2PS;vtkIOGeoJSON;vtkFiltersVerdict;vtkViewsGeovis;vtkIOImport;vtkTestingIOSQL;vtkPythonInterpreter;vtkIOODBC;vtkIOEnSight;vtkIOMySQL;vtkRenderingMatplotlib;vtkDomainsChemistry;vtkIOExport;vtkFiltersParallelMPI;vtkIOParallelXML;vtkTestingRendering;vtkIOMPIParallel;vtkParallelMPI4Py;vtkFiltersSMP;vtkFiltersSelection;vtkIOVPIC;VPIC;vtkImagingMath;vtkImagingMorphological;vtkRenderingParallel;vtkRenderingFreeTypeFontConfig;vtkIOFFMPEG;vtkIOMPIImage;vtkIOGDAL;optimized;/usr/lib/x86_64-linux-gnu/libpcl_io.so;debug;/usr/lib/x86_64-linux-gnu/libpcl_io.so;optimized;/usr/lib/x86_64-linux-gnu/libpcl_sample_consensus.so;debug;/usr/lib/x86_64-linux-gnu/libpcl_sample_consensus.so;optimized;/usr/lib/x86_64-linux-gnu/libpcl_filters.so;debug;/usr/lib/x86_64-linux-gnu/libpcl_filters.so;optimized;/usr/lib/x86_64-linux-gnu/libpcl_features.so;debug;/usr/lib/x86_64-linux-gnu/libpcl_features.so;optimized;/usr/lib/x86_64-linux-gnu/libpcl_segmentation.so;debug;/usr/lib/x86_64-linux-gnu/libpcl_segmentation.so;optimized;/usr/lib/x86_64-linux-gnu/libqhull.so;debug;/usr/lib/x86_64-linux-gnu/libqhull.so;optimized;/usr/lib/x86_64-linux-gnu/libpcl_surface.so;debug;/usr/lib/x86_64-linux-gnu/libpcl_surface.so;optimized;/usr/lib/x86_64-linux-gnu/libpcl_registration.so;debug;/usr/lib/x86_64-linux-gnu/libpcl_registration.so;optimized;/usr/lib/x86_64-linux-gnu/libpcl_recognition.so;debug;/usr/lib/x86_64-linux-gnu/libpcl_recognition.so;optimized;/usr/lib/x86_64-linux-gnu/libpcl_keypoints.so;debug;/usr/lib/x86_64-linux-gnu/libpcl_keypoints.so;optimized;/usr/lib/x86_64-linux-gnu/libpcl_visualization.so;debug;/usr/lib/x86_64-linux-gnu/libpcl_visualization.so;optimized;/usr/lib/x86_64-linux-gnu/libpcl_people.so;debug;/usr/lib/x86_64-linux-gnu/libpcl_people.so;optimized;/usr/lib/x86_64-linux-gnu/libpcl_outofcore.so;debug;/usr/lib/x86_64-linux-gnu/libpcl_outofcore.so;optimized;/usr/lib/x86_64-linux-gnu/libpcl_tracking.so;debug;/usr/lib/x86_64-linux-gnu/libpcl_tracking.so;/usr/lib/x86_64-linux-gnu/libboost_system.so;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;/usr/lib/x86_64-linux-gnu/libboost_thread.so;/usr/lib/x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-linux-gnu/libboost_iostreams.so;/usr/lib/x86_64-linux-gnu/libboost_serialization.so;/usr/lib/x86_64-linux-gnu/libboost_chrono.so;/usr/lib/x86_64-linux-gnu/libboost_atomic.so;/usr/lib/x86_64-linux-gnu/libboost_regex.so;optimized;/usr/lib/x86_64-linux-gnu/libqhull.so;debug;/usr/lib/x86_64-linux-gnu/libqhull.so;/usr/lib/libOpenNI.so;/usr/lib/libOpenNI2.so;optimized;/usr/lib/x86_64-linux-gnu/libflann_cpp_s.a;debug;/usr/lib/x86_64-linux-gnu/libflann_cpp_s.a;vtkImagingStencil;vtkCommonComputationalGeometry;vtkCommonDataModel;vtkCommonMath;vtkCommonCore;vtksys;vtkCommonMisc;vtkCommonSystem;vtkCommonTransforms;vtkImagingCore;vtkCommonExecutionModel;vtkFiltersAMR;vtkFiltersGeneral;vtkFiltersCore;vtkParallelCore;vtkIOLegacy;vtkIOCore;/usr/lib/x86_64-linux-gnu/libz.so;vtkInteractionWidgets;vtkFiltersHybrid;vtkImagingSources;vtkRenderingCore;vtkCommonColor;vtkFiltersExtraction;vtkFiltersStatistics;vtkImagingFourier;vtkalglib;vtkFiltersGeometry;vtkFiltersSources;vtkFiltersModeling;vtkImagingGeneral;vtkImagingHybrid;vtkIOImage;vtkDICOMParser;vtkmetaio;/usr/lib/x86_64-linux-gnu/libjpeg.so;/usr/lib/x86_64-linux-gnu/libpng.so;/usr/lib/x86_64-linux-gnu/libtiff.so;vtkInteractionStyle;vtkRenderingAnnotation;vtkImagingColor;vtkRenderingFreeType;/usr/lib/x86_64-linux-gnu/libfreetype.so;vtkftgl;vtkRenderingVolume;vtkIOParallelNetCDF;vtkParallelMPI;/usr/lib/x86_64-linux-gnu/libnetcdf_c++.so;/usr/lib/x86_64-linux-gnu/libnetcdf.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5_hl.so;vtkRenderingOpenGL;vtkIOLSDyna;vtkIOXML;vtkIOGeometry;/usr/lib/x86_64-linux-gnu/libjsoncpp.so;vtkIOXMLParser;/usr/lib/x86_64-linux-gnu/libexpat.so;vtkLocalExample;vtkInfovisCore;vtkGeovisCore;vtkInfovisLayout;vtkViewsCore;vtkproj4;/usr/lib/x86_64-linux-gnu/libpython2.7.so;vtkTestingGenericBridge;/usr/lib/libgl2ps.so;verdict;vtkIOMovie;/usr/lib/x86_64-linux-gnu/libtheoraenc.so;/usr/lib/x86_64-linux-gnu/libtheoradec.so;/usr/lib/x86_64-linux-gnu/libogg.so;vtkFiltersImaging;vtkIOMINC;vtkRenderingLOD;vtkViewsQt;vtkGUISupportQt;vtkViewsInfovis;vtkChartsCore;vtkRenderingContext2D;vtkRenderingLabel;vtkRenderingImage;vtkFiltersFlowPaths;vtkxdmf2;/usr/lib/x86_64-linux-gnu/libxml2.so;vtkFiltersReebGraph;vtkViewsContext2D;vtkIOXdmf2;vtkIOAMR;vtkRenderingContextOpenGL;vtkImagingStatistics;vtkIOParallel;vtkFiltersParallel;vtkIONetCDF;vtkexoIIc;vtkGUISupportQtOpenGL;vtkIOParallelLSDyna;vtkFiltersParallelGeometry;vtkGUISupportQtWebkit;vtkIOPLY;vtkWrappingTools;vtkFiltersHyperTree;vtkRenderingVolumeOpenGL;vtkIOExodus;vtkIOPostgreSQL;vtkIOSQL;sqlite3;vtkWrappingJava;vtkFiltersParallelFlowPaths;vtkFiltersParallelStatistics;vtkFiltersProgrammable;vtkFiltersParallelImaging;vtkRenderingParallelLIC;vtkRenderingLIC;vtkInteractionImage;vtkFiltersPython;vtkWrappingPythonCore;vtkIOParallelExodus;vtkFiltersGeneric;vtkIOVideo;vtkRenderingQt;vtkFiltersTexture;vtkIOInfovis;vtkGUISupportQtSQL;vtkRenderingFreeTypeOpenGL;vtkInfovisBoostGraphAlgorithms;vtkRenderingGL2PS;vtkIOGeoJSON;vtkFiltersVerdict;vtkViewsGeovis;vtkIOImport;vtkTestingIOSQL;vtkPythonInterpreter;vtkIOODBC;vtkIOEnSight;vtkIOMySQL;vtkRenderingMatplotlib;vtkDomainsChemistry;vtkIOExport;vtkFiltersParallelMPI;vtkIOParallelXML;vtkTestingRendering;vtkIOMPIParallel;vtkParallelMPI4Py;vtkFiltersSMP;vtkFiltersSelection;vtkIOVPIC;VPIC;vtkImagingMath;vtkImagingMorphological;vtkRenderingParallel;vtkRenderingFreeTypeFontConfig;vtkIOFFMPEG;vtkIOMPIImage;vtkIOGDAL (Required is at least version "1.7") -- PCL_INCLUDE_DIRS:/usr/include/pcl-1.7/usr/include/eigen3/usr/include/usr/include/ni/usr/include/openni2/usr/include/vtk-6.2/usr/include/freetype2/usr/include/x86_64-linux-gnu/freetype2/usr/include/jsoncpp/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include/usr/lib/openmpi/include/usr/lib/openmpi/include/openmpi/usr/include/python2.7/usr/include/x86_64-linux-gnu/usr/include/hdf5/openmpi/usr/include/libxml2/usr/include/tcl -- PCL_LIBRARY_DIRS:/usr/lib/x86_64-linux-gnu -- PCL_DEFINITIONS:-DEIGEN_USE_NEW_STDVECTOR-DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET-DFLANN_STATIC-Dqh_QHpointer -- Found OpenMP_C: -fopenmp (found version "4.0") -- Found OpenMP_CXX: -fopenmp (found version "4.0") -- Found OpenMP: TRUE (found version "4.0")
-- +++ processing catkin package: 'hdl_localization' -- ==> add_subdirectory(hdl_localization) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Boost version: 1.58.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- date_time -- iostreams -- serialization -- chrono -- atomic -- regex WARNING io features related to pcap will be disabled WARNING io features related to png will be disabled -- The imported target "vtkRenderingPythonTkWidgets" references the file "/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so" but this file does not exist. Possible reasons include:
-- The imported target "vtk" references the file "/usr/bin/vtk" but this file does not exist. Possible reasons include:
-- looking for PCL_COMMON -- looking for PCL_KDTREE -- looking for PCL_OCTREE -- looking for PCL_SEARCH -- looking for PCL_IO -- looking for PCL_SAMPLE_CONSENSUS -- looking for PCL_FILTERS -- looking for PCL_GEOMETRY -- looking for PCL_FEATURES -- looking for PCL_SEGMENTATION -- looking for PCL_SURFACE -- looking for PCL_REGISTRATION -- looking for PCL_RECOGNITION -- looking for PCL_KEYPOINTS -- looking for PCL_VISUALIZATION -- looking for PCL_PEOPLE -- looking for PCL_OUTOFCORE -- looking for PCL_TRACKING -- looking for PCL_APPS -- Could NOT find PCL_APPS (missing: PCL_APPS_LIBRARY) -- looking for PCL_MODELER -- looking for PCL_IN_HAND_SCANNER -- looking for PCL_POINT_CLOUD_EDITOR -- PCL_INCLUDE_DIRS:/usr/include/pcl-1.7/usr/include/eigen3/usr/include/usr/include/ni/usr/include/openni2/usr/include/vtk-6.2/usr/include/freetype2/usr/include/x86_64-linux-gnu/freetype2/usr/include/jsoncpp/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include/usr/lib/openmpi/include/usr/lib/openmpi/include/openmpi/usr/include/python2.7/usr/include/x86_64-linux-gnu/usr/include/hdf5/openmpi/usr/include/libxml2/usr/include/tcl -- PCL_LIBRARY_DIRS:/usr/lib/x86_64-linux-gnu -- PCL_DEFINITIONS:-DEIGEN_USE_NEW_STDVECTOR-DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET-DFLANN_STATIC-Dqh_QHpointer -- Found OpenMP_C: -fopenmp
-- Found OpenMP_CXX: -fopenmp
-- Found OpenMP: TRUE
-- +++ processing catkin package: 'hdl_graph_slam' -- ==> add_subdirectory(hdl_graph_slam) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Boost version: 1.58.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- date_time -- iostreams -- serialization -- chrono -- atomic -- regex WARNING io features related to pcap will be disabled WARNING io features related to png will be disabled -- The imported target "vtkRenderingPythonTkWidgets" references the file "/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so" but this file does not exist. Possible reasons include:
-- The imported target "vtk" references the file "/usr/bin/vtk" but this file does not exist. Possible reasons include:
-- looking for PCL_COMMON -- looking for PCL_KDTREE -- looking for PCL_OCTREE -- looking for PCL_SEARCH -- looking for PCL_IO -- looking for PCL_SAMPLE_CONSENSUS -- looking for PCL_FILTERS -- looking for PCL_GEOMETRY -- looking for PCL_FEATURES -- looking for PCL_SEGMENTATION -- looking for PCL_SURFACE -- looking for PCL_REGISTRATION -- looking for PCL_RECOGNITION -- looking for PCL_KEYPOINTS -- looking for PCL_VISUALIZATION -- looking for PCL_PEOPLE -- looking for PCL_OUTOFCORE -- looking for PCL_TRACKING -- looking for PCL_APPS -- Could NOT find PCL_APPS (missing: PCL_APPS_LIBRARY) -- looking for PCL_MODELER -- looking for PCL_IN_HAND_SCANNER -- looking for PCL_POINT_CLOUD_EDITOR -- PCL_INCLUDE_DIRS:/usr/include/pcl-1.7/usr/include/eigen3/usr/include/usr/include/ni/usr/include/openni2/usr/include/vtk-6.2/usr/include/freetype2/usr/include/x86_64-linux-gnu/freetype2/usr/include/jsoncpp/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include/usr/lib/openmpi/include/usr/lib/openmpi/include/openmpi/usr/include/python2.7/usr/include/x86_64-linux-gnu/usr/include/hdf5/openmpi/usr/include/libxml2/usr/include/tcl -- PCL_LIBRARY_DIRS:/usr/lib/x86_64-linux-gnu -- PCL_DEFINITIONS:-DEIGEN_USE_NEW_STDVECTOR-DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET-DFLANN_STATIC-Dqh_QHpointer -- hdl_graph_slam: 1 messages, 2 services -- Configuring done -- Generating done -- Build files have been written to: /home/test/catkin_ws/build
Running command: "make -j4 -l4" in "/home/test/catkin_ws/build"
Scanning dependencies of target _hdl_people_tracking_generate_messages_check_deps_TrackArray Scanning dependencies of target _hdl_people_tracking_generate_messages_check_deps_ClusterArray Scanning dependencies of target _hdl_people_tracking_generate_messages_check_deps_Track Scanning dependencies of target std_msgs_generate_messages_nodejs [ 0%] Built target _hdl_people_tracking_generate_messages_check_deps_Track [ 0%] Built target _hdl_people_tracking_generate_messages_check_deps_ClusterArray [ 0%] Built target _hdl_people_tracking_generate_messages_check_deps_TrackArray Scanning dependencies of target geometry_msgs_generate_messages_nodejs [ 0%] Built target std_msgs_generate_messages_nodejs Scanning dependencies of target _hdl_people_tracking_generate_messages_check_deps_Cluster Scanning dependencies of target geometry_msgs_generate_messages_cpp [ 0%] Built target geometry_msgs_generate_messages_nodejs [ 0%] Built target geometry_msgs_generate_messages_cpp Scanning dependencies of target std_msgs_generate_messages_cpp Scanning dependencies of target geometry_msgs_generate_messages_eus Scanning dependencies of target std_msgs_generate_messages_eus [ 0%] Built target geometry_msgs_generate_messages_eus [ 0%] Built target std_msgs_generate_messages_cpp Scanning dependencies of target std_msgs_generate_messages_lisp [ 0%] Built target std_msgs_generate_messages_eus Scanning dependencies of target geometry_msgs_generate_messages_lisp [ 0%] Built target std_msgs_generate_messages_lisp Scanning dependencies of target std_msgs_generate_messages_py Scanning dependencies of target geometry_msgs_generate_messages_py [ 0%] Built target geometry_msgs_generate_messages_lisp [ 0%] Built target std_msgs_generate_messages_py [ 0%] Built target geometry_msgs_generate_messages_py Scanning dependencies of target _hdl_graph_slam_generate_messages_check_deps_SaveMap Scanning dependencies of target ndt_omp [ 0%] Built target _hdl_people_tracking_generate_messages_check_deps_Cluster Scanning dependencies of target _hdl_graph_slam_generate_messages_check_deps_DumpGraph Scanning dependencies of target _hdl_graph_slam_generate_messages_check_deps_FloorCoeffs [ 0%] Built target _hdl_graph_slam_generate_messages_check_deps_SaveMap [ 0%] Built target _hdl_graph_slam_generate_messages_check_deps_DumpGraph [ 0%] Built target _hdl_graph_slam_generate_messages_check_deps_FloorCoeffs Scanning dependencies of target hdl_people_tracking_generate_messages_nodejs Scanning dependencies of target hdl_people_tracking_generate_messages_eus Scanning dependencies of target hdl_people_tracking_generate_messages_cpp [ 2%] Generating Javascript code from hdl_people_tracking/ClusterArray.msg [ 2%] Generating EusLisp code from hdl_people_tracking/ClusterArray.msg [ 4%] Generating C++ code from hdl_people_tracking/ClusterArray.msg [ 5%] Generating Javascript code from hdl_people_tracking/Cluster.msg [ 7%] Generating EusLisp code from hdl_people_tracking/Cluster.msg [ 8%] Building CXX object ndt_omp/CMakeFiles/ndt_omp.dir/src/pclomp/voxel_grid_covariance_omp.cpp.o [ 10%] Generating Javascript code from hdl_people_tracking/TrackArray.msg [ 11%] Generating EusLisp code from hdl_people_tracking/TrackArray.msg [ 12%] Generating Javascript code from hdl_people_tracking/Track.msg [ 14%] Generating C++ code from hdl_people_tracking/Cluster.msg [ 14%] Built target hdl_people_tracking_generate_messages_nodejs [ 15%] Generating EusLisp code from hdl_people_tracking/Track.msg Scanning dependencies of target hdl_people_tracking_generate_messages_lisp [ 17%] Generating Lisp code from hdl_people_tracking/ClusterArray.msg [ 18%] Generating Lisp code from hdl_people_tracking/Cluster.msg [ 20%] Generating EusLisp manifest code for hdl_people_tracking [ 21%] Generating Lisp code from hdl_people_tracking/TrackArray.msg [ 22%] Generating C++ code from hdl_people_tracking/TrackArray.msg [ 24%] Generating Lisp code from hdl_people_tracking/Track.msg [ 24%] Built target hdl_people_tracking_generate_messages_lisp Scanning dependencies of target hdl_people_tracking_generate_messages_py [ 25%] Generating Python from MSG hdl_people_tracking/ClusterArray [ 27%] Generating C++ code from hdl_people_tracking/Track.msg [ 28%] Generating Python from MSG hdl_people_tracking/Cluster [ 30%] Generating Python from MSG hdl_people_tracking/TrackArray [ 31%] Generating Python from MSG hdl_people_tracking/Track [ 31%] Built target hdl_people_tracking_generate_messages_cpp Scanning dependencies of target hdl_graph_slam_generate_messages_cpp [ 32%] Generating C++ code from hdl_graph_slam/FloorCoeffs.msg [ 34%] Generating C++ code from hdl_graph_slam/DumpGraph.srv [ 35%] Generating Python msg init.py for hdl_people_tracking [ 35%] Built target hdl_people_tracking_generate_messages_py Scanning dependencies of target hdl_graph_slam_generate_messages_eus [ 37%] Generating EusLisp code from hdl_graph_slam/FloorCoeffs.msg [ 38%] Generating EusLisp code from hdl_graph_slam/DumpGraph.srv [ 40%] Generating C++ code from hdl_graph_slam/SaveMap.srv [ 41%] Generating EusLisp code from hdl_graph_slam/SaveMap.srv [ 42%] Generating EusLisp manifest code for hdl_graph_slam [ 42%] Built target hdl_graph_slam_generate_messages_cpp Scanning dependencies of target hdl_graph_slam_generate_messages_py [ 44%] Generating Python from MSG hdl_graph_slam/FloorCoeffs [ 45%] Generating Python code from SRV hdl_graph_slam/DumpGraph [ 47%] Generating Python code from SRV hdl_graph_slam/SaveMap [ 48%] Generating Python msg init.py for hdl_graph_slam [ 50%] Generating Python srv init.py for hdl_graph_slam [ 50%] Built target hdl_graph_slam_generate_messages_py [ 51%] Building CXX object ndt_omp/CMakeFiles/ndt_omp.dir/src/pclomp/ndt_omp.cpp.o [ 51%] Built target hdl_people_tracking_generate_messages_eus [ 52%] Building CXX object ndt_omp/CMakeFiles/ndt_omp.dir/src/pclomp/gicp_omp.cpp.o [ 52%] Built target hdl_graph_slam_generate_messages_eus Scanning dependencies of target hdl_graph_slam_generate_messages_nodejs [ 54%] Generating Javascript code from hdl_graph_slam/FloorCoeffs.msg [ 55%] Generating Javascript code from hdl_graph_slam/DumpGraph.srv [ 57%] Generating Javascript code from hdl_graph_slam/SaveMap.srv [ 57%] Built target hdl_graph_slam_generate_messages_nodejs Scanning dependencies of target hdl_graph_slam_generate_messages_lisp [ 58%] Generating Lisp code from hdl_graph_slam/FloorCoeffs.msg [ 60%] Generating Lisp code from hdl_graph_slam/DumpGraph.srv [ 61%] Generating Lisp code from hdl_graph_slam/SaveMap.srv [ 61%] Built target hdl_graph_slam_generate_messages_lisp Scanning dependencies of target hdl_people_tracking_generate_messages [ 61%] Built target hdl_people_tracking_generate_messages Scanning dependencies of target hdl_people_tracking_gencpp [ 61%] Built target hdl_people_tracking_gencpp Scanning dependencies of target hdl_graph_slam_gencpp [ 61%] Built target hdl_graph_slam_gencpp Scanning dependencies of target hdl_graph_slam_generate_messages [ 61%] Built target hdl_graph_slam_generate_messages Scanning dependencies of target hdl_people_tracking_nodelet [ 62%] Building CXX object hdl_people_tracking/CMakeFiles/hdl_people_tracking_nodelet.dir/apps/hdl_people_tracking_nodelet.cpp.o Scanning dependencies of target hdl_people_detection_nodelet [ 64%] Building CXX object hdl_people_tracking/CMakeFiles/hdl_people_detection_nodelet.dir/apps/hdl_people_detection_nodelet.cpp.o [ 65%] Building CXX object hdl_people_tracking/CMakeFiles/hdl_people_detection_nodelet.dir/src/kidono_human_classifier.cpp.o [ 67%] Linking CXX shared library /home/test/catkin_ws/devel/lib/libhdl_people_tracking_nodelet.so [ 67%] Built target hdl_people_tracking_nodelet [ 68%] Building CXX object hdl_people_tracking/CMakeFiles/hdl_people_detection_nodelet.dir/src/people_detector.cpp.o [ 70%] Linking CXX shared library /home/test/catkin_ws/devel/lib/libndt_omp.so [ 70%] Built target ndt_omp Scanning dependencies of target align [ 71%] Building CXX object ndt_omp/CMakeFiles/align.dir/apps/align.cpp.o /home/test/catkin_ws/src/hdl_people_tracking/src/kidono_human_classifier.cpp: In constructor ‘hdl_people_detection::KidonoHumanClassifier::KidonoHumanClassifier(const string&, const string&)’: /home/test/catkin_ws/src/hdl_people_tracking/src/kidono_human_classifier.cpp:21:42: error: no matching function for call to .cv::ml::Boost::load(const string&)’ boost = cv::ml::Boost::load(modelfile); ^ In file included from /opt/ros/kinetic/include/opencv-3.2.0-dev/opencv2/opencv.hpp:52:0, from /home/test/catkin_ws/src/hdl_people_tracking/include/hdl_people_detection/kidono_human_classifier.h:6, from /home/test/catkin_ws/src/hdl_people_tracking/src/kidono_human_classifier.cpp:1: /opt/ros/kinetic/include/opencv-3.2.0-dev/opencv2/core.hpp:3074:44: note: candidate: template static cv::Ptr cv::Algorithm::load(const cv::String&, const cv::String&)
template static Ptr<_Tp> load(const String& filename, const String& objname=String())
^
/opt/ros/kinetic/include/opencv-3.2.0-dev/opencv2/core.hpp:3074:44: note: template argument deduction/substitution failed:
/home/test/catkin_ws/src/hdl_people_tracking/src/kidono_human_classifier.cpp:21:42: note: couldn't deduce template parameter ‘_Tp’
boost = cv::ml::Boost::load(modelfile);
^
hdl_people_tracking/CMakeFiles/hdl_people_detection_nodelet.dir/build.make:75: recipe for target 'hdl_people_tracking/CMakeFiles/hdl_people_detection_nodelet.dir/src/kidono_human_classifier.cpp.o' failed
make[2]: [hdl_people_tracking/CMakeFiles/hdl_people_detection_nodelet.dir/src/kidono_human_classifier.cpp.o] Error 1
make[2]: 正在等待未完成的任务....
Scanning dependencies of target globalmap_server_nodelet
[ 72%] Building CXX object hdl_localization/CMakeFiles/globalmap_server_nodelet.dir/apps/globalmap_server_nodelet.cpp.o
Scanning dependencies of target hdl_localization_nodelet
[ 74%] Building CXX object hdl_localization/CMakeFiles/hdl_localization_nodelet.dir/apps/hdl_localization_nodelet.cpp.o
CMakeFiles/Makefile2:2351: recipe for target 'hdl_people_tracking/CMakeFiles/hdl_people_detection_nodelet.dir/all' failed
make[1]: [hdl_people_tracking/CMakeFiles/hdl_people_detection_nodelet.dir/all] Error 2
make[1]: 正在等待未完成的任务....
[ 75%] Linking CXX executable /home/test/catkin_ws/devel/lib/ndt_omp/align
[ 77%] Linking CXX shared library /home/test/catkin_ws/devel/lib/libglobalmap_server_nodelet.so
[ 77%] Built target align
[ 77%] Built target globalmap_server_nodelet
[ 78%] Linking CXX shared library /home/test/catkin_ws/devel/lib/libhdl_localization_nodelet.so
[ 78%] Built target hdl_localization_nodelet
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed