wxFormBuilder / ticpp

This project is obsolete. TinyXML-2 offers a very similar C++ interface.
MIT License
92 stars 34 forks source link

linker error vs2008 #57

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
hi!

I made a simple test programm or i better tried to do.
The result was that i got 11 linker errors!

[Errors]
main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol
""public: void __thiscall ticpp::Document::LoadFile(enum TiXmlEncoding)"
(?LoadFile@Document@ticpp@@QAEXW4TiXmlEncoding@@@Z)" in Funktion "_main".
main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol
""public: __thiscall ticpp::Document::Document(char const *)"
(??0Document@ticpp@@QAE@PBD@Z)" in Funktion "_main".
main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol
""public: void __thiscall TiCppRCImp::DecRef(void)"
(?DecRef@TiCppRCImp@@QAEXXZ)" in Funktion ""public: virtual __thiscall
ticpp::NodeImp<class TiXmlDocument>::~NodeImp<class TiXmlDocument>(void)"
(??1?$NodeImp@VTiXmlDocument@@@ticpp@@UAE@XZ)".
main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol
""public: __thiscall ticpp::Exception::Exception(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(??0Exception@ticpp@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D
@2@@std@@@Z)"
in Funktion ""public: virtual void __thiscall
ticpp::Node::IterateFirst(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,class
ticpp::Attribute * *)const "
(?IterateFirst@Node@ticpp@@UBEXABV?$basic_string@DU?$char_traits@D@std@@V?$alloc
ator@D@2@@std@@PAPAVAttribute@2@@Z)".
main.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public:
virtual __thiscall ticpp::Exception::~Exception(void)"
(??1Exception@ticpp@@UAE@XZ)".
main.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public:
virtual char const * __thiscall ticpp::Exception::what(void)const "
(?what@Exception@ticpp@@UBEPBDXZ)".
main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol
""public: bool __thiscall TiCppRCImp::IsNull(void)"
(?IsNull@TiCppRCImp@@QAE_NXZ)" in Funktion ""protected: void __thiscall
ticpp::Base::ValidatePointer(void)const "
(?ValidatePointer@Base@ticpp@@IBEXXZ)".
main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol
""public: void __thiscall TiCppRCImp::IncRef(void)"
(?IncRef@TiCppRCImp@@QAEXXZ)" in Funktion ""protected: virtual void
__thiscall ticpp::NodeImp<class TiXmlDocument>::operator=(class
ticpp::NodeImp<class TiXmlDocument> const &)"
(??4?$NodeImp@VTiXmlDocument@@@ticpp@@MAEXABV01@@Z)".
D:\Daten\Programmierung\XML Test\Debug\XML Test.exe : fatal error LNK1120:
8 nicht aufgelöste externe Verweise.

German Version i hope u can follow the errors! I dont know why they apear,
my test code is the following:

[Code]
#include <iostream>
#ifndef TIXML_USE_TICPP
#define TIXML_USE_TICPP
#endif
#include "ticpp.h" 

int main()
{
    ticpp::Document MyDocument("Text.xml");
    MyDocument.LoadFile();
    std::cin.get();
    return 0;
}
[/Code]

I also included all header files (4) and all cpp files (5) i found in he
tunk folder on google.code.

Why does this appear? How to fix it?

gretz
dimension

Original issue reported on code.google.com by noobdime...@yahoo.de on 8 Feb 2010 at 3:12