laboshinl / loam_velodyne

Laser Odometry and Mapping (Loam) is a realtime method for state estimation and mapping using a 3D lidar.
http://wiki.ros.org/loam_velodyne
Other
1.71k stars 952 forks source link

Invoking "make -j4 -l4" failed #87

Open zr2539168 opened 6 years ago

zr2539168 commented 6 years ago

[ 59%] Built target cloud_nodelet [ 65%] Built target cloud_node [ 70%] Built target transform_node [ 76%] Built target transform_nodelet /home/zr/catkin_ws/src/loam_velodyne/src/lib/LaserMapping.cpp: In member function ‘virtual bool loam::LaserMapping::setup(ros::NodeHandle&, ros::NodeHandle&)’: /home/zr/catkin_ws/src/loam_velodyne/src/lib/LaserMapping.cpp:149:28: error: ‘downSizeFilterMap’ was not declared in this scope downSizeFilterMap().setLeafSize(fParam, fParam, fParam); ^ loam_velodyne/src/lib/CMakeFiles/loam.dir/build.make:182: recipe for target 'loam_velodyne/src/lib/CMakeFiles/loam.dir/LaserMapping.cpp.o' failed make[2]: [loam_velodyne/src/lib/CMakeFiles/loam.dir/LaserMapping.cpp.o] Error 1 CMakeFiles/Makefile2:3080: recipe for target 'loam_velodyne/src/lib/CMakeFiles/loam.dir/all' failed make[1]: [loam_velodyne/src/lib/CMakeFiles/loam.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j4 -l4" failed

Anybody knows what is the problem? Many thanks

zr2539168 commented 6 years ago

it happens when run catkin_make -DCMAKE_BUILD_TYPE=Release

adishavit commented 6 years ago

See or #84. https://github.com/laboshinl/loam_velodyne/pull/84

On Fri, 24 Aug 2018 at 13:57 zr2539168 notifications@github.com wrote:

it happens when run catkin_make -DCMAKE_BUILD_TYPE=Release

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/laboshinl/loam_velodyne/issues/87#issuecomment-415725683, or mute the thread https://github.com/notifications/unsubscribe-auth/ABuxEBalZDwEmk3ojS1PY3io93CZ7mUuks5uT9wMgaJpZM4WLJwi .