Description / Steps to reproduce the issue
I ran into an issue build openFPGAloader a few weeks ago, where the cmake configuration is told to find libftdi and libusb-1.0's includes/libraries at the hardcoded root /mingw64 prefix. By the time code is compiled, neither cmake or the build tool has converted the Cygwin-based /mingw64 into "an actual path on the filesystem", so gcc cannot find any includes/libraries.
I don't have time to champion this myself right now. But since I know the problem and solution, I should at least document it.
Expected behavior
libftdi's LibFTDI1Config.cmake and libusb-1.0's libusb-1.0.pc files need to be made relocatable.
Actual behavior
libftdi's LibFTDI1Config.cmake and libusb-1.0's libusb-1.0.pc files are hardcoded to use /mingw64 root.
Verification
Windows Version
MINGW64_NT-10.0-19045
MINGW environments affected
Are you willing to submit a PR?
Maybe later.
Description / Steps to reproduce the issue
I ran into an issue build openFPGAloader a few weeks ago, where the
cmakeconfiguration is told to findlibftdiandlibusb-1.0's includes/libraries at the hardcoded root/mingw64prefix. By the time code is compiled, neithercmakeor the build tool has converted the Cygwin-based/mingw64into "an actual path on the filesystem", sogcccannot find any includes/libraries.I don't have time to champion this myself right now. But since I know the problem and solution, I should at least document it.
Expected behavior
libftdi'sLibFTDI1Config.cmakeandlibusb-1.0'slibusb-1.0.pcfiles need to be made relocatable.Actual behavior
libftdi'sLibFTDI1Config.cmakeandlibusb-1.0'slibusb-1.0.pcfiles are hardcoded to use/mingw64root.Verification
Windows Version
MINGW64_NT-10.0-19045
MINGW environments affected
Are you willing to submit a PR?
Maybe later.