在mac上构建HIDAPI的问题

在mac上构建HIDAPI的问题,c,macos,hidapi,C,Macos,Hidapi,我正在尝试使用HIDAPI库来帮助为mac构建一些hid驱动程序。在自述文件之后,我被告知进入mac目录并运行make命令。不幸的是,这并没有起到多大作用,我在自述文件中没有看到任何需要与make一起运行的命令 我现在对使用TestGUI不感兴趣,因此如果我正确理解了文档,我就不需要安装fox toolkit并使用它运行make命令 有人知道我是否遗漏了一个步骤吗?我知道这个问题已经问了3年了,但今天我遇到了对所包含自述文件的同样误解 在mac上构建库的解决方案是(在mac文件夹中,使用终端)运

我正在尝试使用HIDAPI库来帮助为mac构建一些hid驱动程序。在自述文件之后,我被告知进入mac目录并运行make命令。不幸的是,这并没有起到多大作用,我在自述文件中没有看到任何需要与make一起运行的命令

我现在对使用TestGUI不感兴趣,因此如果我正确理解了文档,我就不需要安装fox toolkit并使用它运行make命令


有人知道我是否遗漏了一个步骤吗?

我知道这个问题已经问了3年了,但今天我遇到了对所包含自述文件的同样误解

mac上构建库的解决方案是(在mac文件夹中,使用终端)运行以下操作:

make-f Makefile手册

这将构建库,然后您可以通过运行测试程序测试结果,测试程序包括:

测试

结果应类似于:

Device Found
  type: 05ac 025a
  path: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/XHC1@14/XHC1@14000000/HS05@14400000/Apple Internal Keyboard / Trackpad@14400000/Touchpad@1/AppleUSBMultitouchDriver@14400000,1
  serial_number: 
  Manufacturer: Apple Inc.
  Product:      Apple Internal Keyboard / Trackpad
  Release:      224
  Interface:    -1

Device Found
  type: 05ac 030d
  path: IOService:/IOResources/IOBluetoothHCIController/AppleBroadcomBluetoothHostController/IOBluetoothDevice/IOBluetoothL2CAPChannel/BNBMouseDevice
  serial_number: **-**-**-**-**-**
  Manufacturer: Apple
  Release:      306
  Interface:    -1

...

我知道这个问题已经问了3年了,但今天我遇到了对自述文件的同样误解

mac上构建库的解决方案是(在mac文件夹中,使用终端)运行以下操作:

make-f Makefile手册

这将构建库,然后您可以通过运行测试程序测试结果,测试程序包括:

测试

结果应类似于:

Device Found
  type: 05ac 025a
  path: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/XHC1@14/XHC1@14000000/HS05@14400000/Apple Internal Keyboard / Trackpad@14400000/Touchpad@1/AppleUSBMultitouchDriver@14400000,1
  serial_number: 
  Manufacturer: Apple Inc.
  Product:      Apple Internal Keyboard / Trackpad
  Release:      224
  Interface:    -1

Device Found
  type: 05ac 030d
  path: IOService:/IOResources/IOBluetoothHCIController/AppleBroadcomBluetoothHostController/IOBluetoothDevice/IOBluetoothL2CAPChannel/BNBMouseDevice
  serial_number: **-**-**-**-**-**
  Manufacturer: Apple
  Release:      306
  Interface:    -1

...

请发布一些来自
make
命令的输出。@Preston,所以我得到了它,但我想手动将hidapi库添加到现有项目中。在mac Directory中运行make命令后,我没有看到头文件。请发布
make
命令的一些输出。@Preston,因此我得到了它来构建,但我想手动将hidapi库添加到现有项目中。在mac目录中运行make命令后,我没有看到头文件