[xmlsec] Cross-compiling for mscrypto

Dmitry Belyavsky beldmit at cryptocom.ru
Mon Dec 5 05:34:23 PST 2005


I have 2 questions:

1. How do I cross-compile xmlsec to use mscrypto on unix host using mingw?
./configure --build=i686-pc-linux-gnu --host=i586-mingw32msvc

doesn't work at all.

2. I have problems linking libxmlsec on Win32 platform. I configure from
win32/ subdir with
cscript configure.js crypto=mscrypto and get a lot of errors beginning

..\include\xmlsec/mscrypto/app.h(48) : error C2146: syntax error : missing ')' before identifier 'hKey'
..\include\xmlsec/mscrypto/app.h(48) : error C2081: 'HCRYPTKEY' : name in formal parameter list illegal
..\include\xmlsec/mscrypto/app.h(48) : error C2061: syntax error : identifier 'hKey'

What's wrong?

Thank you!

SY, Dmitry Belyavsky (ICQ UIN 11116575)

More information about the xmlsec mailing list