开发者

How to integrate Crypto++ into C++ Builder 2010 / [ILINK32 Error]

开发者 https://www.devze.com 2023-01-20 09:20 出处:网络
I was trying to compile the following (example) code via C++ Builder 2010: http://swarmapps.wordpress.com/2009/11/24/a-simplification-wrapper-for-the-crypto-library/

I was trying to compile the following (example) code via C++ Builder 2010:

http://swarmapps.wordpress.com/2009/11/24/a-simplification-wrapper-for-the-crypto-library/

( http://pastebin.com/f6bd13d59 / example.cpp )

( http://pastebin.com/f2fc53f83 / BasicCryptoPPWrap.h )

There were no compiler errors but the linking failed:

[ILINK32 Error] Error: Unresolved external 'Cryp开发者_StackOverflow社区toPP::SimpleKeyingInterface::SetKey(const unsigned char *, unsigned int, CryptoPP::NameValuePairs&)' referenced from E:\TEST\DEBUG\FILE1.OBJ

How can I fix this problem?


from the same page

The wrapper is not a standalone solution. It requires your code to link to libcryptopp and know where the cryptopp header files are found. The Crypto++ website can help you set up your system. Once you get the validation suite to run successfully, you will be able to use this wrapper.

0

精彩评论

暂无评论...
验证码 换一张
取 消