Author Topic: C::B GNU GCC Compiler Help (Windows Vista Ultimate)  (Read 9212 times)

Ratex98

  • Guest
C::B GNU GCC Compiler Help (Windows Vista Ultimate)
« on: January 07, 2012, 07:09:08 pm »
Before I upgraded my OS to Windows Vista Ultimate, C::B used to work fine. But recently I've installed C::B and tried to run the "Hello World!" program and it gave me an error of invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!], after searching in Google I came to this wiki page: http://wiki.codeblocks.org/index.php?title=MinGW_installation.

I installed it manually and my folder hierarchy is as mentioned. But now whenever I try to Build the project I get this error:
mingw32-gcc.exe: installation problem, cannot exec `cc1plus': No such file or directory

After searching some more I came to a different wiki page which is this: http://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista
But when I was saying as said in that page I noticed that in my "C:\MinGW\libexec\gcc\mingw32\" directory there was only 2 folders and not 3 as said. The folder missing is the version folder. So I couldn't continue.

Other information:
Code::Blocks Version: 10.05
MinGW Version: 5.0.2
I also installed C::B with the mingw installer and still gave me same error.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7665
    • My Best Post
Re: C::B GNU GCC Compiler Help (Windows Vista Ultimate)
« Reply #1 on: January 07, 2012, 07:22:47 pm »
Remove the MinGW installation in C:\MinGW.

Install a version of MinGW that works under windows Vista.

Determine where you installed the Good MinGW GCC installation.

Check the Code::Blocks Compiler Toolchain.
http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#Compiler-neutral_setup_steps

Learn to post in the right sub-forum!!!!

Tim S.
« Last Edit: January 07, 2012, 07:24:29 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org