Code::Blocks Forums
User forums => Help => Topic started by: OldDude on June 13, 2010, 07:50:27 pm
-
I am new beginer to C++ and following the book but I keep getting this error message and I can't proceed:
"aa - Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
Nothing to be done.
I am using:
OS: windows XP
Compiler: GNU GCC Compiler with MinGW
CB ver. ver. 10.05
CB installed in c:\Program Files\CodeBlocks
ToolChain c:\minGW
-
Probably the toolchain path within the compiler options is not setup correctly?!
Did you verify this?
-
How to verify?
1) my MinGW folder is in C directory.
2) at toolchain ... the compiler installation directory is in c:\MinGW [i did not link the list below to the bin....should I?]
C compiler codeblock.exe
C++ compiler mingw32-c++.exe
Linker Dynamic mingw32-c++.exe
Linker Static ar.exe
Debugger gdb.exe
Resource windres.exe
Make Program mingw32-make.exe
I tried auto detect... but the error show " ...cannot detect the GNU GCC compiler..."
-
codeblocks is not a compilerand if it is really listed as C-compiler you messed up your configuration.
Use mingw32-gcc.exe instead (if the mingw32-???.exe files exist, otherwise use ???.exe instead).
-
How did/could it mess up like that?...
When I download the Code::Blocks from the CD 8.xx
I have already encountered the problem.
I tot removal and replaced with the ver 10.05 could help....
but apparently it still
have the problem
I will try again
-
How did/could it mess up like that?...
Without dicussing whose mess it is originally :), if that was present in the previous configuration, it will probably stay that way when you do a reinstall, you have to manually delete the configuration files - Jen posted instructions for that earlier.
HTH,
Ken
-
Yep...with Jens instructions ... it is resolved.
I have managed to write 2 simple assignment programs.
Happy as a lark.
Thanks