Author Topic: CodeBlocks Install Issue on Vista  (Read 5642 times)

slightlyeskew

  • Guest
CodeBlocks Install Issue on Vista
« 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?


Offline darthdespotism

  • Almost regular
  • **
  • Posts: 163
    • Coder's Nemesis
Re: CodeBlocks Install Issue on Vista
« Reply #1 on: October 02, 2007, 03:58:56 pm »
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

  • Guest
Re: CodeBlocks Install Issue on Vista
« Reply #2 on: October 03, 2007, 04:51:21 pm »
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!


Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: CodeBlocks Install Issue on Vista
« Reply #3 on: October 03, 2007, 05:06:56 pm »
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

  • Guest
Re: CodeBlocks Install Issue on Vista
« Reply #4 on: October 08, 2007, 04:33:25 pm »
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?