July 7th, 2011, 01:17 PM
error LNK2001: unresolved external symbol
I am included C headers file in my VC8 project. In one of my C header file , we have few definistions of the variables. When i compile my project it gives me linker error for all the global variables.
My global hearder file "intdefs.h" has below data:
I have included intdefs.h file in my main cpp file say myfile.cpp:
extern long rfl_xref_id
getting linker error :error LNK2001: unresolved external symbol "long rfl_xref_id" (?rfl_xref_id@@3JA)
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!