Menu

Link problem with VS2005

herve
2006-04-07
2013-05-20
  • herve

    herve - 2006-04-07

    hello,

    I have made a program with VS6.0 and tinyxml.(great thanks for tinyxml).

    I want to continue under VS2005. but i can't build it.

    I've tree link error :
    Linking...
    FicConf.obj : error LNK2019: unresolved external symbol "public: class TiXmlNode * __thiscall TiXmlNode::FirstChild(char const *)const " (?FirstChild@TiXmlNode@@QBEPAV1@PBD@Z) referenced in function "public: int __thiscall CFicConf::MAJArbre(class CTreeCtrl *)" (?MAJArbre@CFicConf@@QAEHPAVCTreeCtrl@@@Z)
    FicConf.obj : error LNK2019: unresolved external symbol "public: class TiXmlNode * __thiscall TiXmlNode::NextSibling(char const *)const " (?NextSibling@TiXmlNode@@QBEPAV1@PBD@Z) referenced in function "public: bool __thiscall CFicConf::TrouveLigne(class CStringArray *,unsigned int,class CLigneCmd *)" (?TrouveLigne@CFicConf@@QAE_NPAVCStringArray@@IPAVCLigneCmd@@@Z)
    msvcrtd.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
    .\Debug/sesame.exe : fatal error LNK1120: 3 unresolved externals

    I've rebuid the tinyxml.lib I look carefully at the compilator and link option.

    I can't understand why these error.

     
    • Lee Thomason

      Lee Thomason - 2006-04-10

      Wacky - I've build TinyXML under VC6, 2003, and 2005. I don't know what's going wrong, except did you possibly miss a source file? Could "tinyxml.cpp" be missing?

      lee

       
    • Cyberlynx

      Cyberlynx - 2006-08-02

      Is there no official Visual Studio 2005 solution file in the release?  I found TinyXML off another site that had a .sln but it was just a stub.

      Paul

       

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.