HKUST-Aerial-Robotics/Btraj

compile problem related to libmosek64.so

Opened this issue · 2 comments

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

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.

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