[cvsnt-dev] Help using a manual build of cvs

Eric B. ebenze at hotmail.com
Fri Jul 3 15:01:17 BST 2009


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


> > Creating library ..\WinRel/cvsapi.lib and object ..\WinRel/cvsapi.exp
> >
> > XmlNode.obj : error LNK2019: unresolved external symbol _xmlNewProp
> > referenced in function "public: bool __thiscall 
> > CXmlNode::NewAttribute(char
> > const *,char const *)" (?NewAttribute at CXmlNode@@QAE_NPBD0 at Z)
> .
> .
> .
> > Am I missing another lib specification?
> 
> libxml should already be in the link line or otherwise our builds would 
> fail - no it probably means that VS.NET is finding a libxml2.lib earlier in 
> the 'path'. CVSNT 2.5.03 will compile with libxml 2.5.4, however CVSNT 
> 2.5.04 requires libxml 2.6.2x (eg: 2.6.26). Push cvsdeps/x32/libxml2 right 
> up to the top of the vc/vc++ project directory search order and it should 
> work OK.


No such luck.  I moved cvsdeps/x32/libxml2/include and cvsdeps/x32/libml2/lib to the top of the list in Tools->Options->Projects->VC++ Directors (includes & libs respectively), and tried to rebuild cvsapi, and still getting the same errors.  

 

I dug a little bit further and noticed that the linker options didn't include libxml2.lib.  So I manually added it into the cvsapi project configuration properties (Linker -> Input -> Additional Dependencies), and this time cvsapi seems to compile properly.  Is there an error in the commited version of the vcproj?

 

 

Additionally, I'm also getting xml_xdiff and cvsnt projects that are failing.  I originally thought they were due to cvsapi not compiling properly, but apparently not.  Both projects fail in the linker stages:

 

 

XML_XDIFF:

Compiling...

xml_xdiff.cpp

Linking...

libdiff.lib(regcomp.obj) : warning LNK4229: invalid directive '/manifestdependency:type='win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'' encountered; ignored

libdiff.lib(regcomp.obj) : warning LNK4229: invalid directive '/manifestdependency:type='win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'' encountered; ignored

Creating library .\Release/xml_xdiff.lib and object .\Release/xml_xdiff.exp

LINK : warning LNK4075: ignoring '/TSAWARE' due to '/DLL' specification

libdiff.lib(regcomp.obj) : fatal error LNK1000: unknown error; consult documentation for technical support options

Build log was saved at "file://e:\Dev\Projects\cvsnt\2_0_x\xdiff\Release\BuildLog.htm"

xml_xdiff - 1 error(s), 3 warning(s)

 

 

 

 

CVSNT:

Linking...

libdiff.lib(regcomp.obj) : warning LNK4229: invalid directive '/manifestdependency:type='win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'' encountered; ignored

libdiff.lib(regcomp.obj) : fatal error LNK1000: unknown error; consult documentation for technical support options

Build log was saved at "file://e:\Dev\Projects\cvsnt\2_0_x\WinRel\tmp\BuildLog.htm"

cvsnt - 1 error(s), 1 warning(s)

 

 

 

Any ideas?

 

Thanks,


Eric

 

 

 

_________________________________________________________________
Create a cool, new character for your Windows Live™ Messenger. 
http://go.microsoft.com/?linkid=9656621


More information about the cvsnt-dev mailing list