scopehal-apps icon indicating copy to clipboard operation
scopehal-apps copied to clipboard

CMake does not check for libhidapi

Open GyrosGeier opened this issue 4 months ago • 3 comments

If libhidapi-dev is not installed, CMake configures the source tree, then the build fails with a missing include file.

GyrosGeier avatar Aug 24 '25 13:08 GyrosGeier

Thanks, will get this fixed quick.

Also not sure if you saw, but FFTS is no longer a run time dependency (only used at compile/test time when making unit tests, this is planned to be replaced with FFTW in the indefinite future but is low priority) which should make proper Debian packaging easier as you no longer have to package it.

azonenberg avatar Aug 24 '25 15:08 azonenberg

@GyrosGeier Looks like this was actually already fixed upstream in libxptools and we were pulling in an old version in the submodule. Can you confirm d240544 fixes it and close this issue if so?

azonenberg avatar Aug 24 '25 15:08 azonenberg

(made some other fixes to correct breakage on other platforms caused by the same issue, just try latest git head)

azonenberg avatar Aug 24 '25 16:08 azonenberg