From the error, it sounds like your attempt to add C:\MinGW\bin
to the %PATH%
variable was unsuccessful.
Make sure you're adding it to the System Environment Variables under Control Panel\All Control Panel Items\System
, Click on Advanced System Settings
, Advanced
tab, Environment Variables...
button and edit the Path
entry under System variables
(Add ;C:\MinGW\bin
to the end of the existing value). Then restart your shell or IDE to apply the system settings.
If pkg-config.exe
is in the C:\MinGW\bin
folder it will be found in %PATH%
.