HKUST-Aerial-Robotics / Btraj

Bezier Trajectory Generation for Autonomous Quadrotor, ICRA 2018
408 stars 138 forks source link

compile problem related to libmosek64.so #11

Open chongjingzheng opened 4 years ago

chongjingzheng commented 4 years ago

Linking CXX executable /home/chong/bezier_pathplan/devel/lib/bezier_planer/b_traj_node /usr/bin/ld:/home/chong/bezier_pathplan/src/Btraj/third_party/mosek/lib/mosek8_1/libmosek64.so: file format not recognized; treating as linker script /usr/bin/ld:/home/chong/bezier_pathplan/src/Btraj/third_party/mosek/lib/mosek8_1/libmosek64.so:1: syntax error collect2: error: ld returned 1 exit status Btraj/CMakeFiles/b_traj_node.dir/build.make:579: recipe for target '/home/chong/bezier_pathplan/devel/lib/bezier_planer/b_traj_node' failed make[2]: [/home/chong/bezier_pathplan/devel/lib/bezier_planer/b_traj_node] Error 1 CMakeFiles/Makefile2:2672: recipe for target 'Btraj/CMakeFiles/b_traj_node.dir/all' failed make[1]: [Btraj/CMakeFiles/b_traj_node.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j4 -l4" failed

zhang261007 commented 4 years ago

I've got the same one, while after downloading the mosek source code from https://www.mosek.com/downloads/list/8/ and replacing the files in Btraj/third_party/mosek, then it worked; while with the help of google, maybe git clone failing downloading the whole files.

linxigjs commented 2 years ago

download .so files from here https://github.com/HKUST-Aerial-Robotics/mockasimulator/tree/master/utils/cmake_utils/lib/mosek8
then replace the files in Btraj/third_party/mosek/lib/mosek8_1
then catkin_make work for me