- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You were right - that fixed it. Thanks!
Mike
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