While buidling cppunitd_dll.lib i got the following linker errors . I think this has something to do with the map header file included in TestFactoryRegistry.cpp & XmlOutputter.cpp. Can someone please help me out?
Linking... Creating library ..\..\lib\cppunitd_dll.lib and object ..\..\lib\cppunitd_dll.exp TestFactoryRegistry.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall _Lockit::~_Lockit(void)" (__imp_??1_Lockit@@QAE@XZ) XmlOutputter.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall _Lockit::~_Lockit(void)" (__imp_??1_Lockit@@QAE@XZ) TestFactoryRegistry.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall _Lockit::_Lockit(void)" (__imp_??0_Lockit@@QAE@XZ) XmlOutputter.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall _Lockit::_Lockit(void)" (__imp_??0_Lockit@@QAE@XZ) ..\..\lib\cppunitd_dll.dll : fatal error LNK1120: 2 unresolved externals Error executing link.exe.
Compiler ? I'm assuming VC++ ?
You're probably not using the correct version of the CRT. Check your code generation settings.
Baptiste.
thanks... from your suggestion I checked out the CRT settings and everything was in order.
I then checked yvals.h and realized that I had corrupted yvals.h sometime ago while playing with std namespaces and that was the problem
Log in to post a comment.
While buidling cppunitd_dll.lib i got the following linker errors . I think this has something to do with the map header file included in TestFactoryRegistry.cpp & XmlOutputter.cpp. Can someone please help me out?
Linking...
Creating library ..\..\lib\cppunitd_dll.lib and object ..\..\lib\cppunitd_dll.exp
TestFactoryRegistry.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall _Lockit::~_Lockit(void)" (__imp_??1_Lockit@@QAE@XZ)
XmlOutputter.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall _Lockit::~_Lockit(void)" (__imp_??1_Lockit@@QAE@XZ)
TestFactoryRegistry.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall _Lockit::_Lockit(void)" (__imp_??0_Lockit@@QAE@XZ)
XmlOutputter.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall _Lockit::_Lockit(void)" (__imp_??0_Lockit@@QAE@XZ)
..\..\lib\cppunitd_dll.dll : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
Compiler ? I'm assuming VC++ ?
You're probably not using the correct version of the CRT. Check your code generation settings.
Baptiste.
thanks... from your suggestion I checked out the CRT settings and everything was in order.
I then checked yvals.h and realized that I had corrupted yvals.h sometime ago while playing with std namespaces and that was the problem