[xmlsec] I cant compile sign2.c on Microsoft Visual Studio .

Aleksey Sanin aleksey at aleksey.com
Fri Feb 16 09:23:48 PST 2007


Link with xmlsec libraries.

Aleksey

mauro at logocenter.com.br wrote:
> Hello List.
> i cant compile sing2.c
> 1>c:\haru\harupdf\pequenos testes-\sign2.c(162) : error C2065: 
> 'xmlSecTransformSha1Id' : undeclared identifier
> 
> Thanks
> 
> 1>------ Rebuild All started: Project: XML, Configuration: Debug Win32 
> ------
> 1>Deleting intermediate and output files for project 'XML', 
> configuration 'Debug|Win32'
> 1>Compiling...
> 1>sign.c
> 1>c:\haru\harupdf\pequenos testes-\sign.c(85) : warning C4013: 
> 'xmlSecCryptoAppInit' undefined; assuming extern returning int
> 1>c:\haru\harupdf\pequenos testes-\sign.c(91) : warning C4013: 
> 'xmlSecCryptoInit' undefined; assuming extern returning int
> 1>c:\haru\harupdf\pequenos testes-\sign.c(101) : warning C4013: 
> 'xmlSecCryptoShutdown' undefined; assuming extern returning int
> 1>c:\haru\harupdf\pequenos testes-\sign.c(104) : warning C4013: 
> 'xmlSecCryptoAppShutdown' undefined; assuming extern returning int
> 1>c:\haru\harupdf\pequenos testes-\sign.c(159) : warning C4013: 
> 'xmlSecCryptoAppKeyLoad' undefined; assuming extern returning int
> 1>c:\haru\harupdf\pequenos testes-\sign.c(159) : warning C4047: '=' : 
> 'xmlSecKeyPtr' differs in levels of indirection from 'int'
> 1>sign2.c
> 1>c:\haru\harupdf\pequenos testes-\sign2.c(88) : warning C4013: 
> 'xmlSecCryptoAppInit' undefined; assuming extern returning int
> 1>c:\haru\harupdf\pequenos testes-\sign2.c(94) : warning C4013: 
> 'xmlSecCryptoInit' undefined; assuming extern returning int
> 1>c:\haru\harupdf\pequenos testes-\sign2.c(104) : warning C4013: 
> 'xmlSecCryptoShutdown' undefined; assuming extern returning int
> 1>c:\haru\harupdf\pequenos testes-\sign2.c(107) : warning C4013: 
> 'xmlSecCryptoAppShutdown' undefined; assuming extern returning int
> 1>c:\haru\harupdf\pequenos testes-\sign2.c(152) : error C2065: 
> 'xmlSecTransformRsaSha1Id' : undeclared identifier
> 1>c:\haru\harupdf\pequenos testes-\sign2.c(152) : warning C4047: 
> 'function' : 'xmlSecTransformId' differs in levels of indirection from 
> 'int'
> 1>c:\haru\harupdf\pequenos testes-\sign2.c(152) : warning C4024: 
> 'xmlSecTmplSignatureCreate' : different types for formal and actual 
> parameter 3
> 1>c:\haru\harupdf\pequenos testes-\sign2.c(162) : error C2065: 
> 'xmlSecTransformSha1Id' : undeclared identifier
> 1>c:\haru\harupdf\pequenos testes-\sign2.c(162) : warning C4047: 
> 'function' : 'xmlSecTransformId' differs in levels of indirection from 
> 'int'
> 1>c:\haru\harupdf\pequenos testes-\sign2.c(162) : warning C4024: 
> 'xmlSecTmplSignatureAddReference' : different types for formal and 
> actual parameter 2
> 1>c:\haru\harupdf\pequenos testes-\sign2.c(195) : warning C4013: 
> 'xmlSecCryptoAppKeyLoad' undefined; assuming extern returning int
> 1>c:\haru\harupdf\pequenos testes-\sign2.c(195) : warning C4047: '=' : 
> 'xmlSecKeyPtr' differs in levels of indirection from 'int'
> 1>Generating Code...
> 1>Build log was saved at "file://c:\haru\haruPDF\Pequenos 
> Testes-\Debug\BuildLog.htm"
> 1>XML - 2 error(s), 16 warning(s)
> ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec



More information about the xmlsec mailing list