Trying to use pkg-config but it not being a registered command

三世轮回 提交于 2019-12-06 00:58:39

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%.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!