[英]building cryptopp 5.6.2 with msvc 2010
I am trying to build cryptopp 5.6.2 with msvc 2010. According to Readme.txt
file in project's directory, if you want to compile project as a static library that contains all algorithms, you should build cryptest
project. 我正在尝试使用msvc 2010构建cryptopp 5.6.2。根据项目目录中的Readme.txt
文件,如果要将项目编译为包含所有算法的静态库,则应构建最cryptest
项目。 So i select this project from solutions and try to build it. 因此,我从解决方案中选择了这个项目并尝试构建它。 But i get this message : 但我收到此消息:
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 ==========
There is adhoc.cpp.PROTO in project's firectory. 项目的目录中有adhoc.cpp.PROTO。 I change it's suffix to .cpp and try to build it again. 我将其后缀更改为.cpp,然后尝试再次构建它。 But i get this Message : 但我收到此消息:
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 ==========
Any solution? 有什么办法吗?
So does that library exist? 那该图书馆存在吗?
E:\\Utality for Windows\\crypto\\cryptopp\\Win32\\Output\\Debug\\cryptlib.lib
If not, then you need to build that library from the cryptopp sources (and I am sure it is more files than what your build log is showing). 如果没有,那么您需要从cryptopp源构建该库(而且我确信它比构建日志显示的文件要多)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.