Hi,
I installed Code::Blocks today for C++ using the latest version 'codeblocks-20.03mingw-32bit-setup.exe' on the website. When trying to set it up I've been getting "Environment Error - cannot find compiler".
I've gone into Settings > Compiler > Toolchain executables, the compiler installation directory is C:Program Files (x86)\CodeBlocks\MinGW. I've checked and this is where it is saved.
The tutorial I was following had the program files set as:
C compiler: mingw32-gcc.exe
C++ compiler: mingw32-g++.exe
Linker for dynamic libs: mingw32-g++.exe
etc.
However the MINGW bin folder as installed today does not have these file names in it. It has gcc.exe & g++.exe as well as x86_64-w64-mingw32-gcc.exe & x86_64-w64-mingw32-g++.exe - I have tried subbing both of these into the C and C++ compiler file fields but this gives the same error.
Does anyone know which files in the 20.03 version MINGW bin are the C and C++ compilers?
Thanks