您的位置:首页 > 其它

Intel fortran编译器+Visual Studio Express 2005

2008-03-17 00:02 423 查看
直接把答案贴上来好了:

就是说,express最好带上 Windows SDK!!因为Intel Compiler基本上只是windows compiler toolchain的一个扩展件。

fatal error LNK1104: cannot open file uuid.lib

Last post 05-31-2006, 1:19 PM by Steve Lionel. 3 replies.

Sort Posts:
Oldest to newest
Newest to oldest
Previous Next

05-30-2006, 5:18 PM
118626



bubenik@sri.com







Joined on 04-19-2006



Posts 2







fatal error LNK1104: cannot open file uuid.lib

Reply Quote

I recently installed the Inter Fortran 9.1 30-day trial, and get the above error every time I try to use it. It occurs when attempting to compile and link simple existing standalone fortran programs from any command window. The only uuid.lib file on my system in in the Matlab folder.

Report abuse



05-30-2006, 5:37 PM
118627 in reply to 118626



Steve Lionel







Joined on 03-13-2002



Posts 10,353









Re: fatal error LNK1104: cannot open file uuid.lib

Reply Quote

I assume that you have Visual C++ 2005 Express Edition? There are two solutions to this:

1. Download and install the free Microsoft Platform SDK (see links in the Installation Guide) and reinstall ifort.
2. Edit (using Notepad) C:/Program Files/Intel/Compiler/Fortran/9.1/IA32/Bin/ifort.cfg and add this line:

-Qoption,link,/nodefaultlib:uuid.lib Steve

Doctor Fortran: intel.com/software/drfortran

Report abuse



05-31-2006, 9:11 AM
118639 in reply to 118627



anthonyrichards







Joined on 12-23-2003



Posts 435







Re: fatal error LNK1104: cannot open file uuid.lib

Reply Quote

Exactly how/why does/would that solve his problem?

Report abuse



05-31-2006, 1:19 PM
118656 in reply to 118639



Steve Lionel







Joined on 03-13-2002



Posts 10,353









Re: fatal error LNK1104: cannot open file uuid.lib

Reply Quote

Several of the static libraries used by Intel Fortran applications contain a directive to require the MS Platform SDK library uuid.lib. This library is not provided by Visual C++ 2005 Express Edition.

The reference comes from deep within a nested set of #include references in a C header file (the libraries are written in C.) As it happens, nothing from uuid.lib is actually used, so telling the linker to ignore it solves the problem.

The other solution is to install the free Platform SDK which has the library.

Some of the references to uuid.lib have been removed, but not all of them, so far.

Another solution would be to link against the DLL libraries. Steve

Doctor Fortran: intel.com/software/drfortran

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: