Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building code failed with error: /usr/lib/libmv1.so uses VFP register arguments, output does not #18

Open
rtung7897 opened this issue Jul 20, 2022 · 0 comments

Comments

@rtung7897
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant