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

Linking Libraries to MS Visual Studio Fortran (Intel)

MGolafshani
Beginner
1,195 Views

Hello.

I am trying to link a previously built static library of a CoolProp program.

I have the static .lib file, and need to know how to tell the Fortran linker to include it!

 

Thank you.

0 Kudos
3 Replies
jimdempseyatthecove
Honored Contributor III
1,185 Views

Intel Fortran does not include (supply) a Linker. Instead, you use the MS VS C++ supplied linker..

 

Jim Dempsey

 

0 Kudos
MGolafshani
Beginner
1,150 Views
0 Kudos
jimdempseyatthecove
Honored Contributor III
1,138 Views

If you are on Windows, you use the MS VS C++ linker (Microsoft Visual Studio 2022 Community Edition, or Professional Edition)

Then build the application from within the IDE.

 

On Linux, you use the Linker supplied as part of the GNU C/C++ compiler system.

 

See: 

Linking Tools and Options

 

Jim Dempsey

0 Kudos
Reply