[xmlsec] compiling sign1.c in windows.

dk at pdx.edu dk at pdx.edu
Mon Nov 14 11:03:23 PST 2005


Hi there,
 I'm trying to use visual studio to compile the sign1.c sample code in windows.
I got the following errors:
:\PPD_SDK\FWPP\SamplePP.cpp(272) : error C2065: 'xmlSecCryptoAppInit' :
undeclared identifier
C:\PPD_SDK\FWPP\SamplePP.cpp(278) : error C2065: 'xmlSecCryptoInit' : undeclared
identifier
C:\PPD_SDK\FWPP\SamplePP.cpp(288) : error C2065: 'xmlSecCryptoShutdown' :
undeclared identifier
C:\PPD_SDK\FWPP\SamplePP.cpp(291) : error C2065: 'xmlSecCryptoAppShutdown' :
undeclared identifier
C:\PPD_SDK\FWPP\SamplePP.cpp(298) : error C2065: 'xsltCleanupGlobals' :
undeclared identifier
C:\PPD_SDK\FWPP\SamplePP.cpp(504) : error C2065: 'xmlSecCryptoAppKeyLoad' :
undeclared identifier
C:\PPD_SDK\FWPP\SamplePP.cpp(504) : error C2440: '=' : cannot convert from 'int'
to 'struct _xmlSecKey *'
        Conversion from integral type to pointer type requires reinterpret_cast,
C-style cast or function-style cast
C:\PPD_SDK\FWPP\SamplePP.cpp(511) : error C2664: 'xmlSecKeySetName' : cannot
convert parameter 2 from 'const char *' to 'const unsigned char *'
        Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast

I copied the original code from Aleksey's web page. I'm a newbie in both visual
studio stuff and xml security. I read the archive of this list and checked the
FAQ, but didn't get any luck.

Was the sign1.c written specifically for linux box? Should I modify something?


PLease Help.
Thanks,
Divya





More information about the xmlsec mailing list