News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

CB under windows 11

Started by pacemaker, October 20, 2022, 03:07:24 PM

Previous topic - Next topic

pacemaker

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++) ?

Miguel Gimenez

I would forget 17.12 (and even 20.03) and use a nightly, it does not need installation.

Later, install whichever compiler you want (for example the MinGW-w64 suite) in C:\MinGW and configure C::B to use it if not detected.

gd_on

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.
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

AndrewCot

If you find the MinGW-w64 suite 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/