

Check the detection result, and specify the path manually if required. CLion will attempt to detect the Cygwin installation automatically. Choose the toolchain that you want to configure. Once the installation is finished, open CLion and go to File | Settings | Build, Execution, Deployment | Toolchains. To select a package, type its name in the Search field and set the version in the New column: Run the installer and select the following packages: The recommended option is bundled GDB, since it is guaranteed to include Python support required for CLion data renderers.ĭownload the Cygwin installer, version 2.8 or later. In the Debugger field, you can choose between the bundled GDB, MinGW GDB, or your custom GDB executable.

When configuring the toolchain, if CLion cannot detect compilers or make, double-check the installed packages in MinGW Installation Manager. In the MinGW installation wizard, select the following packages from the Basic Setup list: mingw-developer-tool, mingw32-base, mingw32-gcc-g++, mingw32-msys-base.
#Clion compiler install
Select the Debugger: you can use either MinGW-w64 GDB or a custom GDB binary.Ĭlick Apply when all the tools are set correctly.Īlthough MinGW-w64 provides both 64- and 32-bit options, you can also install MinGW, the 32-bit-only version. Check the detection result in the Environment field, and specify the path manually if required. Once the installation is finished, open CLion and go to File | Settings | Build, Execution, Deployment | Toolchains.Ĭhoose the MinGW toolchain that you want to configure or create a new one using the icon.ĬLion will attempt to detect the MinGW installation automatically. Note that the default suggested option is 32-bit. In the MinGW-w64 installation wizard, make sure to select the required architecture. MinGW MinGW-w64 (64- and 32-bit)ĭownload and run the MinGW-w64 installer.
#Clion compiler full
As a determining part of a toolchain, the environment provides C and C++ compilers, the make utility, and the debugger (in case of using default tools).įor details on Remote Host toolchains, see Full Remote Mode. You can have several environments installed on your system and create separate CLion toolchains for each of them. On Windows, configuring CLion requires setting up the environment: Cygwin, MinGW, WSL, or Microsoft Visual C++.
