Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29605 ディスカッション

Conversion from CVF to IVF

rase
新規コントリビューター I
1,648件の閲覧回数
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?
0 件の賞賛
1 解決策
Steven_L_Intel1
従業員
1,648件の閲覧回数
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.

元の投稿で解決策を見る

3 返答(返信)
TimP
名誉コントリビューター III
1,648件の閲覧回数
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.
Steven_L_Intel1
従業員
1,649件の閲覧回数
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.
rase
新規コントリビューター I
1,648件の閲覧回数
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.
返信