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

Linking User Libraries

blwiland
Beginner
561 Views
I created a IVF library that consists of various subrountines I use in multiple projects.When I addthis library name (and correct path) to the project Configuration Properties/Linker/Input/Additional Dependencies, the linker does not seem to find it and gives a "fatal error LNK1120: 1 unresolved externals" and identifies the unresolved external symbols as one of the subroutines that should be in my library.

Is there something else I need to do to get the project to recognize the subrountines in this library?
0 Kudos
1 Reply
Paul_Curtis
Valued Contributor I
561 Views

Add your library to the project itself via Solution Explorer, similar to adding another source code module. (And of course your code will need INTERFACEs for the library routines.)
0 Kudos
Reply