Opened 20 months ago

Last modified 14 months ago

#67189 assigned defect

hidapi @0.12.0_0: hidapi_darwin.h missing — at Initial Version

Reported by: UNIVAC-Colonel-Panic Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: raimue@…
Port: hidapi

Description

My first report -- please be kind :) as I am not very familiar with the MacPorts ecosystem.

I'm compiling a program and it fails with this error:

fatal error: 'hidapi/hidapi_darwin.h' file not found; #include <hidapi/hidapi_darwin.h>

When I extract the source tarball: https://github.com/libusb/hidapi/archive/refs/tags/hidapi-0.12.0.tar.gz

there are two hidapi-related headers:

hidapi-0.12.0/mac/hidapi_darwin.h (about 4k bytes)

hidapi-0.12.0/hidapi/hidapi.h (about 18k bytes)

After I do 'sudo port install hidapi' the only hidapi-related header file on my Big Sur is located here:

/opt/local/include/hidapi/hidapi.h (about 18k bytes)

In case it helps, Homebrew puts these headers here:

/usr/local/include/hidapi/hidapi.h -> /usr/local/Cellar/hidapi/... (about 18k bytes)

/usr/local/opt/hidapi/include/hidapi/hidapi.h -> /usr/local/Cellar/hidapi/... (about 18k bytes)

/usr/local/include/hidapi/hidapi_darwin.h -> /usr/local/Cellar/hidapi/... (about 4k bytes)

/usr/local/opt/hidapi/include/hidapi/hidapi_darwin.h -> /usr/local/Cellar/hidapi/... (about 4k bytes)

Change History (0)

Note: See TracTickets for help on using tickets.