qca, qca-ossl都是在官网下载的最新版。
1. qca已经编译成功。
2. openssl使用的是安装版的, OpenSSL 0.9.8k
3. 编译qca-ossl。
3.1: 开始的时候说是错误:C:/qca_ossl/qca-ossl.cpp:6816: error: `EVP_whirlpool' was not declared in this scope
按网上的说法,把下面这一段注释掉,好,跳过了这个错误
#ifdef OBJ_whirlpool
else if ( type == "whirlpool" )
return new opensslHashContext( EVP_whirlpool(), this, type);
#endif
3.2:继续编译,上面的错误解决了,但是现在又出现了一个新的错误:C:\Qt\2009.03\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lqcad
到这里,弄了很久,都没有解决,有哪位对编译qca-ossl有经验的吗?指点一下。
谢谢!!!