Hello Mailinglist,

I want to switch my application (Win32) from dynamical loading XMLSec to static 
linking. Therefore I tried the encrypt2.c example from the XMLSec archiv. I 
have replaced this defines:
#define XMLSEC_CRYPTO_DYNAMIC_LOADING
#define XMLSEC_CRYPTO "openssl"

With this defines (regarding the FAQ):
#define XMLSEC_CRYPTO_OPENSSL
#define LIBXML_STATIC
#define LIBXSLT_STATIC
#define XMLSEC_STATIC

But I get this error:
> error LNK2001: unresolved external symbol _xmlSecTypeEncElement

If I replace xmlSecTypeEncElement with 
"http://www.w3.org/2001/04/xmlenc#Element"; (<- the value behind 
xmlSecTypeEncElement) the encrypt2.c example works fine. 

This are the libs within my project. I have downloaded them from Igors site:
iconv.lib, libeay32.lib, libexslt.lib, libxml2.lib, libxmlsec.lib, 
libxmlsec-openssl.lib, libxslt.lib, ssleay32.lib, zlib.lib, zdll.lib

Have I forgotten a lib?


Regards

Martin
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec
  • [xmlsec] Static linking: unresolved external symbol _xmlSecTyp... Martin Salo

Reply via email to