CPP unit test using VC++ 2012 - LNK2001 unresolved external symbol RRS feed

  • Question

  • Hi,

    We are trying to create CPP unit test for VC++ application (.exe), with NATIVE C++ (in UT project --> added all the dependencies  (reference/includes) as per procedure mentioned in MSDN, but could not able to LINK the UUT CPP's object file).

    For the respective UUT cpp file, created an object for the class and compiled the UT project, we got ERROR LNK2001: unresolved external symbol class <constructor>.

    please help me in resolving the UT issue.

    • Moved by Baron Bi Thursday, May 25, 2017 8:00 AM more related to unit testing
    Friday, May 19, 2017 10:47 AM

All replies