- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using Intel Parallel Studio XE 2016 with Visual Studio 2015 to build a Fortran DLL project. It successfully builds in Debug mode but attempting to build the Release mode results in several errors that reference some of the linked static libraries. The majority of errors reference calls to 'WRITE_LOG':
error LNK2001: unresolved external symbol _WRITE_LOG@8
Also note that the static libraries in question all build to completion in both Debug and Release modes. Any ideas on how to resolve the Release build errors?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you use third party libraries among the input files to the DLL link step? From the name decoration, this would be a library (or object file) that was compiled using the CVF/MSFortran STDCALL convention. It is also possible that WRITE_LOG is provided by a different Fortran compiler that had been used when the source code was developed.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you use third party libraries among the input files to the DLL link step? From the name decoration, this would be a library (or object file) that was compiled using the CVF/MSFortran STDCALL convention. It is also possible that WRITE_LOG is provided by a different Fortran compiler that had been used when the source code was developed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You were right, the library being linked to was compiled using the CVF/MSFortran STDCALL convention. I was able to reconfigure and build in Release mode.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page