Thread: Error in compiling G++

  1. #1
    Registered User nevermind's Avatar
    Join Date
    Oct 2002
    Posts
    23

    Error in compiling G++

    I got rid of all my errors since my last post, thanks guys!

    But but ... just one last error ... please help!

    [code]
    g++: Compilation of header file requested
    g++: Compilation of header file requested
    [\code]

    I dont know which header is missing. Can you tell me please what could be the possible origin of this error?

    Thanks!

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    >>Compilation of header file requested
    Maybe you're trying to compile a header file (.h) instead of a source file (.cpp)
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    Registered User nevermind's Avatar
    Join Date
    Oct 2002
    Posts
    23

    woohoo

    Thanks Hammer!

    Your a legend!!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newbie Compiling Problem
    By Deronius in forum C++ Programming
    Replies: 3
    Last Post: 06-15-2008, 11:23 AM
  2. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  3. Problem Compiling
    By Flakster in forum C++ Programming
    Replies: 4
    Last Post: 06-13-2006, 01:09 AM
  4. compiling and executing issue with lcc win32
    By GanglyLamb in forum C Programming
    Replies: 10
    Last Post: 12-22-2004, 02:24 PM
  5. Compiling syntax
    By Jez_Master in forum C++ Programming
    Replies: 3
    Last Post: 04-01-2002, 09:46 PM