ZJU-FAST-Lab / ego-planner-swarm

An efficient single/multi-agent trajectory planner for multicopters.
GNU General Public License v3.0
1.14k stars 223 forks source link

“catkin_make -j1” #10

Closed ZK-SJTU closed 3 years ago

ZK-SJTU commented 3 years ago

function catkin_make -j1,an error occurred.

/usr/local/include/eigen3/Eigen/src/Core/Assign.h:55:30: note: no known conversion for argument 1 from ‘double’ to ‘const Eigen::MatrixBase<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, double, double> >&’ planner/traj_utils/CMakeFiles/traj_utils.dir/build.make:86: recipe for target 'planner/traj_utils/CMakeFiles/traj_utils.dir/src/polynomial_traj.cpp.o' failed make[2]: [planner/traj_utils/CMakeFiles/traj_utils.dir/src/polynomial_traj.cpp.o] Error 1 CMakeFiles/Makefile2:5925: recipe for target 'planner/traj_utils/CMakeFiles/traj_utils.dir/all' failed make[1]: [planner/traj_utils/CMakeFiles/traj_utils.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j1" failed

bigsuperZZZX commented 3 years ago

I have never encountered such problems. Seems that there is something wrong with the compiling environment.

USTfgaoaa commented 3 years ago

@ZK-SJTU Try to delete all build and devel files and re-compile the whole workspace with -j1.