Connor

a space for my professional and personal development.

/usr/bin/ld: skipping incompatible …/libs/unix/libusb-1.0.a when searching for -lusb-1.0

When compiling xscopes-qt on Ubuntu 16.04.2 (x86_64) I get the following error message:

/usr/bin/ld: skipping incompatible .../libs/unix/libusb-1.0.a when searching for -lusb-1.0


All you have to do is delete …/libs/unix/{libusb-1.0.a,libusb-1.0.so.0.1.0}
Rerun the following commands:

make clean && qmake && make -j5

And you should be good to go.
When opening Xscope as a normal user you’ll probably get the following usb permission error which connecting the xprotolab appears as it’s not connected:

You can either run Xscope as a root user or add the following to /etc/udev/rules.d/10-odroid.rules:

SUBSYSTEMS==”usb”, ATTRS{idVendor}==”16d0″, ATTRS{idProduct}==”06f9″, GROUP=”users”, MODE=”0666″

Reload udev:

sudo udevadm control --reload

DROP A COMMENT

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.