- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I converted a mixed-language project (Fortran and C/C++) from CVF to IVF under Windows 7 (32bit). The solution contains a Fortran project (many subroutines and functions), a C project and a C++ project, both using the Intel Visual C++ compiler. The linker issues an error message "file "dfor.lib" could not be openend". I do not use functions of a dfor.lib, at least not on purpose. Does anyone know the content of dfor.lib and how I can resolve the problem?
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Either you didn't recompile ALL the Fortran sources or your C++ project has an explicit reference to dfor.lib in the properties. Module/USE is not related to this.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's a normal dependency of CVF .obj files, so clean out any such, and check for any USE or includes. Normally, ifort would take care of the functions which CVF implemented in dfor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Either you didn't recompile ALL the Fortran sources or your C++ project has an explicit reference to dfor.lib in the properties. Module/USE is not related to this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Steve, it was my fault. I should have known that the assistant is not able to convert all parameters in the options file. There was indeed a reference in the Fortran project to the wrong library containing CVF programs. The dfor.lib problem is solved, but other problems connected with mixed language programming turned up, which I am just trying to solve.

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