News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

CodeBlocks Install Issue on Vista

Started by slightlyeskew, October 02, 2007, 03:06:18 PM

Previous topic - Next topic

slightlyeskew

Hello all,

I used codeblocks a while back when I was on XP but after my transition to Vista I receive this error when trying to compile:

mingw32-g++.exe: installation problem, cannot exec `cc1plus': No such file or directory

Can someone help me resolve this please?


darthdespotism

There is a problem with any MinGW Versions of gcc before 4.2 (GCC Version not MinGW Version)

You can fix this by following the entry in codeblocks WIKI

slightlyeskew

Darth,

Thanks so much for the direction...unfortunately I hit a slight snafu while following the directions...

The wiki says to go into your settings->compiler and debugger->toolchain executables-> additional paths and then add a new file folder

The version of codeblocks I'm using, 1.0rc2, does not have a "compiler and debugger" option under settings, just a compiler...so I selected that. Then under that option, toolchain executables is nowhere to be found, so I added the directory under a tab called directories -> and compiler.

The instructions say that after we add the directory we should get a new error but I'm getting the same error initially described.

Help!


Jenna

Download a latest nightly.
Look here.
The latest version is svn4503 as announced here (Link included).

The 1.0rc2 is about 2 years old and should not be used.

slightlyeskew

I have followed the instructions on the wiki and changed my nightly build...this is the error I'm receiving now...

Linking console executable: bin\Debug\hello.exe
Execution of 'mingw32-g++.exe -LC:\MinGW\lib\gcc\mingw32\3.4.2  -o bin\Debug\hello.exe obj\Debug\codeblocks\templates\wizard\console\cpp\main.o' in 'C:\hello' failed.
Nothing to be done.

Any suggestions?