compiler's gone mad!

This is a discussion on compiler's gone mad! within the C++ Programming forums, part of the General Programming Boards category; i tried to compile the fallowing code to test my compiler Code: #include <stdio.h> int main(int argc, char *argv[]) { ...

  1. #1
    Sir Mister Insane Sako Klinerr1's Avatar
    Join Date
    May 2002
    Posts
    608

    compiler's gone mad!

    i tried to compile the fallowing code to test my compiler
    Code:
    #include <stdio.h>
    
    int main(int argc, char *argv[])
    {
    
      return 0;
    }
    abviously there were no compile errors but they were linker errors which are
    Code:
    gcc: \cc320261.i: No such file or directory
    C:\DEV-C_~1\BIN\windres: gcc exited with status 1
    C:\DEV-C_~1\BIN\windres: can't execute `gcc': No error
    becuase of these linker erros nothign can compile. anyone know how to fix these linker errors?

    im using dev c++ 4. latest version
    Last edited by Klinerr1; 09-28-2002 at 12:20 PM.
    Email: Klinerr1@nc.rr.com || AIM: MisterSako || MSN: sakotheinsane@hotmail.com

    -the shroom has spoken

  2. #2
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    Your spelling still amazes me Klinerr....

  3. #3
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Yeah, I always put a big smile when I read your posts.
    Perhaps you should slow down when typing .

    Sorry, don't know anything about that compiler!
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  4. #4
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    >>\cc320261.i
    Whats this file? It's what the compiler is complaining about. Knowing you, is spelt incorrectly
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  5. #5
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    See what happens, I'm not on the boards in a while and everything goes to hell I think your problem may be that you are using a project that is set up for a win api program. Am I right? If I am try and compile just the C/C++ file or try starting a new project that is a console app.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ Builder Comparison
    By ryanlcs in forum Tech Board
    Replies: 14
    Last Post: 08-20-2006, 10:56 AM
  2. Is It Possible To Install Multiple Compilers?
    By mishna_toreh in forum C Programming
    Replies: 3
    Last Post: 05-13-2005, 08:32 AM
  3. I, Robot -- It's a trick, and I'm mad.
    By Jeremy G in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 07-15-2004, 02:57 PM
  4. Compilers, Compilers, Compilers
    By Stan100 in forum C++ Programming
    Replies: 11
    Last Post: 11-08-2002, 04:21 PM
  5. Spam :mad:
    By mithrandir in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 09-22-2001, 11:43 PM

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