Can's find dformd.lib during the linking process

Can's find dformd.lib during the linking process

MS Visual C++ 6.0 Professional
Compaq Visual Fortran Standard Edition 6.1.0
Windows 2000 Professional Service Pack 2

I have MS Visual Studio 6 and am tryng to make an MFC AppWizard(exe), dialog based project. I
want to call a fortran subroutine from the C++ Code. But I am getting an error during the linking process
that looks like this:

--------------------Configuration: shad_8150_2 - Win32 Release--------------------
Compiling Fortran...
C:Program FilesMicrosoft Visual StudioMyProjectsshad_8150_2shad_8150_3.for
Compiling...
shad_8150_2Dlg.cpp
Linking...
LINK : fatal error LNK1104: cannot open file "dformd.lib"
Error executing link.exe.

shad_8150_2.exe - 1 error(s), 0 warning(s)
---------------------------------------------------------------------------------------

I searched for the "dformd.lib" file and it is located in:
C:Program FilesMicrosoft Visual StudioDF98LIB , where I assume it should be.
In the settings for my project, I chose (under the Fortran Libraries catagory) to use a multi-threaded DLL
Run-time library. And "Use Common Windows Libraries" is checked.
Under the "C/C++ Code Generation" catagory, I also chose to use a Multi-threaded DLL for the
run-time library.

These settings worked on a Windows NT 4.0 install of MS Visual Studio 6 Standard Edition.
But I can't get it to work on my Windows 2000 system.
Can someone tell me what I'm doing wrong? Thanks so much.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Try running Per-User Setup from the Compaq Visual Fortran 6 program group. Exit Developer Studio and open it again. My guess is that the CVF directories weren't added to Tools..Options..Directories.

Steve

Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today