nel-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nel] libXML, the bane of my project...


From: Andi [ Debug ]
Subject: Re: [Nel] libXML, the bane of my project...
Date: Thu, 30 Sep 2004 00:19:43 -0500


that sounds like both libs are not static or more to the point that the _a is either not static or not being linked to...
 
did you compile it with the static=yes option?
also check you are modifying the right build mode
 
its no good changing the library to link against in debug build mode options then compiling in release debug for example you would be surprised how many people fall for that one. note it defaults to the ACTIVE build mode when you goto properties you should alter all modes to link to the correct library.
 
also you can ignore the nodefault library warning one OR the other option is to force the library you intended
 
http://msdn.microsoft.com/library/default.asp?url="">
 
this is a guide on how to do so.
----- Original Message -----
Sent: Wednesday, September 29, 2004 4:13 PM
Subject: [Nel] libXML, the bane of my project...

HI Everyone,
 
  I have all my Nell libaries and almsot all the tool projects compiled. I am having a very big issue with the object viewer and the snowballs 2 project. They are both the same problem so if I can get this I am home free.
 
  I have noticed that NEL uses the libXML 2.4.26. Cool I was having some issue compiling the above mentioned eartlier when it was suggested to be to use the static library (libxml_a.lib) in the client project of snowballs 2.0. Well cool, I downloaded the project from the project site and went to work.
 
  I compiled all the options with libXML and created a static version of it as well. I then replaced my old libXML files (includes, libraries, dlls) with the newly compiled ones. Now when I compile snowballs 2 with the newly added libraries, I get the following with each library:
 
libxml2_a.lib:
 
MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib "msvcrt.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
nl3d_d.lib(i_xml.obj) : error LNK2001: unresolved external symbol _xmlFree
Debug/snowballs.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
 
libxml2.lib:
 
MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib "msvcrt.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
nl3d_d.lib(i_xml.obj) : error LNK2001: unresolved external symbol _xmlFree
Debug/snowballs.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
 
As you can see its the same either way. Now keep in mind I compiled them with all options available in that project. I can compile a newer version, but the newer version my not work with NEL (I found out the hard way that NEL needs the version it states to use and not anything newer. This is true with directX and stlLib).
 
Does anyone know why I would be getting this? My CVS is up to date and stiull not working on those 2 projects. Its wierd as the object viewer and the snowballs projects come with the exact same errors.
 
Any heklp is appreciate and thank you all in advance for your help thus far.
 
-Timothy
 
 


_______________________________________________
Nel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/nel-all

reply via email to

[Prev in Thread] Current Thread [Next in Thread]