Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Fortran DLL Project Release Build Fails

Jump to solution

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?

0 Kudos

Accepted Solutions
Highlighted
Black Belt

Do you use third party

Jump to solution

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.

View solution in original post

0 Kudos
2 Replies
Highlighted
Black Belt
1 View

Do you use third party

Jump to solution

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.

View solution in original post

0 Kudos
Highlighted

You were right, the library

Jump to solution

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.

0 Kudos