I cannot compile any samples successfully

platform: x86
cuda 11.4
ubuntu 18.04

  1. Cheese can display the camera.
  2. The tools of SDK can be executed correctly
  3. If I compile a sample, such as tutorials/tutorial 1 - hello ZED, the steps are as follows:
    a. mkdir build && cd build
    b. cmake …
    c. make
    the terminal will note:
    make[2]: *** No rule to make target ‘/usr/lib/x86_64-linux-gnu/libusb-1.0.so’, needed by ‘ZED_Tutorial_1’. Stop.
    CMakeFiles/Makefile2:67: recipe for target ‘CMakeFiles/ZED_Tutorial_1.dir/all’ failed
    make[1]: *** [CMakeFiles/ZED_Tutorial_1.dir/all] Error 2
    Makefile:83: recipe for target ‘all’ failed
    make: *** [all] Error 2
    While I checked the file libusb-1.0.so in /usr/lib/x86_64-linux-gnu:
    /usr/lib/x86_64-linux-gnu$ ls -lh | grep libusb-1.0.so
    lrwxrwxrwx 1 root root 29 3月 23 14:32 libusb-1.0.so → ./usr/local/lib/libusb-1.0.so
  4. How can I solve this problem? thanks!

BTW, I just want to turn off the function of AWB.

Hi @Jason
try to install the missing package:
$ sudo apt install libusb-1.0-0 libusb-1.0-0-dev

1 Like