I'm having a great deal of trouble trying to install svo.
I've managed to get to this stage through a lot of googling, but now im treated with the following:
[svo_ros] ==> '/home/bravo/svo_install_overlay_ws/build/svo_ros/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j' in '/home/bravo/svo_install_overlay_ws/build/svo_ros'
make: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
[ 0%] Built target svo_msgs_generate_messages_cpp
[ 0%] Built target topic_tools_generate_messages_nodejs
...
[ 0%] Built target tf2_msgs_generate_messages_nodejs
[ 0%] Built target bond_generate_messages_nodejs
[ 11%] Linking CXX shared library /home/bravo/svo_install_overlay_ws/devel/lib/libsvo_ros.so
/home/bravo/svo_install_ws/install/lib/libsvo.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
CMakeFiles/svo_ros.dir/build.make:423: recipe for target '/home/bravo/svo_install_overlay_ws/devel/lib/libsvo_ros.so' failed
make[2]: [/home/bravo/svo_install_overlay_ws/devel/lib/libsvo_ros.so] Error 1
CMakeFiles/Makefile2:419: recipe for target 'CMakeFiles/svo_ros.dir/all' failed
make[1]: [CMakeFiles/svo_ros.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
[svo_ros] <== '/home/bravo/svo_install_overlay_ws/build/svo_ros/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j' failed with return code '2'
Failed <== svo_ros [ 10.9 seconds ]
[build] There were '1' errors:
Failed to build package 'svo_ros' because the following command:
Command to reproduce:
cd /home/bravo/svo_install_overlay_ws/build/svo_ros && /home/bravo/svo_install_overlay_ws/build/svo_ros/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j; cd -
The error seems to be this line:
/home/bravo/svo_install_ws/install/lib/libsvo.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
I'm having a great deal of trouble trying to install svo. I've managed to get to this stage through a lot of googling, but now im treated with the following:
Running catkin build:
Found '6' packages in 0.1 seconds. Starting ==> catkin_simple
Starting ==> cv_bridge
Starting ==> image_geometry
Starting ==> opencv_tests
Starting ==> vision_opencv
Finished <== catkin_simple [ 1.7 seconds ]
Finished <== opencv_tests [ 2.1 seconds ]
Finished <== vision_opencv [ 2.4 seconds ]
Finished <== image_geometry [ 6.7 seconds ]
Finished <== cv_bridge [ 11.0 seconds ]
Starting ==> svo_ros
[svo_ros] ==> '/home/bravo/svo_install_overlay_ws/build/svo_ros/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j' in '/home/bravo/svo_install_overlay_ws/build/svo_ros' make: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. [ 0%] Built target svo_msgs_generate_messages_cpp [ 0%] Built target topic_tools_generate_messages_nodejs
...
[ 0%] Built target tf2_msgs_generate_messages_nodejs [ 0%] Built target bond_generate_messages_nodejs [ 11%] Linking CXX shared library /home/bravo/svo_install_overlay_ws/devel/lib/libsvo_ros.so /home/bravo/svo_install_ws/install/lib/libsvo.so: error adding symbols: File in wrong format collect2: error: ld returned 1 exit status CMakeFiles/svo_ros.dir/build.make:423: recipe for target '/home/bravo/svo_install_overlay_ws/devel/lib/libsvo_ros.so' failed make[2]: [/home/bravo/svo_install_overlay_ws/devel/lib/libsvo_ros.so] Error 1 CMakeFiles/Makefile2:419: recipe for target 'CMakeFiles/svo_ros.dir/all' failed make[1]: [CMakeFiles/svo_ros.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 [svo_ros] <== '/home/bravo/svo_install_overlay_ws/build/svo_ros/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j' failed with return code '2'
Failed <== svo_ros [ 10.9 seconds ]
[build] There were '1' errors:
Failed to build package 'svo_ros' because the following command:
Command to reproduce:
cd /home/bravo/svo_install_overlay_ws/build/svo_ros && /home/bravo/svo_install_overlay_ws/build/svo_ros/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j; cd -
Path to log:
cat /home/bravo/svo_install_overlay_ws/build/build_logs/svo_ros.log
Exited with return code: 2
The error seems to be this line: /home/bravo/svo_install_ws/install/lib/libsvo.so: error adding symbols: File in wrong format collect2: error: ld returned 1 exit status