Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
20 Views

Error linking .lib files in VF using VS 2010

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
Highlighted
Black Belt
20 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