Skip to content

fatal error: 'usb.h' file not found #5

@andyOfOtter

Description

@andyOfOtter

using
python setup.py build
fails with

building 'aksyx' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DAKSY_DEBUG=0 -I/usr/local/Cellar/libusb-compat/0.1.5_1/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/aksyx/aksyx.c -o build/temp.macosx-10.10-intel-2.7/src/aksyx/aksyx.o
src/aksyx/aksyx.c:5:10: fatal error: 'usb.h' file not found
#include <usb.h>
^
1 error generated.
error: command 'cc' failed with exit status 1

same error on two Macs, one running 10.10.5, the other 10.12
both running Python 2.7.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions