5 Replies Latest reply on Nov 26, 2014 10:31 PM by ahochan

    Problems compiling libnfc on Edison (libusb)

    ahochan

      Hi,

       

      I am trying to compile libnfc 1.7.1 on the Edison. It requires libusb.

       

      I edited sources for opkg as described here:

      http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html

       

      After that, I was successfully able to install libusb with this command:

      opkg install libusb-1.0-dev

       

      However, after the installation, configure still cannot find libusb.


      Specifically:

      Running lsusb gives this error message: unable to initialize libusb: -99

       

      There is no usb.h file (I looked in /usr/include, also configure says it cannot find it):

      checking for libusb... no

      checking for libusb... no

      checking for libusb-config... no