1 Replies - 1725 Views - Last Post: 11 May 2010 - 05:30 AM Rate Topic: -----

#1 tlwtheq  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 11-May 10

SuiteMain.obj : error LNK2019: unresolved external symbol "int __c

Posted 11 May 2010 - 05:27 AM

This project member, testNgcTime.cpp is declared and used like all the
members in this project. For some reason, MVS2005 thinks the unit has never
been compiled and it breaks on the link.

4>Compiling...
4>ngcUtilsTestSuiteMain.cpp
4>testNgcTime.cpp
4>testNgcThread.cpp
4>testNgcSocketServer.cpp
4>testNgcSocket.cpp
4>testNgcIfSend.cpp
4>testNgcCircBuffer.cpp
4>testNgcSemaphore.cpp
4>testNgcQueue.cpp
4>Generating Code...
4>Compiling manifest to resources...
4>Linking...
4>ngcUtilsTestSuiteMain.obj : error LNK2019: unresolved external symbol "int __cdecl testNgcTime(void)" (?testNgcTime@@YAHXZ) referenced in function _main
4>Debug\TEST_SUITE.exe : fatal error LNK1120: 1 unresolved externals
4>Build log was saved at "file://c:\Snapshots\WilkIntegrate\OnsNgcUtils\ngcUtils\ngcUtilsTestSuite\work_vs\TEST_SUITE.dir\Debug\BuildLog.htm"
4>TEST_SUITE - 2 error(s), 0 warning(s)
5>------ Skipped Rebuild All: Project: ALL_BUILD, Configuration: Debug Win32 ------
5>Project not selected to build for this solution configuration
========== Rebuild All: 3 succeeded, 1 failed, 1 skipped ==========


Any Ideas?

Thanks,
Tara

Is This A Good Question/Topic? 0
  • +

Replies To: SuiteMain.obj : error LNK2019: unresolved external symbol "int __c

#2 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6063
  • View blog
  • Posts: 23,517
  • Joined: 23-August 08

Re: SuiteMain.obj : error LNK2019: unresolved external symbol "int __c

Posted 11 May 2010 - 05:30 AM

Can you show us the declaration of testNgcTime and and its definition/implementation? Looks like they are not what the linker expects.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1