Menu

TIXML_USE_STL

p.chin
2002-09-09
2003-11-14
  • p.chin

    p.chin - 2002-09-09

    This code works great, BUT...

    When I define TIXML_USE_STL, I get linking errors with TiXmlDocument.StreamIn and TiXmlDocument.StreamOut not define!.

    I'm using vc6...anyone else has this problme?

     
    • Anonymous

      Anonymous - 2002-09-20

      Hy

      Yes; I do. 
      I always used TinyXML with BorlandC++ in stl mode, for the last two or three months, and never had any problem. 
      Now I am porting the whole project to MSVC and STLPort and I have the same problem as you describe.  I have to use the non-stl version on MSVC.  Even linking in the STLPort libraries does not help.
      I do not know what the cure is though, sorry.  I just discovered this, last week.

      Best regards

      Frank

       
    • W. Scott Dillman

      I had this same problem until I defined TIXML_USE_STL in my project that was linking against tinyXML.lib. Once I did that my project built and linked fine.

       
    • ion pulse

      ion pulse - 2003-11-14

      I had the issue when I statically linked into the STL libs using MSVC, and got rid of it by putting:

      #define TIXML_USE_STL

      above where I included the tinyxml.h header.

       

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.