It was my fault. I havent downloaded the xxx_a.lib files... -------- Original-Nachricht -------- > Datum: Wed, 19 Sep 2007 16:30:16 +0200 > Von: "Martin Salo" <[EMAIL PROTECTED]> > An: [email protected] > Betreff: [xmlsec] Static linking: unresolved external symbol > _xmlSecTypeEncElement
> 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 -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail _______________________________________________ xmlsec mailing list [email protected] http://www.aleksey.com/mailman/listinfo/xmlsec
