Invoking " make -j8 -l8 " failed

asked 2022-05-01 21:23:33 -0500

Meerkat25 gravatar image

updated 2022-05-01 21:25:35 -0500

Hello, I get -j8 -l8 error when running Catkin_make. What's the solution?

[Ubuntu 18.04 ROS(melodic)]

uavxavier@uavxavier-desktop:~/catkin_ws$ catkin_make -DCMAKE_BUILD_TYPE=Release Base path: /home/uavxavier/catkin_ws Source space: /home/uavxavier/catkin_ws/src Build space: /home/uavxavier/catkin_ws/build Devel space: /home/uavxavier/catkin_ws/devel Install space: /home/uavxavier/catkin_ws/install #### #### Running command: "make cmake_check_build_system" in "/home/uavxavier/catkin_ws/build" #### #### #### Running command: "make -j8 -l8" in "/home/uavxavier/catkin_ws/build" #### [ 0%] Built target std_msgs_generate_messages_lisp [ 0%] Built target std_msgs_generate_messages_eus [ 0%] Built target std_msgs_generate_messages_py [ 0%] Built target std_msgs_generate_messages_nodejs [ 0%] Built target std_msgs_generate_messages_cpp [ 0%] Built target _velodyne_msgs_generate_messages_check_deps_VelodynePacket [ 0%] Built target geometry_msgs_generate_messages_cpp [ 6%] Built target fast_gicp [ 6%] Built target _velodyne_msgs_generate_messages_check_deps_VelodyneScan [ 7%] Building CXX object ndt_omp/CMakeFiles/ndt_omp.dir/src/pclomp/voxel_grid_covariance_omp.cpp.o [ 7%] Built target _hdl_graph_slam_generate_messages_check_deps_DumpGraph [ 7%] Built target _hdl_graph_slam_generate_messages_check_deps_SaveMap c++: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’? c++: error: unrecognized command line option ‘-msse2’ c++: error: unrecognized command line option ‘-msse3’ c++: error: unrecognized command line option ‘-msse4’ c++: error: unrecognized command line option ‘-msse4.1’ c++: error: unrecognized command line option ‘-msse4.2’ c++: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’? c++: error: unrecognized command line option ‘-msse2’ c++: error: unrecognized command line option ‘-msse3’ c++: error: unrecognized command line option ‘-msse4’ c++: error: unrecognized command line option ‘-msse4.1’ c++: error: unrecognized command line option ‘-msse4.2’ ndt_omp/CMakeFiles/ndt_omp.dir/build.make:62: recipe for target 'ndt_omp/CMakeFiles/ndt_omp.dir/src/pclomp/voxel_grid_covariance_omp.cpp.o' failed make[2]: * [ndt_omp/CMakeFiles/ndt_omp.dir/src/pclomp/voxel_grid_covariance_omp.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... [ 7%] Built target geometry_msgs_generate_messages_nodejs [ 7%] Built target _hdl_graph_slam_generate_messages_check_deps_FloorCoeffs [ 8%] Building CXX object ndt_omp/CMakeFiles/ndt_omp.dir/src/pclomp/ndt_omp.cpp.o [ 8%] Built target geometry_msgs_generate_messages_py c++: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’? c++: error: unrecognized command line option ‘-msse2’ c++: error: unrecognized command line option ‘-msse3’ c++: error: unrecognized command line option ‘-msse4’ c++: error: unrecognized command line option ‘-msse4.1’ c++: error: unrecognized command line option ‘-msse4.2’ c++: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’? c++: error: unrecognized command line option ‘-msse2’ c++: error: unrecognized command line option ‘-msse3’ c++: error: unrecognized command line option ‘-msse4’ c++: error: unrecognized command line option ‘-msse4.1’ c++: error: unrecognized command line option ‘-msse4.2’ ndt_omp/CMakeFiles/ndt_omp.dir/build.make:86: recipe for target 'ndt_omp/CMakeFiles/ndt_omp.dir/src/pclomp/ndt_omp.cpp.o' failed make[2]: [ndt_omp/CMakeFiles/ndt_omp.dir/src/pclomp/ndt_omp.cpp.o] Error 1 CMakeFiles/Makefile2:2364: recipe for target 'ndt_omp/CMakeFiles/ndt_omp.dir/all' failed make[1]: [ndt_omp/CMakeFiles/ndt_omp.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 8%] Built target geometry_msgs_generate_messages_lisp [ 8%] Built target geometry_msgs_generate_messages_eus [ 9%] Built target velodyne_driver_gencfg [ 9%] Built target diagnostic_msgs_generate_messages_nodejs [ 9%] Built target dynamic_reconfigure_generate_messages_lisp [ 9%] Built target bond_generate_messages_py [ 9%] Built target _hdl_graph_slam_generate_messages_check_deps_ScanMatchingStatus Makefile:140: recipe for target 'all' failed make: * [all] Error 2 Invoking "make -j8 -l8" failed

edit retag flag offensive close merge delete