Code::Blocks Forums
User forums => Help => Topic started by: slightlyeskew on October 02, 2007, 03:06:18 pm
-
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?
-
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 (http://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista)
-
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!
-
Download a latest nightly.
Look here (http://forums.codeblocks.org/index.php?board=20.0).
The latest version is svn4503 as announced here (http://forums.codeblocks.org/index.php?topic=7029.msg53777) (Link included).
The 1.0rc2 is about 2 years old and should not be used.
-
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?