Thread: Linking errors

  1. #1
    Registered User
    Join Date
    Jul 2005

    Linking errors

    I'm encountering for the first time linking error.
    can anyone tell what they mean?
    MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup
    Debug\ATest1.exe : fatal error LNK1120: 1 unresolved externals

  2. #2
    Registered User
    Join Date
    Jun 2002
    Generally i believe that means you probably created the wrong type of project. Make sure your doing a win32 console project. Most times i get that its b/c of that.
    C++ Rules!!!!
    Microsoft Visual Studio .NET Enterprise

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linking errors
    By Zeeshan in forum C++ Programming
    Replies: 1
    Last Post: 02-22-2009, 02:10 AM
  2. HELP!!Why and How to solve this linking errors.
    By huwan in forum C++ Programming
    Replies: 3
    Last Post: 05-07-2007, 06:30 AM
  3. Replies: 8
    Last Post: 04-27-2006, 10:39 AM
  4. Linking Errors
    By ForlornOdium in forum C++ Programming
    Replies: 1
    Last Post: 12-07-2003, 10:24 PM
  5. Linking Errors...
    By c++_n00b in forum C++ Programming
    Replies: 9
    Last Post: 06-08-2002, 07:03 PM