Linker Errors... what does this mean?

This is a discussion on Linker Errors... what does this mean? within the Windows Programming forums, part of the Platform Specific Boards category; Error 2 error LNK2019: unresolved external symbol _B_GetNYTimeTokens@20 referenced in function "public: static void __cdecl Stock::FormatNYTime(__int64,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > ...

  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    31

    Linker Errors... what does this mean?

    Error 2 error LNK2019: unresolved external symbol _B_GetNYTimeTokens@20 referenced in function "public: static void __cdecl Stock::FormatNYTime(__int64,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)" (?FormatNYTime@Stock@@SAX_JAAV?$basic_string@DU?$c har_traits@D@std@@V?$allocator@D@2@@std@@@Z) Stock.obj

  2. #2
    chococoder
    Join Date
    Nov 2004
    Posts
    515
    that means you're using a function that's defined in one of your header files but can't be found in any of the libraries you're linking to.

  3. #3
    Registered User
    Join Date
    Jan 2006
    Posts
    31
    The original project was created in Visual C++ 2003, though not by me, and it compiles as is with no problems. Iím using 2005 so something must go wrong during the project conversion, here (at work) 2005 is all I have access to any idea where to start looking to fix this error?

  4. #4
    Registered User
    Join Date
    Jan 2006
    Posts
    31
    Sorry the 2 errors I get are...

    Error 504 error LNK2019: unresolved external symbol _B_GetNYTimeTokens@20 referenced in function "public: static void __cdecl Stock::FormatNYTime(__int64,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)" (?FormatNYTime@Stock@@SAX_JAAV?$basic_string@DU?$c har_traits@D@std@@V?$allocator@D@2@@std@@@Z) Stock.obj

    Error 505 fatal error LNK1120: 1 unresolved externals .\Release/NYSPeg.dll

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linker errors
    By jw232 in forum C++ Programming
    Replies: 3
    Last Post: 06-12-2009, 12:56 PM
  2. Linker errors in VC++ 2005
    By C+/- in forum C++ Programming
    Replies: 0
    Last Post: 05-18-2007, 07:42 AM
  3. Sneaky little linker errors...
    By Tozar in forum C++ Programming
    Replies: 8
    Last Post: 10-25-2006, 05:40 AM
  4. Linker errors when compiling
    By The Wazaa in forum C++ Programming
    Replies: 4
    Last Post: 10-07-2006, 12:55 PM
  5. Linker errors with Visual C++
    By codegirl in forum C++ Programming
    Replies: 4
    Last Post: 09-11-2003, 09:20 AM

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