[xmlsec] problem in compiling sign1.c in windows

Jay Hark yourhawk2003 at yahoo.com
Mon May 3 11:11:52 PDT 2004


Hi, there,
 
I'm trying to use visual studio to compile the sign1.c sample code in windows. I got the following errors:
 
--------------------Configuration: sign1 - Win32 Debug--------------------
Compiling...
sign1.c
C:\myweb\xml\sign1.c(95) : warning C4013: 'xmlSecCryptoAppInit' undefined; assuming extern returning int
C:\myweb\xml\sign1.c(101) : warning C4013: 'xmlSecCryptoInit' undefined; assuming extern returning int
C:\myweb\xml\sign1.c(111) : warning C4013: 'xmlSecCryptoShutdown' undefined; assuming extern returning int
C:\myweb\xml\sign1.c(114) : warning C4013: 'xmlSecCryptoAppShutdown' undefined; assuming extern returning int
C:\myweb\xml\sign1.c(169) : warning C4013: 'xmlSecCryptoAppKeyLoad' undefined; assuming extern returning int
C:\myweb\xml\sign1.c(169) : warning C4047: '=' : 'struct _xmlSecKey *' differs in levels of indirection from 'int '
sign1.obj - 0 error(s), 6 warning(s)
-----------------------------------------------------------------
 
Did you miss something? 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? I already added the following code:
 
---------------------------------------------------------------
 #define LIBXML_STATIC
 #define LIBXSLT_STATIC
 #define XMLSEC_STATIC
 #define ICONV_STATIC
 #define ZLIB_STATIC
---------------------------------------------------------------
 
Thank you very much!
 
Jay

		
---------------------------------
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20040503/4c6421d8/attachment.htm


More information about the xmlsec mailing list