- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
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.
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.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page