C++ 使用msvc 2010构建cryptopp 5.6.2

C++ 使用msvc 2010构建cryptopp 5.6.2,c++,encryption,visual-studio-2010,C++,Encryption,Visual Studio 2010,我正在尝试使用msvc 2010构建cryptopp 5.6.2。根据project目录中的Readme.txt文件,如果您想将project编译为包含所有算法的静态库,您应该构建cryptestproject。所以我从解决方案中选择这个项目并尝试构建它。但我得到的信息是: 1>------ Build started: Project: cryptest, Configuration: Debug Win32 ------ 1>Build started 12/30/2013 9:

我正在尝试使用msvc 2010构建cryptopp 5.6.2。根据project目录中的
Readme.txt
文件,如果您想将project编译为包含所有算法的静态库,您应该构建
cryptest
project。所以我从解决方案中选择这个项目并尝试构建它。但我得到的信息是:

1>------ Build started: Project: cryptest, Configuration: Debug Win32 ------
1>Build started 12/30/2013 9:43:43 PM.
1>InitializeBuildStatus:
1>  Touching "Win32\cryptest\Debug\cryptest.unsuccessfulbuild".
1>ClCompile:
1>  adhoc.cpp
1>c1xx : fatal error C1083: Cannot open source file: 'adhoc.cpp': No such file or directory
1>  bench.cpp
1>  bench2.cpp
1>  datatest.cpp
1>  dlltest.cpp
1>  fipsalgt.cpp
1>  regtest.cpp
1>  test.cpp
1>  validat1.cpp
1>  validat2.cpp
1>  validat3.cpp
1>  Generating Code...
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:26.23
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
在项目的firectory中有adhoc.cpp.PROTO。我将其后缀更改为.cpp,并尝试再次构建它。但我得到的信息是:

1>------ Build started: Project: cryptest, Configuration: Debug Win32 ------
1>Build started 12/30/2013 9:51:24 PM.
1>InitializeBuildStatus:
1>  Touching "Win32\cryptest\Debug\cryptest.unsuccessfulbuild".
1>ClCompile:
1>  adhoc.cpp
1>  bench.cpp
1>  bench2.cpp
1>  datatest.cpp
1>  dlltest.cpp
1>  fipsalgt.cpp
1>  regtest.cpp
1>  test.cpp
1>  validat1.cpp
1>  validat2.cpp
1>  validat3.cpp
1>  Generating Code...
1>LINK : fatal error LNK1104: cannot open file 'E:\Utality for Windows\crypto\cryptopp\Win32\Output\Debug\cryptlib.lib'
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:27.22
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

有解决方案吗?

那么这个库存在吗

E:\utability for Windows\crypto\cryptopp\Win32\Output\Debug\cryptolib.lib


如果没有,那么您需要从cryptopp源代码构建该库(我确信它比构建日志显示的文件要多)。

'那么该库存在吗?如果没有,那么您需要构建…'。我只是试着按照图书馆作者发布的建筑规则来建造图书馆,其他什么都没有。“E:\Utality for Windows\crypto\cryptopp\Win32\Output\Debug\cryptlib.lib”是已编译库的路径,而不是编译过程所需的预构建二进制文件。