Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Error LNK1104

jhjensen
初学者
626 次查看

Hi
Trying to make a QWIN application using VS2005 and Intel VF version 11.1.065 on Windows 7, I get the error message:
Error1 fatal error LNK1104: cannot open file 'user32.lib'LINK

whenI try to builda very simpleproject.
Using command line compiling everything is ok.

What shall I do ?

Regards
Jens Henning Jensen

0 项奖励
3 回复数
Steven_L_Intel1
626 次查看
In Visual Studio, select Tools > Options > Intel Visual Fortran > Compilers. Click on the ... button to the right of Libraries. The list should look like this:

[plain]$(IFortInstallDir)compilerlibia32
$(IFortInstallDir)mkllibia32
$(VCInstallDir)atlmfclib
$(VCInstallDir)lib
$(VCInstallDir)PlatformSDKlib
$(FrameworkSDKDir)lib[/plain]
If it doesn't, click OK to close this window and then click Reset All, then try a build.
0 项奖励
jhjensen
初学者
626 次查看
Hello Steve
The options looked exactly like above, but i added a new line:
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\PlatformSDK\Lib
and now it seems to work!

As always you have been very helpfull, thank you!

Jens Henning Jensen

Real programmers do it in FORTRAN
0 项奖励
Steven_L_Intel1
626 次查看
Interesting - I would have expected that folder to be included with the $VCInstallDir)PlatformSDK\Lib entry. Glad to hear that you got it working.
0 项奖励
回复