Anonator

  • *
  • 34
  • UAAV experimenting
Ubuntu 18.04 compiling "next" fails
« on: December 09, 2018, 03:11:29 am »
Get following error trying compile on my newly updated Linux.

Project ERROR: libusb-1.0 development package not found

Yet apt-get install reports
libusb-1.0-0-dev is already the newest version (2:1.0.21-2)

Please help...
Ubuntu 18.04LTS.  F450 Quad.  3 Fixed wing planes.  Revo and OmniF4 flight controllers.

Re: Ubuntu 18.04 compiling "next" fails
« Reply #1 on: December 09, 2018, 08:08:00 am »
Here is a list of my libusb stuff that is installed or not.

I see there are 2 dev packages and there are both i386 and amd64 architectures.  Obviously I am running a 64bit distro.  :)

Code: [Select]
[email protected] ~ $ dpkg -l *libusb*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name               Version        Architecture   Description
+++-==================-==============-==============-==========================================
ii  libusb-0.1-4:amd64 2:0.1.12-23.3u amd64          userspace USB programming library
ii  libusb-1.0-0:amd64 2:1.0.17-1ubun amd64          userspace USB programming library
ii  libusb-1.0-0:i386  2:1.0.17-1ubun i386           userspace USB programming library
ii  libusb-1.0-0-dev:a 2:1.0.17-1ubun amd64          userspace USB programming library developm
un  libusb-1.0-doc     <none>         <none>         (no description available)
ii  libusb-dev         2:0.1.12-23.3u amd64          userspace USB programming library developm
un  libusb0            <none>         <none>         (no description available)
ii  libusbmuxd2        1.0.8-2ubuntu1 amd64          USB multiplexor daemon for iPhone and iPod

[email protected] ~ $ cat /etc/lsb-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=17.2
DISTRIB_CODENAME=rafaela
DISTRIB_DESCRIPTION="Linux Mint 17.2 Rafaela"

[email protected] ~ $ uname -a
Linux i925 4.4.0-139-generic #165~14.04.1-Ubuntu SMP Wed Oct 31 10:55:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux