mfgtools
mfgtools copied to clipboard
brew installs libusb 1.0.26 but make expects 1.0.25
The pathing on Mac doesn't seem to be working since homebrew installs 1.0.26 for libusb hence the path becomes /usr/local/Cellar/libusb/1.0.26
However, the makefile seems to be looking for .../1.0.25
63%] Linking CXX executable uuu ld: warning: directory not found for option '-L/usr/local/Cellar/libusb/1.0.25/lib' ld: library not found for -lusb-1.0 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [uuu/uuu] Error 1 make[1]: *** [uuu/CMakeFiles/uuu.dir/all] Error 2 make: *** [all] Error 2
CI build pass with 1.0.26
libusb 1.0.25 is already installed but outdated (so it will be upgraded). Warning: pkg-config 0.29.2_3 is already installed and up-to-date. To reinstall 0.29.2_3, run: brew reinstall pkg-config ==> Downloading https://ghcr.io/v2/homebrew/core/libusb/manifests/1.0.26 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libusb/blobs/sha256:72ed40aec03 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Upgrading libusb 1.0.25 -> 1.0.26
Detail log https://ci.appveyor.com/project/nxpfrankli/mfgtools-kvqcg/builds/43259927/job/mrpqu2h3oj2m0016
You can compared with your environment.