Thread: Dev-C++ compiler. need help

  1. #1
    Registered User Di$eNt's Avatar
    Join Date
    Aug 2004
    Posts
    6

    Dev-C++ compiler. need help

    hi.

    I cant compile my project cause I get an error message

    Code:
    unable to run program file

    ohh and this is the Compile log

    Code:
    :\Dev-Cpp\command.cpp" -o "C:\Dev-Cpp\command.exe"   -ansi -pedantic -Wall -fexceptions -g3  -I"C:\Dev-Cpp\include\c++"  -I"C:\Dev-Cpp\include\c++\mingw32"  -I"C:\Dev-Cpp\include\c++\backward"  -I"C:\Dev-Cpp\include"   -L"C:\Dev-Cpp\lib"
    Last edited by Di$eNt; 08-17-2004 at 04:45 AM.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    First thing to do would be to move all your code into say
    Code:
    c:\code
    Putting your own work inside the compiler installation directory is a really bad idea.

    It's probably not a bad idea (once you've moved your code somewhere else) to reinstall the compiler just to make sure you haven't trashed something already.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    is this the latest version of Dev-C++? on two out of about 50 installs I did I got the same problem... just unistall and reinstall and it should go away...
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  4. #4
    Registered User Di$eNt's Avatar
    Join Date
    Aug 2004
    Posts
    6
    yes it is. ohh and re-installing is no help :/
    and i cant compile with dos compilers cause my computer just close the window

  5. #5
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Well did you try Salem's suggestion yet?

  6. #6
    Registered User Di$eNt's Avatar
    Join Date
    Aug 2004
    Posts
    6
    yes i did no help

  7. #7
    Registered User Di$eNt's Avatar
    Join Date
    Aug 2004
    Posts
    6
    maybe i just need another C++ windows compiler that dose not use a COMMAND LINE

  8. #8
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Quote Originally Posted by Di$eNt
    yes it is. ohh and re-installing is no help :/
    and i cant compile with dos compilers cause my computer just close the window
    Try this:
    http://faq.cprogramming.com/cgi-bin/...&id=1043284385

  9. #9
    Registered User caroundw5h's Avatar
    Join Date
    Oct 2003
    Posts
    751
    that's not your problem. you should install dev in the C directory ie. C:\Devcpp, but your main problem is you need to uninstall your previous version of dev first.

    first use the uninstall option that comes with dev and uninstall the software.

    then go to your start menu
    go to search
    select all files and folders
    type in: devcpp. *
    when that search is over erase all the files that show up then

    repeat the search and destroy procedures again using:
    devcpp.cfg and devcpp.ini

    once you've found all those remaining files and destoryed them. download dev again and do a clean install.

    let me know how it turns out.
    Warning: Opinions subject to change without notice

    The C Library Reference Guide
    Understand the fundamentals
    Then have some more fun

  10. #10
    Registered User Di$eNt's Avatar
    Join Date
    Aug 2004
    Posts
    6
    Well i did... i didint find any files.

  11. #11
    Registered User caroundw5h's Avatar
    Join Date
    Oct 2003
    Posts
    751
    Quote Originally Posted by Di$eNt
    Well i did... i didint find any files.
    here do
    this
    Warning: Opinions subject to change without notice

    The C Library Reference Guide
    Understand the fundamentals
    Then have some more fun

  12. #12
    Registered User Di$eNt's Avatar
    Join Date
    Aug 2004
    Posts
    6

    Talking

    Thank u all.. i got IT TO WORK NOW.. the problam was that i didint set the binaries in the compiler options

    thanks in advance

  13. #13
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    thanks in advance
    ... uh.... You're welcome.

  14. #14
    Registered User
    Join Date
    Jul 2004
    Posts
    98
    I have same question, I solve it :
    1. uninstall dev-c++
    2. deltree c:\devc++
    3. re setup
    4. ok
    Last edited by toysoldier; 08-18-2004 at 01:16 AM.

  15. #15
    Registered User caroundw5h's Avatar
    Join Date
    Oct 2003
    Posts
    751
    Quote Originally Posted by toysoldier
    I have same question, I solve it :
    1. uninstall dev-c++
    2. deltree c:\devc++
    3. re setup
    4. ok

    Am I the only one that didn't catch that?
    Warning: Opinions subject to change without notice

    The C Library Reference Guide
    Understand the fundamentals
    Then have some more fun

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. New to Dev C++/<windows.h>...
    By Cilius in forum C++ Programming
    Replies: 3
    Last Post: 02-23-2005, 01:05 AM
  2. Glut and Dev C++, Programs not Quitting?
    By Zeusbwr in forum Game Programming
    Replies: 13
    Last Post: 11-29-2004, 08:43 PM
  3. Dev C++ Compiler, Indentation?
    By Zeusbwr in forum C++ Programming
    Replies: 3
    Last Post: 10-21-2004, 06:13 AM
  4. Dev C++ compiler question
    By exluddite in forum C++ Programming
    Replies: 1
    Last Post: 10-16-2004, 09:31 PM
  5. C Compiler
    By SAMSEIED in forum C Programming
    Replies: 5
    Last Post: 06-06-2002, 05:44 PM