News:

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

Main Menu

Compiling error on everything!

Started by Harq, June 15, 2007, 04:23:20 AM

Previous topic - Next topic

Harq

I downloaded c::b and set it up with the compiler on windows, with all features.  I make a new console app to test it out, and I leave the code as it is and compile.  Here is the error I get:
QuoteProject   : Console application
Compiler  : GNU GCC Compiler (called directly)
Directory : C:\Users\-----\Desktop\
--------------------------------------------------------------------------------
Switching to target: default
Compiling: main.cpp
mingw32-g++.exe: installation problem, cannot exec `cc1plus': No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

Please help!  I heard the c::b is really good and I want to try it!  Thanks in advance :)

TDragon

You have failed to specify which version of Code::Blocks you're using, as well as which version of Windows.

In any case, this is a classic symptom of trying to run MinGW/GCC on Windows Vista. If you're running Vista, you can find other threads in the C::B forums on how people were able to resolve this issue.
[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)