Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Mingw Problems


  • Please log in to reply
4 replies to this topic

#1 madman6510

madman6510

  • Members
  • 384 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:01:27 AM

Posted 20 August 2008 - 09:33 PM

I installed MinGW to act as the compiler for Code::Blocks.

Whenever I try to compile something, I get:

-------------- Build: Debug in Hello World ---------------

Compiling: main.cpp
mingw32-g++.exe: installation problem, cannot exec `cc1plus': No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

Please help I really want to learn to program but I'm stuck here... :thumbsup:

BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:12:27 AM

Posted 21 August 2008 - 09:06 AM

I don't use either of those programs, but the error message seems pretty straight forward. It cannot find the file called cc1plus. According to the information that I found on Google, there is no compiler installed.

#3 madman6510

madman6510
  • Topic Starter

  • Members
  • 384 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:01:27 AM

Posted 21 August 2008 - 01:02 PM

I've installed MinGW and reinstalled with multiple builds when it didn't work, and I still get the same message...

Can anyone recommend an alternate compiler? (C/C++)

#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:12:27 AM

Posted 21 August 2008 - 04:55 PM

May I recommend some IDEs that have everything all in one?

Bloodshed

Visual Basic Express

#5 Romeo29

Romeo29

    Learning To Bleep


  • Members
  • 3,194 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:127.0.0.1
  • Local time:01:27 AM

Posted 01 September 2008 - 12:46 AM

The problem may occur if during installation CodeBlocks detects MingW is already installed in some other folder. For example, you downloade MingW compiler set and installed it in C:\mingw and then tried to install CodeBlocks.

An alternate compiler of good quality is Digital Mars C\C++ compiler. You can get it from http://www.digitalmars.com/. You can even use it from CodeBlocks. Other C\C++ compilers are :

1. Turbo C++ Explorer
2. MS VC++ 2008 Express Edition
3. OpenWatcom C\C++ Compiler
4. Bloodshed Dev-C++ (MingW)

A very good C only compiler is Pelles C compiler.

Hope it helps.

Edited by Romeo29, 01 September 2008 - 12:48 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users