Dev C++ Problem...

This is a discussion on Dev C++ Problem... within the Tech Board forums, part of the Community Boards category; Hello all, so im on vacation now and i figured id bring my WIN32 API behemoth of a book with ...

  1. #1
    Registered User
    Join Date
    Nov 2004
    Location
    Pennsylvania
    Posts
    434

    Dev C++ Problem...

    Hello all, so im on vacation now and i figured id bring my WIN32 API behemoth of a book with me to work on in the evenings when i am not out fishing, swimming, chillin' on the beach, etc.

    But i keep getting an error when i try to compile I haven't compiled before on this new laptop but i don't know why it wont work. Here's the error stuff:

    Compiler: Default compiler
    Executing g++.exe...
    g++.exe "C:\Documents and Settings\Doug\My Documents\Win32 API\Book Work\test2.cpp" -o "C:\Documents and Settings\Doug\My Documents\Win32 API\Book Work\test2.exe" -I"E:\Dev-Cpp\include\c++\3.3.1" -I"E:\Dev-Cpp\include\c++\3.3.1\mingw32" -I"E:\Dev-Cpp\include\c++\3.3.1\backward" -I"E:\Dev-Cpp\lib\gcc-lib\mingw32\3.3.1\include" -I"E:\Dev-Cpp\include" -L"E:\Dev-Cpp\lib"
    Execution terminated
    Thanks if you can help!
    "Anyone can aspire to greatness if they try hard enough."
    - Me

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,383
    It's mixing libs with includes and not providing the correct command line switches...
    Is this a fresh dev-c++ install? Did you download it with MinGW already packed, or did you install MinGW separately? Have you touched any compiler options on Dev-C++?

    The include list is not even in the right order...
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    Ordinary console programs compile, do they?
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Laptop Problem
    By Boomba in forum Tech Board
    Replies: 1
    Last Post: 03-07-2006, 05:24 PM
  2. Replies: 5
    Last Post: 11-07-2005, 10:34 PM
  3. Problem running prog I wrote in Dev C++
    By KidMan in forum C Programming
    Replies: 8
    Last Post: 09-22-2005, 01:50 AM
  4. searching problem
    By DaMenge in forum C Programming
    Replies: 9
    Last Post: 09-12-2005, 01:04 AM
  5. half ADT (nested struct) problem...
    By CyC|OpS in forum C Programming
    Replies: 1
    Last Post: 10-26-2002, 08:37 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21