[xmlsec] Static compile

Jürgen Heiss jheiss at Mesonic.com
Tue Mar 20 06:45:03 PST 2007


I made this defines!
  

-----Original Message-----
From: Aleksey Sanin [mailto:aleksey at aleksey.com] 
Sent: Dienstag, 20. März 2007 15:42
To: Jürgen Heiss
Cc: xmlsec at aleksey.com
Subject: Re: [xmlsec] Static compile

https://www.aleksey.com/xmlsec/api/xmlsec-notes-compiling-windows.html

#define LIBXML_STATIC
#define LIBXSLT_STATIC
#define XMLSEC_STATIC	

Aleksey

Jürgen Heiss wrote:
> Hi Aleksey,
>  
> Hi,
>  
> I compiled libxml2, libxslt, xmlsec, and the openssl crypto Libary as 
> Multithread Dll and static.
> This works fine, but when I try to load the library into my 
> application I got the following link errors.
>  
> xmlsec.obj : error LNK2001: unresolved external symbol __imp__xmlFree 
> xmlsec.obj : error LNK2001: unresolved external symbol 
> __imp__xmlMalloc xmlsec.obj : error LNK2001: unresolved external 
> symbol __imp__xmlSecDSigCtxFinalize xmlsec.obj : error LNK2001: 
> unresolved external symbol __imp__xmlSecDSigCtxVerify xmlsec.obj : 
> error LNK2001: unresolved external symbol __imp__xmlSecNodeSignature 
> xmlsec.obj : error LNK2001: unresolved external symbol 
> __imp__xmlSecKeysMngrDestroy xmlsec.obj : error LNK2001: unresolved 
> external symbol _xmlSecBase64Decode xmlsec.obj : error LNK2001: 
> unresolved external symbol _xmlStrlen xmlsec.obj : error LNK2001: 
> unresolved external symbol __imp__xmlSecBufferReadFile xmlsec.obj : 
> error LNK2001: unresolved external symbol 
> __imp__xmlSecBufferInitialize xmlsec.obj : error LNK2001: unresolved 
> external symbol __imp__xmlSecDSigNs xmlsec.obj : error LNK2001: 
> unresolved external symbol _xmlSecFindChild xmlsec.obj : error 
> LNK2001: unresolved external symbol _xmlSecFindNode xmlsec.obj : error 
> LNK2001: unresolved external symbol __imp__xmlSecDSigCtxInitialize 
> xmlsec.obj : error LNK2001: unresolved external symbol 
> _xmlDocGetRootElement xmlsec.obj : error LNK2001: unresolved external 
> symbol _xmlParseFile xmlsec.obj : error LNK2001: unresolved external 
> symbol _xmlFreeDoc xmlsec.obj : error LNK2001: unresolved external 
> symbol _xmlFreeDtd xmlsec.obj : error LNK2001: unresolved external 
> symbol __imp__xmlSecOpenSSLAppKeysMngrCertLoadMemory
> xmlsec.obj : error LNK2001: unresolved external symbol 
> __imp__xmlSecOpenSSLAppDefaultKeysMngrInit
> xmlsec.obj : error LNK2001: unresolved external symbol 
> __imp__xmlSecKeysMngrCreate xmlsec.obj : error LNK2001: unresolved 
> external symbol __imp__xmlSecOpenSSLInit xmlsec.obj : error LNK2001: 
> unresolved external symbol __imp__xmlSecOpenSSLAppInit xmlsec.obj : 
> error LNK2001: unresolved external symbol __imp__xmlSecCheckVersionExt 
> xmlsec.obj : error LNK2001: unresolved external symbol 
> __imp__xmlSecInit xmlsec.obj : error LNK2001: unresolved external 
> symbol _xmlInitParser
>  
> Any ideas?
>  
> thanks
> Jürgen
> 
> 
> ----------------------------------------------------------------------
> --
> 
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec





More information about the xmlsec mailing list