Menu

Linking errors when using xmlrpc.lib in VC++?

Help
Anonymous
2003-07-02
2003-07-02
  • Anonymous

    Anonymous - 2003-07-02

    hi
    I use VC++ on win2k
    I created my application using xmlrpc.lib (version 7)
    But when I compiled my application, following linking errors are showed in VC++ output window
    Note - XRpcTestDlg is a dialog based class where I've created a XmlRpcClient object

    ---------------------------------------------
    Linking...
    XRpcTestDlg.obj : error LNK2001: unresolved external symbol "protected: void __thiscall XmlRpcValue::invalidate(void)" (?invalidate@XmlRpcValue@@IAEXXZ)
    XRpcTestDlg.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall XmlRpcClient::~XmlRpcClient(void)" (??1XmlRpcClient@@UAE@XZ)
    XRpcTestDlg.obj : error LNK2001: unresolved external symbol "public: bool __thiscall XmlRpcClient::execute(char const *,class XmlRpcValue const &,class XmlRpcValue &)" (?execute@XmlRpcClient@@QAE_NPBDABVXmlRpcValue@@AAV2@@Z)
    XRpcTestDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall XmlRpcClient::XmlRpcClient(char const *,int,char const *)" (??0XmlRpcClient@@QAE@PBDH0@Z)
    Release/XRpcTest.exe : fatal error LNK1120: 4 unresolved externals
    Error executing link.exe.
    -------------------------------------------------

    Thanks

     
    • Bob Manc

      Bob Manc - 2003-07-02

      Sounds like it just can't find the xmlrpc.lib file.
      Under Setting/Link make sure you include xmlrpc.lib in the Object/library modules field. Then make sure VC can find it. You can add the directory that xmlrpc.lib is in under Tools/Options/Directories.

       

Log in to post a comment.