Author Topic: code block and vista  (Read 5299 times)

Offline tapaditap

  • Single posting newcomer
  • *
  • Posts: 7
code block and vista
« 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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: code block and vista
« Reply #1 on: July 20, 2008, 01:34:48 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: code block and vista
« Reply #2 on: July 21, 2008, 02:35:05 am »
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

 
« Last Edit: July 21, 2008, 02:58:04 am 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