Thread: Help getting Dev-C++/mingw includes working

  1. #1
    I lurk
    Join Date
    Aug 2002

    Help getting Dev-C++/mingw includes working

    After failing to compile some standard code, I decided it was time to upgrade my compiler. mingw sounded good.

    Anyhow, I already had mingw installed from a long time ago... so when it came time to install Dev-C++ I figured it'd be best to delete mingw (I couldn't find any uninstall option, so I deleted the folder)

    After installing Dev, I noticed it couldn't find the include directory, where all the standard header files are kept. Fair enough, I looked through the options... manually added the folder to the include list, edited the environmental variable "include" to include the mingw include directory.

    Didn't work...
    Uninstalled, reinstalled... same problem, can't find include files. Anyone have any ideas? I'll be formatting soon so it's not that big of a deal, but it'd be nice to get it working.

  2. #2
    lol - I had the same problem (AND AM STILL) having the same problem. - I just simply tried a pointer switch, nothing compiled - I even tried one of their own examples and ended up with nada. - By the way - did you download the new beta version? I did, than went to the old version - haven't tested any code though so I can't help you there.

  3. #3
    I lurk
    Join Date
    Aug 2002
    Yeah, it was the new beta version... it didn't work even after I reformatted either. I just gave up on it.
    What OS do you use? I'm on Win2K, latest service pack.

  4. #4
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    I think you can get gcc for windows (I use it in linux). I like command line, you might not.

  5. #5
    Join Date
    Jan 2002
    Tools->Compiler Options: 'Directories' tab: add the include directories to both 'c includes' and 'c++ includes' tabs. With the latter make sure you have included the path to 'include/c++' of your mingw2.0 install.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Class not working with engine
    By Akkernight in forum C++ Programming
    Replies: 0
    Last Post: 01-26-2009, 05:13 AM
  2. Question: Stream I/O (working with strings)
    By ckuttruff in forum C Programming
    Replies: 15
    Last Post: 05-19-2008, 11:32 AM
  3. Includes making me insane >.<
    By IceDane in forum C Programming
    Replies: 14
    Last Post: 04-14-2008, 10:24 AM
  4. random in Dev C++ still not working
    By akmalsafi in forum C++ Programming
    Replies: 5
    Last Post: 12-13-2001, 03:54 PM
  5. use of "random" in Dev C++
    By akmalsafi in forum C++ Programming
    Replies: 1
    Last Post: 12-08-2001, 02:55 AM