Different package version from voxl-cross and Voxl2
-
Hi,
I am having an issue with compiling a library with voxl-cross and runing it on the Voxl2 board. I did compile on voxl-cross but when I try to run a programme that use the library. I got an error with libusb :
voxl-tcp-neuro: symbol lookup error: /usr/local/lib/libcaer.so.3: undefined symbol: libusb_set_log_cb
After a researching on google and asking AI chat bot. I found that the version of libusb on the Voxl2 board is 1.0.21 in contrast to 1.0.27 on voxl-cross. The result is that libusb missing libusb_set_log_cb.
I tried to update the version on Voxl2 but I did not succed because 1.0.21 is the latest version availible on ubuntu 18, but voxl-cross seem to run ubuntu 24.
Is there a way to make it work ?
-
Hi,
I am having an issue with compiling a library with voxl-cross and runing it on the Voxl2 board. I did compile on voxl-cross but when I try to run a programme that use the library. I got an error with libusb :
voxl-tcp-neuro: symbol lookup error: /usr/local/lib/libcaer.so.3: undefined symbol: libusb_set_log_cb
After a researching on google and asking AI chat bot. I found that the version of libusb on the Voxl2 board is 1.0.21 in contrast to 1.0.27 on voxl-cross. The result is that libusb missing libusb_set_log_cb.
I tried to update the version on Voxl2 but I did not succed because 1.0.21 is the latest version availible on ubuntu 18, but voxl-cross seem to run ubuntu 24.
Is there a way to make it work ?
@remill said in Different package version from voxl-cross and Voxl2:
1.0.27
Perhaps you can build the desired version of libusb from source and install it? We have used this approach for a variety of other "third party" libraries. Examples are here: https://gitlab.com/voxl-public/voxl-sdk/third-party?page=1
-
@remill said in Different package version from voxl-cross and Voxl2:
1.0.27
Perhaps you can build the desired version of libusb from source and install it? We have used this approach for a variety of other "third party" libraries. Examples are here: https://gitlab.com/voxl-public/voxl-sdk/third-party?page=1
I tried it based on this project
but it need a CMakeList.txt for it to compile. I did build other third party library succesfully, but building libusb from source file does not provide a CMakeList.txt, at least from their github. The only way they sugesst to install is with apt.
Is their a way to build from source without a Cmakelist.txt file ?
-
I tried it based on this project
but it need a CMakeList.txt for it to compile. I did build other third party library succesfully, but building libusb from source file does not provide a CMakeList.txt, at least from their github. The only way they sugesst to install is with apt.
Is their a way to build from source without a Cmakelist.txt file ?
@remill libusb doesn't use cmake. It uses autogen.sh, configure, make, etc. These are standard Linux build tools. If you enter a query such as "How do I build libusb on Linux?" into Google and check AI mode it will provide you with all the steps.
-
@remill libusb doesn't use cmake. It uses autogen.sh, configure, make, etc. These are standard Linux build tools. If you enter a query such as "How do I build libusb on Linux?" into Google and check AI mode it will provide you with all the steps.
@Eric-Katzfey
Thanks Eric, building directly on the Voxl2 platform works.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login