Linking errors

This is a discussion on Linking errors within the C++ Programming forums, part of the General Programming Boards category; I'm encountering for the first time linking error. can anyone tell what they mean? Code: MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved ...

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    45

    Linking errors

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

  2. #2
    Registered User
    Join Date
    Jun 2002
    Posts
    230
    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, 07:30 AM
  3. Replies: 8
    Last Post: 04-27-2006, 11: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, 08:03 PM

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