-
Notifications
You must be signed in to change notification settings - Fork 49
Description
Hi,
I'm trying to build this code on Flight Pro and RB3 and it's failed with the error.
[100%] Linking CXX executable /home/linaro/ros_ws/devel/lib/snap_ros_examples/snap_vislam_node
/usr/lib/gcc/arm-oemllib32-linux-gnueabi/4.9.3/../../../../arm-oemllib32-linux-gnueabi/bin/ld: error: /usr/lib/libmv1.so uses VFP register arguments, output does not
collect2: error: ld returned 1 exit status
snap_ros_examples/CMakeFiles/snap_vislam_node.dir/build.make:143: recipe for target '/home/linaro/ros_ws/devel/lib/snap_ros_examples/snap_vislam_node' failed
make[3]: *** [/home/linaro/ros_ws/devel/lib/snap_ros_examples/snap_vislam_node] Error 1
CMakeFiles/Makefile2:812: recipe for target 'snap_ros_examples/CMakeFiles/snap_vislam_node.dir/all' failed
make[2]: *** [snap_ros_examples/CMakeFiles/snap_vislam_node.dir/all] Error 2
CMakeFiles/Makefile2:824: recipe for target 'snap_ros_examples/CMakeFiles/snap_vislam_node.dir/rule' failed
make[1]: *** [snap_ros_examples/CMakeFiles/snap_vislam_node.dir/rule] Error 2
Makefile:446: recipe for target 'snap_vislam_node' failed
make: *** [snap_vislam_node] Error 2
Invoking "make snap_vislam_node -j2 -l2" failed
I googled the VFP register arguments issue and someone said using the compiler arm-linux-gnueabihf will fix it.
It seems calling the compiler "arm-linux-gnueabihf" failed.
I don't know why it's using the arm-oemllib32-linux-gnueabi not the arm-linux-gnueabihf in CMakelist.txt CMAKE_EXE_LINKER_FLAGS.
Anyone can help?