compiling wsjtx 2.6.0 undefined reference to `libusb....

3 posts / 0 new
Last post
oe1msb
Offline
Last seen: 1 month 2 days ago
Joined: 2008/05/02 - 23:41
compiling wsjtx 2.6.0 undefined reference to `libusb....

Hi,
tried wsjtx 2.6. to run on raspi 4. works so far ok, but in mode wspr instead of tx 2 minutes it does only 1 minute.
Therefor I tried to compile from source on raspi os buster to check if it is possible on my raspi, to dig later around in source maybe to find a solution.

Wsjtx part is ok, but at the hamlib part I get a lot of errors beginning with "undefined reference to `libusb...".
One off this lines looks like:
/usr/bin/ld: /home/pi/Downloads/wsjtx-2.6.0/hamlib-prefix/src/hamlib/rigs/kit/funcube.c:489: undefined reference to `libusb_error_name'

I have no real idea how I can solve this, even when I googled it and found similar request for other programms.
No real experience with C++. Code reading and adapting ok sometimes. I use mainly python and tkinter or qt5.

Has anyone a hint or an adapted CMakeLists.txt (I think there is something to adapt)
libusb-1.0-0 and libusb-1.0-0-dev is installed.

73
Michael oe1msb