I am trying to do it, but all I can get is some source code that I don't know how to do deal with I downloaded from http://pkgconfig.freedesktop.org/releases/.
Choose Manage > Install Packages, then select a . pkg or . mpkg file to install. Alternatively, you can drag an installer package to the package list window.
Introduction. pkg-config is a useful tool for making sure compiler options are correct when compiling and linking software. Very often with compilers, you will need to determine the proper paths to library header files and code in order to link them to your software project.
Since PKG files are plain text files, you can open and edit them in any text editor, such as Microsoft Notepad (Windows) or Apple TextEdit (Mac).
This is a step-by-step procedure to get pkg-config working on Windows, based on my experience, using the info from Oliver Zendel's comment.
I assume here that MinGW was installed to C:\MinGW. There were multiple versions of the packages available, and in each case I just downloaded the latest version.
Now CMake will be able to use pkg-config if it is configured to use MinGW.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With