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 on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

Compiler Versions vs Developer Studio

Raghu
Beginner
767 Views
Dev studio 97 with Fortran Compiler 5.0 (F90) - Is this still a valid environment to work?. I am getting link1104 errors with missing kernel32.lib? Running under 32 bit XP. Please help
0 Kudos
5 Replies
Steven_L_Intel1
Employee
767 Views
Whose Fortran 5.0 are you using? If it is Digital Visual Fortran, then VS97 is the corresponding version. Of course, that is a 12-year old version... kernel32.lib should be in the VCLIB folder.
0 Kudos
Raghu
Beginner
767 Views
Whose Fortran 5.0 are you using? If it is Digital Visual Fortran, then VS97 is the corresponding version. Of course, that is a 12-year old version... kernel32.lib should be in the VCLIB folder.

From missing links I can see its from HP. I confirm kernel32.lib file in its location. Compiles OK but errors out while building. See message below...
Linking...
LINK : fatal error LNK1104: cannot open file "dfor.lib"
Error executing link.exe.
Thanks for your reply!
0 Kudos
Steven_L_Intel1
Employee
767 Views
That is Digital Visual Fortran. Not really "from HP". Are you sure about the version? dfor.lib will be in, I think, Program FilesDevStudioDFLIB Are you building from a command line or from Developer Studio? Perhaps a reinstall of DVF will solve your problem.

I don't have that version installed so can't be of too much help trying to get it running for you. It is from 1997.
0 Kudos
Raghu
Beginner
767 Views
That is Digital Visual Fortran. Not really "from HP". Are you sure about the version? dfor.lib will be in, I think, Program FilesDevStudioDFLIB Are you building from a command line or from Developer Studio? Perhaps a reinstall of DVF will solve your problem.

I don't have that version installed so can't be of too much help trying to get it running for you. It is from 1997.
Yes, you are right, I located that file. I also added the paths of these lib files under Tools-Options-Directories. Tried building again with the following error. I am sure you can help me on below ... !!! Thanks.

ER533A.OBJ : error LNK2001: unresolved external symbol _ASSIGN@12
ER533A.OBJ : error LNK2001: unresolved external symbol _CLOSE@4
Debug/ER533A.exe : fatal error LNK1120: 2 unresolved externals
0 Kudos
Steven_L_Intel1
Employee
767 Views
It sounds as if you have "CALL ASSIGN" and "CALL CLOSE" in your program. These are old, non-standard routines that are not supported by DVF. CALL ASSIGN is usually replaced by an OPEN statement and CALL CLOSE can be replaced with CLOSE. Please consult any Fortran textbook post-1977, or the Digital Fortran Language Reference Manual, for information on these.
0 Kudos
Reply