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

Error in opening the Library module file

kirschpe
Beginner
448 Views
In compiling my code with a "use kernel32" statement I get ...

Error: Error in opening the Library module file. [KERNEL32]
use kernel32
------------^

I'm using Compaq fortran 6.6b on on Intel machine.

This used to compile.

thanks...
What happened and how do I fix it.
0 Kudos
2 Replies
Steven_L_Intel1
Employee
448 Views
Are you using the command line or the IDE? Have you also installed Intel Fortran 7.x?

If you're using the IDE, the compiler looks in the list of folders under Tools..Options..Directories..Include Files. If the command line, the INCLUDE environment variable. The folder ending in DF98INCLUDE should be in these. If Intel Fortran 7.x folders are in the list, remove them.

Steve
0 Kudos
kirschpe
Beginner
448 Views
I solved my own problem.

Somehow the fortran includes files directory, C:PROGRAM FILESMICROSOFT VISUAL STUDIODF98INCLUDE, was missing.

0 Kudos
Reply