Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29565 Discussions

problem with linking process of Fortran code on IVF platform

ivf_ian
Novice
139 Views

While compilation of the .f90 files appeared successful, linking process failed as listed:  

LINK : fatal error LNK1146: no argument specified with option '/NODEFAULTLIB:'

I suspect that some dependencies/library directories are missing, but how to find out which ones? 

0 Kudos
1 Solution
Steve_Lionel
Honored Contributor III
133 Views

No - your project has added a /NODEFAULTLIB option with a colon - it is expecting a library name after the colon indicating a specific library to ignore.  Either add the name of the library you want to exclude, remove the colon (means that none of the default libraries will be searched), or remove the option entirely.

 

/NODEFAULTLIB (Ignore libraries) | Microsoft Learn

View solution in original post

0 Kudos
1 Reply
Steve_Lionel
Honored Contributor III
134 Views

No - your project has added a /NODEFAULTLIB option with a colon - it is expecting a library name after the colon indicating a specific library to ignore.  Either add the name of the library you want to exclude, remove the colon (means that none of the default libraries will be searched), or remove the option entirely.

 

/NODEFAULTLIB (Ignore libraries) | Microsoft Learn

0 Kudos
Reply