-
July 7th, 2011, 01:17 PM
#1
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:
long rfl_xref_id;
I have included intdefs.h file in my main cpp file say myfile.cpp:
#include intdefs.h
.........
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|