User forums > General (but related to Code::Blocks)
Strange problem with compiler
MoniqueDumont:
Hello,
I am running Code::Blocks version 13.13 on windows 8.
(8.0). The compiler I use is GNU GCC compiler.
When I open a .cbp, Code::Blocks show this error :
but the fact is that i'm not using Microsoft Visual C++ Toolkit 2003, as you can see on the following pictures, i'm running GNU GCC Compiler, set as default :
Build log:
--- Code: ---Probably the toolchain path within the compiler options is not setup correctly?! (Do you have a compiler installed?)
Goto "Settings->Compiler...->Global compiler settings->Microsoft Visual C++ Toolkit 2003->Toolchain executables" and fix the compiler's setup.
Skipping...
Nothing to be done (all items are up-to-date).
--- End code ---
Thank you for your attention.
Jenna:
Are yo sure, that neither the project nor any target inside uses MSVC ?
MoniqueDumont:
When I set GNU GCC or any of the others compilers as default in Settings > Compiler, and click on OK, Code::Blocks sends me the error about MSVC.
So I tried as you said, to look if nothing's using MSVC. In Project > Build Options > Debug/Release, I set GNU GCC and get a new error :
My build messages are :
--- Code: ---||=== Build: Debug in Project title (compiler: GNU GCC Compiler) ===|
\W3||No such file or directory|
\Zi||No such file or directory|
\D_DEBUG||No such file or directory|
\MDd||No such file or directory|
||=== Build failed: 4 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
--- End code ---
And my build log is :
--- Code: ---mingw32-gcc.exe: error: /W3: No such file or directory
mingw32-gcc.exe: error: /Zi: No such file or directory
mingw32-gcc.exe: error: /D_DEBUG: No such file or directory
mingw32-gcc.exe: error: /MDd: No such file or directory
Process terminated with status 1 (0 minute(s), 0 second(s))
4 error(s), 0 warning(s) (0 minute(s), 0 second(s))
--- End code ---
stahta01:
So, the project was using MSVC.
You need to fix the project or install MSVC (and configure CB toolchain).
Make a decision.
Tim S.
MoniqueDumont:
Yes but the upper logs are the logs I get when I set GNU GCC in the project's build options. Is that what you meant ? What do these logs mean ?
Navigation
[0] Message Index
[#] Next page
Go to full version