Intel fortran编译器+Visual Studio Express 2005

直接把答案贴上来好了:

就是说,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 newestNewest to oldestPrevious Next
05-30-2006, 5:18 PM 118626
fatal error LNK1104: cannot open file uuid.lib
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.
05-30-2006, 5:37 PM 118627 in reply to 118626
Re: fatal error LNK1104: cannot open file uuid.lib
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
05-31-2006, 9:11 AM 118639 in reply to 118627
Re: fatal error LNK1104: cannot open file uuid.lib
Exactly how/why does/would that solve his problem?
05-31-2006, 1:19 PM 118656 in reply to 118639
Re: fatal error LNK1104: cannot open file uuid.lib
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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值