如何将nist源代码转换为visual studio 2005? [英] how to convert nist source code to visual studio 2005?

查看:84
本文介绍了如何将nist源代码转换为visual studio 2005?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。

我在本文件中读过nist网站(http://csrc.nist.gov/groups/ST/toolkit/rng/documentation_software.html)的文件说通过微小的修改,源代码可以移植到不同的平台.NIST源代码被移植到运行Visual Studio 2005编译器的Windows XP系统。(源代码用gcc编译器编译)所以我编译源代码在VC ++中,但需要6个警告,当Irun程序需要7个错误!?

我需要这些源代码的dll格式并将它们与jni一起使用。

请帮助我。我必须解决这个问题。

Hi every one.
I have read a document from nist website (http://csrc.nist.gov/groups/ST/toolkit/rng/documentation_software.html) in this document said that" With minor modifications, source code may be ported to different platforms. The NIST source code was ported to a Windows XP system running Visual Studio 2005 compiler".(that the source code compile with gcc compiler) and so I compile the source code in VC++ but take 6Warning and when Irun the program take 7 Error!?
I need the dll format from these source code and using them with jni.
Please help me. I have to resolve this problem.

推荐答案

查看功能代码的链接器选项中指定的库,并确保所有这些库也在链接器选项中指定代码给你错误。就像Richard提到的那样,这看起来像你缺少.libs。
Look at the libraries specified in the linker options of the functioning code and make sure that all those are also specified in the linker options of the code giving you the errors. Like Richard mentioned, this looks like you're missing .libs.


用msys安装最新的MinGW



把这个新的系统属性中的用户变量 - >高级 - >环境变量:

路径

C:\ MinGW \ bin



打开msys.bat
Install the latest MinGW with msys

Put this new user variable in System properties -> Advanced -> Environment Variables:
PATH
C:\MinGW\bin

Open msys.bat


cdpath//指向你的文件夹,其中是NIST makefile
cd "path" // point to your folder where is the NIST makefile


这篇关于如何将nist源代码转换为visual studio 2005?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆