Created
August 8, 2022 15:57
-
-
Save sidprice/e8f21d74ef9afaf90bdb569adbb7dda7 to your computer and use it in GitHub Desktop.
PKG_CONFIG_BMDA_Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I decided to roll back the BMDA testing to a minimum configuration, involving VSCode, PowerShell, and MSYS2 shell was stepping into areas with their own learning curve and challenges. | |
So, I went with the simplest of shells, the Windows (formally DOS) Command Line (cmd.exe). | |
First I checked the "PKG_CONFIG_PATH" variable value in the shell, I found what appeared to be a couple of errors in the environment variable "PKG_CONFIG_PATH". First, the variable doi not have a drive specification, I thought this was a good idea since all my working folders are on a secondary drive. Second, at some point we decided to use the UCRT64 toolchain and had not changed "PKG_CONFIG_PATH" to reflect this. With these corrects the variable looks like: | |
D:\DataRoot\Projects\blackmagic\src>echo %PKG_CONFIG_PATH% | |
c:/msys64/ucrt64/lib/pkgconfig | |
Browsing the MSYS2 installation folder to that folder reveales the libusb-1.0.pc and libftdi1.pc files required by "pkg-config." Note that the "hidapi" library is not installed at present, however, that is not the basic issue at hand. | |
"pkg-config" fails to find these files: | |
D:\DataRoot\Projects\blackmagic\src>pkg-config --modversion libusb-1.0 | |
Package libusb-1.0 was not found in the pkg-config search path. | |
Perhaps you should add the directory containing `libusb-1.0.pc' | |
to the PKG_CONFIG_PATH environment variable | |
Package 'libusb-1.0', required by 'virtual:world', not found | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment