在 C++ 中执行 WHIRLPOOL 哈希;
这听起来是一个相对简单的问题,但我一直无法让 Crypto++ 工作。我正在使用 Microsoft Visual C++ 2010 Express(我很便宜),并且库中包含的 .vcxproj/.vcproj/.sln 文件根本不起作用。文件也很多,但我不确定我到底需要什么。
那么有人知道我可以直接加入的解决方案吗?只要参考实现的效率不是低得离谱或者其他什么的,就可以了。很抱歉提出这样一个平凡的问题,但我环顾四周,找不到我需要的任何东西 - 我想密码学不是我的专业领域。
尽管如此,如果有人知道如何让 VC++ 2010 加载项目文件,那么让 Crypto++ 工作就太好了。该错误非常严重...无法描述。它只是说该项目无法加载,并给我 -2147483647 作为错误号。
编辑:这是转换报告错误:
XML 解析期间发生以下错误:文件:C:\Users\Kyle\Desktop\Exoterra\Dependencies\crypto\cryptlib.vcproj 行:102 列:5 错误消息:系统错误:- 2147154677。文件“C:\Users\Kyle\Desktop\Exoterra\Dependency\crypto\cryptlib.vcproj”加载失败。
这是 cryptlib.vcproj 的第 102 行:
Name="VCPostBuildEventTool"
编辑(再次):我让它工作了。我删除了项目文件中涉及 x64 的所有内容,现在它可以正确转换。不管怎样,谢谢。
This sounds like a relatively simple question, but I haven't been able to get Crypto++ to work. I'm using Microsoft Visual C++ 2010 Express (I'm cheap) and the .vcxproj/.vcproj/.sln files included in the library simply don't work. There are a lot of files, too, and I'm just not sure what exactly I need.
So does anyone know of a solution I could just drop in or something? Reference implementations are fine as long as they're not ridiculously inefficient or something. Sorry for such a mundane question, but I've looked around myself and I couldn't find anything I need - I guess cryptography just isn't my area of expertise.
That being said, though, it would be nice to get Crypto++ to work, if anyone has a clue as to how I might get VC++ 2010 to load the project files. The error is extremely... not descriptive. It just says the project couldn't be loaded and gives me -2147483647 as an error number.
EDIT: Here's the Conversion Report error:
The following error has occurred during XML parsing: File: C:\Users\Kyle\Desktop\Exoterra\Dependencies\crypto\cryptlib.vcproj Line: 102 Column: 5 Error Message: System error: -2147154677. The file 'C:\Users\Kyle\Desktop\Exoterra\Dependencies\crypto\cryptlib.vcproj' has failed to load.
This is line 102 of cryptlib.vcproj:
Name="VCPostBuildEventTool"
EDIT (again): I got it to work. I deleted everything referring to x64 in the project file and now it converted properly. Thanks anyway.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不确定你遇到了什么问题。
使用 Express 版本,您希望能够在 Visual Studio 中编译资源文件。您将需要使用 Windows SDK 中的 rc 编译器来编译它们。
Not sure what problem you had.
With the Express version you want be able to compile the resource files in Visual Studio. You will need to use the rc compiler from the Windows SDK to compile them.