[xmlsec] Please fix my silly mistake

dk at pdx.edu dk at pdx.edu
Tue Nov 15 12:24:29 PST 2005


I am trying getting the following errors when i am trying to compile sign1.c

-------------------Configuration: trail - Win32 Debug--------------------
Compiling...
trail.cpp
C:\first\trail\trail.cpp(91) : error C2065: 'xmlSecCryptoAppInit' : undeclared
identifier
C:\first\trail\trail.cpp(97) : error C2065: 'xmlSecCryptoInit' : undeclared
identifier
C:\first\trail\trail.cpp(110) : error C2065: 'xmlSecCryptoShutdown' : undeclared
identifier
C:\first\trail\trail.cpp(113) : error C2065: 'xmlSecCryptoAppShutdown' :
undeclared identifier
C:\first\trail\trail.cpp(168) : error C2065: 'xmlSecCryptoAppKeyLoad' :
undeclared identifier
C:\first\trail\trail.cpp(168) : error C2440: '=' : cannot convert from 'int' to
'struct _xmlSecKey *'

I know that i am missing something like including correct header files. i am
working in visual studio 6 environment.
Please Please look into these setting and let me know if i am missing something.
i already spent one day on it and i am frustrated.

These are my include folders
C:\PROGRAM FILES\LIBXML2-2.6.20.WIN32\INCLUDE
C:\PROGRAM FILES\LIBXMLSEC-1.2.8.WIN32\INCLUDE
C:\PROGRAM FILES\OPENSSL-0.9.7E.WIN32\INCLUDE
C:\PROGRAM FILES\LIBXSLT-1.1.14.WIN32\INCLUDE

These are my executables
C:\PROGRAM FILES\LIBXMLSEC-1.2.8.WIN32\BIN
C:\PROGRAM FILES\LIBXML2-2.6.20.WIN32\BIN
C:\PROGRAM FILES\OPENSSL-0.9.7E.WIN32\BIN
C:\PROGRAM FILES\LIBXSLT-1.1.14.WIN32\BIN

These are my library files
C:\PROGRAM FILES\LIBXMLSEC-1.2.8.WIN32\LIB
C:\PROGRAM FILES\LIBXML2-2.6.20.WIN32\LIB
C:\PROGRAM FILES\OPENSSL-0.9.7E.WIN32\LIB
C:\PROGRAM FILES\LIBXSLT-1.1.14.WIN32\LIB

These are by object or library modules
libxmlsec-openssl_a.lib libexslt.lib libexslt_a.lib libxslt.lib libxslt_a.lib
libeay32.lib libeay32_a.lib ssleay32.lib ssleay32_a.lib libxmlsec-openssl.lib
libxmlsec-mscrypto_a.lib libxmlsec-mscrypto.lib libxmlsec_a.lib libxmlsec.lib
libxml2_a.lib libxml2.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
odbc32.lib odbccp32.lib

I also tried copying all the header files to the include folder of my compiler.
But that didnt work too..
DID I MISS ANYTHING????

Any help would be greatly appreciated


More information about the xmlsec mailing list