CMake GUI tools use MinGW 64 to build projects

Series Article Directory

foreword

CMake GUI
opens the CMake GUI.
In the "Where is the source code" field, select the Krita source code directory: E:/krita-dev/krita.
In the "Where to build the binaries" field, select the directory for building the binaries: E:/krita-dev/krita_minGW64_build.
Click the "Configure" button.
Then click the "Generate" button to generate the build file. Current Generate: MinGW Makefiles, but Open Project is gray and cannot be clicked.
When using CMake GUI, the "Open Project" button is usually only valid for some generators, such as Visual Studio generators. Because you are using the "MinGW Makefiles" generator, the "Open Project" button is not available.

In this case, you'll need to continue building Krita on the command line. Follow the steps below:

Open an MSYS2 MinGW 64-bit terminal (or another terminal with a MinGW environment).
Change to the binaries build directory: cd /e/krita-dev/krita_minGW64_build
Run the mingw32-make command to build Krita. This may take a while. If you want to speed up the build process, you can use a command like mingw32-make -j4 (where "4" is the number of CPU cores on your machine).
After the build is complete, you can find the Krita executable in the bin directory.
Note that these steps are for a MinGW environment. Depending on your system settings and environment, you may need to adjust accordingly.

1. Open Project is gray?

The open Project is gray, which means that using MinGW Makefiles cannot generate projects like using visual studio 2019
Example: pandas is a NumPy-based tool created to solve data analysis tasks.

insert image description here

Guess you like

Origin blog.csdn.net/aoxuestudy/article/details/130093512