Compaq Visual Fortran 6.6中编译fortran程序时出现错误: fatal error C1083:Cannot open include file:
具体错误如下:Deletingintermediatefilesandoutputfilesforproject'my-Win32Debug'.-------------...
具体错误如下:
Deleting intermediate files and output files for project 'my - Win32 Debug'.
--------------------Configuration: my - Win32 Debug--------------------
Creating Type Library...
Microsoft (R) MIDL Compiler Version 5.01.0164
Copyright (c) Microsoft Corp 1991-1997. All rights reserved.
Processing D:\source\my\my.idl
my.idl
Processing D:\Program Files\Microsoft Visual Studio\VC98\Include\oaidl.idl
oaidl.idl
Processing D:\Program Files\Microsoft Visual Studio\VC98\Include\objidl.idl
objidl.idl
Processing D:\Program Files\Microsoft Visual Studio\VC98\Include\unknwn.idl
unknwn.idl
Processing D:\Program Files\Microsoft Visual Studio\VC98\Include\wtypes.idl
wtypes.idl
Processing D:\Program Files\Microsoft Visual Studio\VC98\Include\ocidl.idl
ocidl.idl
Processing D:\Program Files\Microsoft Visual Studio\VC98\Include\oleidl.idl
oleidl.idl
Processing D:\Program Files\Microsoft Visual Studio\VC98\Include\servprov.idl
servprov.idl
Processing D:\Program Files\Microsoft Visual Studio\VC98\Include\urlmon.idl
urlmon.idl
Processing D:\Program Files\Microsoft Visual Studio\VC98\Include\msxml.idl
msxml.idl
Compiling resources...
Compiling Fortran...
D:\source\tj_out.for
D:\source\Split.for
D:\source\Read_Grid.for
D:\source\Dife_Par.for
D:\source\Dife_iter.for
D:\source\Cal_roua_bak.for
D:\source\Cal_roua.for
D:\source\2d_initials.for
D:\source\2DMT_main.FOR
Compiling...
StdAfx.cpp
d:\source\my\stdafx.h(18) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory
Error executing cl.exe.
my.dll - 1 error(s), 0 warning(s)
急啊...谢谢! 展开
Deleting intermediate files and output files for project 'my - Win32 Debug'.
--------------------Configuration: my - Win32 Debug--------------------
Creating Type Library...
Microsoft (R) MIDL Compiler Version 5.01.0164
Copyright (c) Microsoft Corp 1991-1997. All rights reserved.
Processing D:\source\my\my.idl
my.idl
Processing D:\Program Files\Microsoft Visual Studio\VC98\Include\oaidl.idl
oaidl.idl
Processing D:\Program Files\Microsoft Visual Studio\VC98\Include\objidl.idl
objidl.idl
Processing D:\Program Files\Microsoft Visual Studio\VC98\Include\unknwn.idl
unknwn.idl
Processing D:\Program Files\Microsoft Visual Studio\VC98\Include\wtypes.idl
wtypes.idl
Processing D:\Program Files\Microsoft Visual Studio\VC98\Include\ocidl.idl
ocidl.idl
Processing D:\Program Files\Microsoft Visual Studio\VC98\Include\oleidl.idl
oleidl.idl
Processing D:\Program Files\Microsoft Visual Studio\VC98\Include\servprov.idl
servprov.idl
Processing D:\Program Files\Microsoft Visual Studio\VC98\Include\urlmon.idl
urlmon.idl
Processing D:\Program Files\Microsoft Visual Studio\VC98\Include\msxml.idl
msxml.idl
Compiling resources...
Compiling Fortran...
D:\source\tj_out.for
D:\source\Split.for
D:\source\Read_Grid.for
D:\source\Dife_Par.for
D:\source\Dife_iter.for
D:\source\Cal_roua_bak.for
D:\source\Cal_roua.for
D:\source\2d_initials.for
D:\source\2DMT_main.FOR
Compiling...
StdAfx.cpp
d:\source\my\stdafx.h(18) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory
Error executing cl.exe.
my.dll - 1 error(s), 0 warning(s)
急啊...谢谢! 展开
3个回答
展开全部
Fortran的内部数学函数都在
C:\Program Files\Microsoft Visual Studio\DF98\LIB\DFOR.LIB
想必是你的IVF设置没包含这个库文件,因此无法解析其中的数学函数。
进入Tool > Options > Intel(R) Fortran > Compiler > Libraries
加入$(VCInstallDir)lib
有问题再交流。
======================================
我认为和装在哪个盘没关系。
能否说一下你都加载了什么库?Tool > Options > Intel(R) Fortran > Compiler > Libraries
你再看看Project > Properties > Linker里面关于Libraries的设置有没有不合理的,我就没法一一说了。
=======================================
你贴的图只是Project > Properties > Linker > General的属性,点Linker旁边的加号展开,还有更多的属性。我无法一一说了,你看看有没有忽略什么库。
C:\Program Files\Microsoft Visual Studio\DF98\LIB\DFOR.LIB
想必是你的IVF设置没包含这个库文件,因此无法解析其中的数学函数。
进入Tool > Options > Intel(R) Fortran > Compiler > Libraries
加入$(VCInstallDir)lib
有问题再交流。
======================================
我认为和装在哪个盘没关系。
能否说一下你都加载了什么库?Tool > Options > Intel(R) Fortran > Compiler > Libraries
你再看看Project > Properties > Linker里面关于Libraries的设置有没有不合理的,我就没法一一说了。
=======================================
你贴的图只是Project > Properties > Linker > General的属性,点Linker旁边的加号展开,还有更多的属性。我无法一一说了,你看看有没有忽略什么库。
展开全部
Cannot open include file: 'atlbase.h': No such file or directory
无法打开文件包:'atlbase.h':没有那个文件或目录
无法打开文件包:'atlbase.h':没有那个文件或目录
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
最好附上你的程序,否则不好判别的
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询