News:

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

Main Menu

codeb::blocks 20.03 Compiler not autodetected

Started by stojankitanov, April 03, 2020, 05:37:44 AM

Previous topic - Next topic

stojankitanov

Dear code::blocks team,
Today  I downloaded code::blocks with mingw compiler, but after installation when I opened code::blocks I got a message saying that compiler was not found. I resolved this issue with the following steps:
1. Click on Settings
2. Click on Compiler
3. Click on Toolchain Executables
4. Enter the following data:
   a)for compiler's installation directory enter: C:\Program Files (x86)\CodeBlocks\MinGW\bin
   b) for C compiler enter: x86_64-w64-mingw32-gcc.exe
   c) for C++ compiler enter: x86_64-w64-mingw32-g++.exe
   d) for linker for dynamic libs enter: x86_64-w64-mingw32-g++.exe
   e) Debugger remains the same
   f) For resource compiler enter: windres.exe
   g) For make programs enter: mingw32-make.exe
5. Click OK and code::blocks should work without any problem.
This is a workaround until compiler autodetection is not fixed.

Regards,

Stojan

MortenMacFly

Quote from: stojankitanov on April 03, 2020, 05:37:44 AM
This is aworkaround until comiler autodetection is not fixed.
Thank you for the guidelines and sorry that you has trouble. We really didn't noticed this during our testing phase...

Please also note: http://forums.next.codeblocks.org/index.php/topic,23746.0.html

We are working on a permanent solution...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]