Open scirelli opened 4 years ago
At first make failed same as this issue. I used the solution in the thread and then the build fails during linking with:
[100%] Linking CXX executable gchd ld: library not found for -lusb-1.0 clang: error: linker command failed with exit code 1 (use -v to see invocation)
To get around this I had to edit the elgato-gchd/build/src/CMakeFiles/gchd.dir/link.txt file. Adding a path to the usb-1.0 library
elgato-gchd/build/src/CMakeFiles/gchd.dir/link.txt
usb-1.0
-L/usr/local/Cellar/libusb/1.0.23/lib -lusb-1.0
And the symlinking usb-1.0@ -> libusb-1.0.a
usb-1.0@ -> libusb-1.0.a
cd /usr/local/Cellar/libusb/1.0.23/lib/ ln -s libusb-1.0.a usb-1.0
The build completed after this. I still have to test that it works though.
At first make failed same as this issue. I used the solution in the thread and then the build fails during linking with:
To get around this I had to edit the
elgato-gchd/build/src/CMakeFiles/gchd.dir/link.txt
file. Adding a path to theusb-1.0
libraryAnd the symlinking
usb-1.0@ -> libusb-1.0.a
The build completed after this. I still have to test that it works though.