Linker errors

2008-11-27
2013-05-20
  • Mitch Curtis
    Mitch Curtis
    2008-11-27

    Hey.

    I have included the tinyxml++ files as existing items in Visual Studio, added the include directory into the project properties and set up the preprocessor definitions and includes as follows:

    #ifndef TIXML_USE_TICPP
    #define TIXML_USE_TICPP
    #endif

    #ifndef TIXML_USE_STL
    #define TIXML_USE_STL
    #endif

    #include "ticpp.h"

    But I still get linker errors when I try and use any code. I looked into the .cpp file and the code that is after #ifdef TIXML_USE_TICPP stays commented out... Just wondering what I've done wrong?

    Cheers. :)