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

Error linking .lib files in VF using VS 2010

Test_int_kalpana_aug
246 Views
I'm using VF in VS 2010 and when i'm trying to compile/build projects (.exe) with external libraries files i'm getting fatal error while linking.
fatal error LNK1120: 1 unresolved externals
XXXXXX build failed.
fatal error LNK1120: 1 unresolved XXXXXXXXXX build failed.
I'm having this library already complied in the same output directory i have configured the project to wirte all its output files ?
any directions are appreciated.
0 Kudos
1 Reply
mecej4
Honored Contributor III
246 Views
Simply having a library in a certain place does not make the linker use it. There must be

(i) a reference to a symbol in the library (this is satisfied because the linker said "..unresolved..."),

AND

(ii) the linker must be told that the symbol is to be found in a certain library.

I suspect that (ii) has not been satisfied.
0 Kudos
Reply