Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Logic PD support staff and engineers participate, Logic PD does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Logic PD engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Logic PD product download, please subscribe to the TDG Forum of interest.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 02 Sep 2018 10:16 PM by  bradb
Build error usbutils, libusb.h: No such file or directory
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Steve Postlewait



New Member


Posts:4
New Member


--
30 Aug 2018 12:55 PM

    I am using the DM3730 kit.

    Under the following section (usbutils), I get this error message:

    Processing: usbutils
    ======================
    Build path taken because: directory build, build key set, no prebuilt rpm,

    ...

    In file included from usbmisc.c:35:
    usbmisc.h:29:20: error: libusb.h: No such file or directory
    _____________________________

    Does anyone have a solution for this error? I believe I have traced the setup steps properly (I used ./ltib_setup.sh), and everything runs properly up to this point. Any help or ideas would be much appreciated.


    bradb



    Basic Member


    Posts:196
    Basic Member


    --
    30 Aug 2018 01:52 PM

    Steve,

    Which DM37x Linux guide are your referencing?

    Can you provide the output of the following commands from your Linux host system?
    $ uname -mrsa
    $ lsb_release -a
    $ dpkg -l | grep libusb

    Thanks,
    Brad


    Steve Postlewait



    New Member


    Posts:4
    New Member


    --
    30 Aug 2018 06:06 PM

    Hi Brad,

    I'm referencing the 1020203H_DM37x_Linux_BSP_UM.pdf.

    Here is my output to the functions you asked for. You'll see I'm running a chroot 12.04 environment for the build within a 16.04 environment.

    stevepostlewait@KMD-054:~$ schroot -c precise_new -u stevepostlewait
    (precise_new)stevepostlewait@KMD-054:~$ uname -mrsa
    Linux KMD-054 4.15.0-33-generic #36~16.04.1-Ubuntu SMP Wed Aug 15 17:21:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
    (precise_new)stevepostlewait@KMD-054:~$ lsb_release -a
    No LSB modules are available.
    Distributor ID:    Ubuntu
    Description:    Ubuntu 12.04 LTS
    Release:    12.04
    Codename:    precise
    (precise_new)stevepostlewait@KMD-054:~$ dpkg -l | grep libusb
    ii  libusb-0.1-4                           2:0.1.12-20                             userspace USB programming library
    ii  libusb-1.0-0                           2:1.0.9~rc3-2ubuntu1                    userspace USB programming library
    ii  libusb-dev                             2:0.1.12-20                             userspace USB programming library development files
    ii  libusbmuxd1                            1.0.7-2                                 USB multiplexor daemon for iPhone and iPod Touch devices - library
     

    Thanks,

    Steve


    bradb



    Basic Member


    Posts:196
    Basic Member


    --
    02 Sep 2018 10:16 PM
    Steve,

    Friday I was able to duplicate your issues when also trying to build the BSP using the docker container in Ubuntu 16.04. I will work with our developers to see if we can find a solution for this issue.

    In the meantime, we do have a virtual machine available on the product support website that can be run in Linux and Windows using Virtual Box.

    I see the build time is much quicker using the docker container so we hope to find a solution soon.

    Thanks,
    Brad
    You are not authorized to post a reply.