Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

Error LNK1104

jhjensen
Beginner
693 Views

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 Kudos
3 Replies
Steven_L_Intel1
Employee
693 Views
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 Kudos
jhjensen
Beginner
693 Views
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 Kudos
Steven_L_Intel1
Employee
693 Views
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 Kudos
Reply