psmoveapi icon indicating copy to clipboard operation
psmoveapi copied to clipboard

Building on arch linux fails because cmake is looking for both libusb and libusb-1.0

Open Dragon20C opened this issue 2 weeks ago • 2 comments

System : Manjaro linux (arch based)

Steps to reproduce: 1: Git clone repo 2: make new folder/dir named build 3: run cmake ..

it will fail with a message of libusb not installed, checking the cmakelist in (psmoveapi/src/utils/CMakeLists.txt) and I see that it checks for both libusb and libusb-1.0 instead of checking for if one or the other exists.

fix: Just make a simple check to see if one or the other exist and if they do setup those packages else print not installed message.

Dragon20C avatar Dec 31 '25 17:12 Dragon20C