News:

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

Main Menu

code block and vista

Started by tapaditap, July 20, 2008, 01:30:21 PM

Previous topic - Next topic

tapaditap

trying to use code block and vista keep getting this error mingw32-g++.exe: installation problem, cannot exec `cc1plus': No such file or directory

MortenMacFly

Quote from: tapaditap on July 20, 2008, 01:30:21 PM
trying to use code block and vista keep getting this error mingw32-g++.exe: installation problem, cannot exec `cc1plus': No such file or directory
Search the forums. And choose one of the ~1 Mio answers. Period.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

stahta01

#2
The problem is an Bad (Not Vista compatible) MinGW GCC Install; I recommend the fix of installing an newer version of MinGW 3.4.5.

Edit: MortenMacFly is right there are many solutions posted on this site, my is not the best but it should work.

The newest 3.4.5 version info is "gcc version 3.4.5 (mingw-vista special r3)"

I use "gcc -v" to see the version info.

So, I suggest uninstalling the currently installed MinGW and then using MinGW 5.1.4

from http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=240780&release_id=595197

To install the "current" release.

You need the runtime, w32api, binutils, core, gpp, make.
These are normally called "MinGW Base Tools", "g++ Compiler", and "MinGW make".

Note: Debug is an separate download. You need at least version 6 for working with CodeBlocks.
I don't know which is best since I rarely use the debugger.

Tim S

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]