CryptoPP conversion problem in Visual C++ 2010

53 views
Skip to first unread message

vinoth rajendran

unread,
Sep 10, 2014, 3:06:54 AM9/10/14
to cryptop...@googlegroups.com
I am using cryptoPP 5.6.2 which  build successfully with Visual C++ 2008..But when i open the solution file in visual C++ 2010 , i am getting conversion failure.. The reason i believe is this library is build using Visual c++ 2005.....But It gets converted with warning in visual C++ 2008.....Help me out.....

Vinoth R

SeungYoup Lee

unread,
Sep 30, 2014, 10:13:02 AM9/30/14
to cryptop...@googlegroups.com
I  build crypto++ in visual studio 2010.

I don't know what you want..

Reference.. (I don't speak English well.. sorry) 

I reference above site and build it. 

1) Open Crypto++ project in visual studio 2010 
- change projet vb2010
(or Open vb2010 and open project crypto++ folder.
Then you can see popup changing project.
Click "Yes" and wait..)

2) I need cryptlib.lib, so i build below.
click build - batch build?
and select  two cryptlib.lib : Win32, Debug/ Release.

3) when you build.. you can see 
..\Win32\output\debug (cryptlib.lib/vc80.idb/vc80.pdb)
..\Win32\output\release (cryptlib.lib/vc80.pdb)

4) I use this library new project (vb 2010) 

5) Copy two file, you want it position
..\Win32\output\debug (cryptlib.lib/vc80.idb/vc80.pdb)
..\Win32\output\release (cryptlib.lib/vc80.pdb)

6) Copy cryptopp header file, you want it position

//debug mode library  
..\common\libcryptopp561\debug\cryptlib.lib

//release mode library
..\common\libcryptopp561\release\cryptlib.lib

//Header file 
..\common\cryptopp561


7) Create your code using cryptoPP library 
-Declare header example) 

#include "cryptopp561\hex.h"
using CryptoPP::HexEncoder;

8) And Project setting 
- Right click project - properties - composition properties? (I don't know.. in english) - c/c++ code generate - multi thread debug /MTD  change

- Right click project - properties - composition properties? (I don't know.. in english) - linker - input - add click 
and set position 
( for example : ..\..\common\libcryptopp561\debug\cryptlib.lib )



Reply all
Reply to author
Forward
0 new messages