使用Microsoft Visual Studio 10在FORTRAN中调用外部NAG库 [英] Calling External NAG Libraries in FORTRAN using Microsoft Visual Studio 10

查看:269
本文介绍了使用Microsoft Visual Studio 10在FORTRAN中调用外部NAG库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚购买了Microsoft Visual Studio 10(包括NAG库),我正在尝试运行一些旧的Fortran代码。该代码包括对外部NAG例程(F04ADF)的调用,该例程给出了以下错误:

I have just purchased Microsoft Visual Studio 10 (which includes NAG libraries) and I am trying to run some old Fortran code. The code includes a call to an external NAG routine (F04ADF) which gives me the following error:

 

错误  1 错误LNK2019:函数_MAIN中引用了未解析的外部符号_ZGESV __  Test_F04ADF.obj 

Error 1  error LNK2019: unresolved external symbol _ZGESV referenced in function _MAIN__ Test_F04ADF.obj 

有没有人知道如何将NAG例程链接到代码?

Does anyone knwo how I link the NAG routine to the code?

非常感谢您的帮助

 

W

 

推荐答案

您在Visual Studio中使用哪种FORTRAN编译器?

Which FORTRAN compiler are you using with Visual Studio?

您是否在支持论坛中询问过该编译器? ?

Have you asked in the support forums for that compiler?

我发现这是在网上搜索:

I found this searching the web:

http://www.laheyforum.com/showthread.php?t=10598

但是,如果您不使用Lahey FORTRAN ,它可能没用。

but, if you are not using Lahey FORTRAN, it may not be useful.


这篇关于使用Microsoft Visual Studio 10在FORTRAN中调用外部NAG库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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