Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: pacemaker on October 20, 2022, 03:07:24 pm
-
Hello code-blockers ! I have a problem and hope that you can help. I bought a new laptop with Windows 11 and wanted to work with code::blocks (as continuing my work on my old laptop). I downloaded code::blocks with the 17.12mingw-setup.exe. Downloading seemed okay. But when I started code::blocks I got an error-message saying "no executable compiler is found". Why is this ? I hoped to get the GNU GCC Compiler with the download. So, what is the problem ? Does code::blocks not work with Windows 11 ? Have I forgotten to do something ? Should I use another compiler (by the way I am programming in C++) ?
-
I would forget 17.12 (and even 20.03) and use a nightly (https://forums.codeblocks.org/index.php/board,20.0.html), it does not need installation.
Later, install whichever compiler you want (for example the MinGW-w64 suite (https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/)) in C:\MinGW and configure C::B to use it if not detected.
-
More, look at http://www.codeblocks.org/downloads/binaries/ and choose a 20.03 version with mingw included. This is not the last compiler version, but it's a good start.
Then you can also update C::B with the last nighly.
-
If you find the MinGW-w64 suite (https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/) is hard to figure out what needs to be installed then try MSYS2 as it includes an installer and has allot more packages.
The MSYS2 web site is:https://www.msys2.org/ (https://www.msys2.org/)