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

error LNK2019

jjgenglergmail_com
741 Views
When I try to call routines from the IMSL, I get this error. I have included the library and include paths as explained in the"Installing and using the IMSL* Libraries" article. What else needs to be done?
0 Kudos
1 Solution
Steven_L_Intel1
Employee
741 Views
These INCLUDE files are a convenient way to select which set of IMSL libraries you want to link against. They are described in the compiler documentation under Building Applications > Using Libraries > Using IMSL.

View solution in original post

0 Kudos
3 Replies
Steven_L_Intel1
Employee
741 Views

What is the complete error message? Did you also add the appropriate INCLUDE line in your source, such as:

INCLUDE 'link_fnl_static.h'

0 Kudos
jjgenglergmail_com
741 Views
Thanks Steve, the link now works. I did not know that the include file was necessary. What is the purpose of this file? I see there are other h-type files in the include folder, what are they for?

0 Kudos
Steven_L_Intel1
Employee
742 Views
These INCLUDE files are a convenient way to select which set of IMSL libraries you want to link against. They are described in the compiler documentation under Building Applications > Using Libraries > Using IMSL.
0 Kudos
Reply