Author Topic: CB under windows 11  (Read 1126 times)

Offline pacemaker

  • Single posting newcomer
  • *
  • Posts: 3
CB under windows 11
« 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++) ?

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1266
Re: CB under windows 11
« Reply #1 on: October 20, 2022, 03:53:41 pm »
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.

Offline gd_on

  • Lives here!
  • ****
  • Posts: 777
Re: CB under windows 11
« Reply #2 on: October 20, 2022, 06:44:50 pm »
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 10 64 bits (22H2), svn C::B (last version or almost!), wxWidgets 3.2.1, Msys2 Compilers 12.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 678
Re: CB under windows 11
« Reply #3 on: October 21, 2022, 01:48:27 am »
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/