Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29281 Discussions

Linking Libraries to MS Visual Studio Fortran (Intel)

MGolafshani
Beginner
1,302 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,292 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,257 Views
0 Kudos
jimdempseyatthecove
Honored Contributor III
1,245 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