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

LINK - error with kernel32.lib after upgrading

Michael_Schaefer
Beginner
869 Views

Hello,

after upgrading to 6.6b from 6.1 I get the following error:

LINK : fatal error LNK1181: "kernel32.lib" could not be open

I could solve this by adding a library path to
"C:ProgrammeMicrosoft Visual StudioDF98LIB,C:ProgrammeMicrosoft Visual StudioVC98LIB" ,

An enviroment variable LIB with "C:ProgrammeMicrosoft Visual StudioDF98LIB,C:ProgrammeMicrosoft Visual StudioVC98LIB" is already defined.

What could be the reason for this problem?

Kind Regards
Michael Schaefer

 

0 Kudos
2 Replies
Jugoslav_Dujic
Valued Contributor II
869 Views
When compiling from IDE, environment variable is not used, but the settings in Tools/Options/Directories.

Before you attempt to fix it manually, run "Per user setup" from CVF program group; it is supposed to fix it.

Jugoslav
0 Kudos
Michael_Schaefer
Beginner
869 Views

Solve the problem.

Thank you very much, Jugoslav!

Michael

0 Kudos
Reply