I use several functions from the IFPORT library including FDATE, FLUSH, ITIME, and SLEEP. When I attempt to build I get linking errors that state for example:
"source.lib(gorun.obj) : error LNK2019: unresolved external symbol _FDATE@8 referenced in function _GORUN"
I attempted to use the "USE IFPORT" statement at the beginning of the subroutines that use the functions, but I still get the error. I also checked the environment variables to ensure the IVF libraries were in the path.
Thanks in advance for any suggestions.
Mike
链接已复制
2 回复数
Do you also have /iface:cvf in your options? I suspect so. There is a bug where the ATTRIBUTES DEFAULT in IFPORT doesn't override /iface:cvf.
You can probably turn /iface:cvf off - Project Properties..Fortran..External Procedures..Calling Convention - change to Default.
