Thread: Dev-C++ Compilation Problems

  1. #1
    Registered User
    Join Date
    Mar 2006
    Posts
    34

    Dev-C++ Compilation Problems

    I have GTK and MSYS installed under Windows Vista. When I try to compile a c program using GTK libraries, I get the following error message:

    gcc.exe: installation problem, cannot exec `cc1': No such file or directory

    I have already made sure that Dev-C++ and that MinGW were in my environment path. If anyone knows of a solution, please help. Thank you.

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129
    how did you install mingw?

  3. #3
    Registered User
    Join Date
    Mar 2006
    Posts
    34
    Quote Originally Posted by robwhit View Post
    how did you install mingw?
    I downloaded the executable from sourceforge and I installed it to my main hard drive ie(C:\MinGW), adding C:\MinGW\bin to the PATH environment variable. The Dev-C++ I subsequently downloaded was the one without minGW.

  4. #4
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129

  5. #5
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Dev-C++ has 'issues' running under vista. I recommend you switch to CodeBlocks IDE, as it works better under vista.

    Personally, I use Dev-C++, CodeBlocks, VS 6.0, and VS 2005. I much prefer the microsoft IDE, but the mingw compiler seems to produce smaller faster code. devc++ cant seem to handle K&R style no matter what combination of settigns I use, it always messes up the brackets and tabs, although i can get pretty close. CodeBlocks does a much better job of emulating the MS IDE.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C Pointers Problems
    By mhelal in forum C Programming
    Replies: 8
    Last Post: 01-10-2007, 06:35 AM
  2. String Manipulation problems -_-
    By Astra in forum C Programming
    Replies: 5
    Last Post: 12-13-2006, 05:48 PM
  3. Rendering problems (DirectX?)
    By OnionKnight in forum Tech Board
    Replies: 0
    Last Post: 08-17-2006, 12:17 PM
  4. Whats better, C-Free or Dev C++??
    By i_can_do_this in forum Tech Board
    Replies: 10
    Last Post: 07-07-2006, 04:34 AM
  5. Dev and errors
    By Moffesto in forum C++ Programming
    Replies: 0
    Last Post: 06-22-2002, 12:17 AM