Menu

lockit problem

Help
Anonymous
2004-03-12
2004-03-15
  • Anonymous

    Anonymous - 2004-03-12

    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.

     
    • Baptiste Lepilleur

      Compiler ? I'm assuming VC++ ?

      You're probably not using the correct version of the CRT. Check your code generation settings.

      Baptiste.

       
    • Anonymous

      Anonymous - 2004-03-15

      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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.