- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am trying to link a fortran subroutine with ABAQUS. I have Compaq Visual Fortran 6.6 and Microsoft Visual C++ 6.0 installed. I am gettingthe above link error. I have already checked that the system environment variables LIB and INCLUDE have correct paths to the necessary files (including dformd.lib). Does anyone have any suggestions?
Thanks
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you doing this from the command line or the IDE? The IDE doesn't use the LIB environment variable, and instead uses the list under Tools..Options..Directories.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I have the same problem! My makefile worked before the new version of Microsoft Visual Studio (.NET2003). Now I get this same error message!!
Anyone please help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which Fortran compiler are you using? If it's Intel's, you need to recompile all Fortran sources with the Intel compiler and make sure you are not referencing dformd.lib, which is a CVF library, in your makefile.
If you are still using CVF, make sure that the ..DF98LIB folder is listed in the value for the LIB environment variable.
If you are still using CVF, make sure that the ..DF98LIB folder is listed in the value for the LIB environment variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is the rule with CVF that using it from the command line makes use of the files defined by the LIB and INCLUDE environment variables while using the IDE makes use of the files listed under Tools>Options>Directories?
What's the relationship in the IDE of the files listed under Tools>Options>Directories and those listed in the project settings under the Link tab for input?
Does IVF work the same way as CVF for this issue?
Mike D.
What's the relationship in the IDE of the files listed under Tools>Options>Directories and those listed in the project settings under the Link tab for input?
Does IVF work the same way as CVF for this issue?
Mike D.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, that is the rule. The IDE does not use the environment variables except that when CVF is installed, any existing values for PATH, LIB and INCLUDE are propagated to the IDE settings.
The paths listed in Tools..Options..Directories are those the compiler or linker or IDE will automatically search when it is looking for a file of the appropriate kind. If you just name a file in the Link tab, without a path, it will use the Libraries paths as shown in Tools..Options..Directories.
It works the same in IVF except that Fortran projects have their own set of directories in Tools..Options separate from that used by MSVC. A corollary to this is that if you are building an MSVC project that includes Fortran files, you need to add the Fortran library paths to the Visual C++ Projects Directories settings.
The paths listed in Tools..Options..Directories are those the compiler or linker or IDE will automatically search when it is looking for a file of the appropriate kind. If you just name a file in the Link tab, without a path, it will use the Libraries paths as shown in Tools..Options..Directories.
It works the same in IVF except that Fortran projects have their own set of directories in Tools..Options separate from that used by MSVC. A corollary to this is that if you are building an MSVC project that includes Fortran files, you need to add the Fortran library paths to the Visual C++ Projects Directories settings.

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