Original Post
Hi, i am using a small XML library with my game (i gave up on using my friend's code, if you read my other post). I compiled it into a .lib and linked it with my project. But i get link errors: That is a snippet of the link errors, there are more but they are all the same. I tweaked the XML code before i compiled it into the .lib but that shouldn't matter because i made sure i included the modified .h and .lib file in my game project. So i don't see why i am getting these link errors, is it maybe some conflicting settings in Visual Studio? (btw, i am using WinXP, MSVC, and SDL). I tried reading the MSVC help on link error LNK2001 but i don't know where to start, i don't know what could be causing the error. If anyone has the slightest idea on what i have done wrong, or if you would like to see my full code, i would be very grateful. thanks [Edited by - XTAL256 on July 5, 2008 6:21:52 PM]
Generating Code...
Linking...
SOIL.lib(SOIL.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
IconButton.obj : error LNK2001: unresolved external symbol "public: char const * __thiscall XMLNode::getAttribute(char const *,int *)const " (?getAttribute@XMLNode@@QBEPBDPBDPAH@Z)
Label.obj : error LNK2001: unresolved external symbol "public: char const * __thiscall XMLNode::getAttribute(char const *,int *)const " (?getAttribute@XMLNode@@QBEPBDPBDPAH@Z)
Panel.obj : error LNK2001: unresolved external symbol "public: char const * __thiscall XMLNode::getAttribute(char const *,int *)const "
...