User forums > Help

Cant Find Compiler Executable In Your Configured Search Path

(1/2) > >>

jellysoda:
I would first like to say that im still fairly a beginner with compilers, C::B, and programming in general. This morning, I received a new laptop with Windows 8. After Installing codeblocks-12.11-setup.exe , I get the error message stating it "Cant Find Compiler Executable In Your Configured Search Path". Ive looked through the C::B forums in hope of finding a solution, and after resetting the defaults in Settings>Compiler, it tells me it cannot auto detect installation path for GNU GCC compiler, so now im currently left confused. I would like to begin programming as soon as I can but I would first need this problem resolved is all. Thank you for any help.

Jenna:

--- Quote from: http://www.codeblocks.org/downloads/binaries ---NOTE: The codeblocks-12.11mingw-setup.exe file includes the GCC compiler and GDB debugger from TDM-GCC (version 4.7.1, 32 bit).
--- End quote ---

It seems not to be clear enough:
the window packages with mingw in the name include a compiler, the others do not.

C::B is an IDE, not a compiler, it can work with many different compilers.
To make starting (especially for beginners) easy, we have a version bundled with TDM MinGW 4.72 for your convenience.
So if you need a compiler, either download this package and isnatll it, or install the compiler seperately (e.g. from http://tdm-gcc.tdragon.net/).

jellysoda:
after uninstalling C::B and installing C::B with Mingw everything works fine now. Thank you. It was a simple matter of downloading the wrong thing. at the time, I simply installed what was at the top of the screen. It seemed like the right decision to download the version above all of the others, my mistake.

Shinji2012:
I'm having this same problem, except I tried downloading the codeblocks-12.11mingw-setup.exe version and it STILL gave me trouble. What's going on? I even downloaded it from  http://tdm-gcc.tdragon.net/ and it STILL said it. Can you help me? (Please don't get too technical on me or assume that I already know where to find stuff.)

EDIT: While I no longer get the error, I still can't build or run any programs and I get "The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler.
Probably the toolchain path within the compiler options is not setup correctly?!
Goto "Settings->Compiler and debugger...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup."

BlueHazzard:

--- Quote from: Shinji2012 on February 04, 2013, 09:47:35 am ---EDIT: While I no longer get the error, I still can't build or run any programs and I get "The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler.
Probably the toolchain path within the compiler options is not setup correctly?!
Goto "Settings->Compiler and debugger...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup."

--- End quote ---

Have you done this? Where is your MinGW installation?

Navigation

[0] Message Index

[#] Next page

Go to full version