HKUST-Aerial-Robotics/Btraj

Build failed on my own PC

paulwong16 opened this issue · 8 comments

Hi Gao,

It seems something wrong happened with catkin_make, would you mind helping me fix it?

All the best wishes,

make[2]: *** [Btraj/third_party/sdf_tools/CMakeFiles/sdf_tools.dir/src/sdf_tools/sdf.cpp.o] 错误 1
make[2]: *** 正在等待未完成的任务....
make[2]: *** [Btraj/third_party/sdf_tools/CMakeFiles/sdf_tools.dir/src/sdf_tools/dynamic_spatial_hashed_collision_map.cpp.o] 错误 1
make[2]: *** [Btraj/third_party/sdf_tools/CMakeFiles/sdf_tools.dir/src/sdf_tools/collision_map.cpp.o] 错误 1
make[1]: *** [Btraj/third_party/sdf_tools/CMakeFiles/sdf_tools.dir/all] 错误 2
make: *** [all] 错误 2
Invoking "make -j12 -l12" failed

@paulwong16 Sure I will check the compilation now. Also I recommend you try to remove the generated files in catkin_ws/devel and catkin_ws/build/ and compile it again.

@paulwong16 Paul, I can compile this package, maybe I should test it on many other machines. Before that, under what environment (ubuntu version, gcc version) you are compiling?

@paulwong16 Also, try to use the command catkin_make -j1 instead of catkin_make .

@USTfgaoaa
Hi Gao,
Thanks for your kind reply.

I was testing this on two computer both running Ubuntu 14.04, gcc 4.8.2. I noticed that your testing environment was Ubuntu 16.04, so maybe something went wrong with it. Besides, I have tried to build another package GTOP that your group has published, actually, the terminal showed the same warnings.

All the best wishes,
Paul

I have copied the warnings shown in the terminal when compiling in this file.

warnings.txt

@paulwong16 Actually we can not guarantee anything if your environment is 14.04. I will find a 14.04 machine and try it. Will reply you later. But, seemed that there are some problems related to boost library. I don't think I can deal with that and I would suggest you switch to 16.04.

@USTfgaoaa Thank you, Gao. I will try to build it on another computer running 16.04. In addition, I noticed that the same wrong happened when I compiling the package GTOP. I also consider that it was related to boost library, could you tell me which version of boost library that you are using?

@paulwong16 boost 1.58 I think, along with ros-kinetic.