News:

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

Main Menu

Can't build anything? Just installed.

Started by Arsenal94, October 14, 2009, 08:42:37 AM

Previous topic - Next topic

Arsenal94

I just installed Code::Blocks and used the standard package. When I went to test it with a basic Hello World file I click on the "Build an Run" tab, it then says "This file has not yet been built, do you want to do so now?" I click Yes, and the window will pop up numerous amount of times until it finally stops.

I then get this in the Compile log.
Compiling: C:\Program Files\CodeBlocks\Projects\Hello World.c
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


It goes for everything. I just switched from Dev-C++ because it got corrupted and I couldn't be bothered to re-install it.

Some help for this would be very much appreciated.

stahta01

#1
1. Verify you installed all the MinGW G++/C++ files
2. If Windows Vista, upgrade to at least the newest 3.4.5 GCC from the MinGW Website.
(The one packaged with Code::Blocks 8.02 is NOT Vista Compatible.)

3. Turn on Full compiler Logging to help provide data to diagnose cause.
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

Note: 2 is the likely cause of issue; followed by 1.

Tim S.

FYI: This is NOT a beginner Web site; if you start to ask newbie c/c++ questions the thread will be locked.


C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]