Unresolved Externals
I am intergrating someone elses code and when i compile i get
error LNK2001: unresolved external symbol _e_RenderScene
when i and an _ to the front it says
error LNK2001: unresolved external symbol __e_RenderScene
whats up with this?
Thanks
"...not all who wander are lost..." JRR Tolkein
Check whether the function prototype matches the definition; something might be misspelled. Also, if there''s a lib involved, you have to make sure it gets linked in.
-Sirius
Confucius say: Do not disturb sleeping dragon, for you are crunchy
and will taste good with ketchup.
-Sirius
Confucius say: Do not disturb sleeping dragon, for you are crunchy
and will taste good with ketchup.
Well is there a routine in the code called e_RenderScene or _e_RenderScene ?
---
Rob
See other worlds at http://www.silverfrost.com
---
Rob
See other worlds at http://www.silverfrost.com
rebuild all OBJ files, and your problem MIGHT dissappear. it is caused by an outdated OBJ file whose header file no longer represents the correct spelling of the symbols contained within the OBJ file. rebuilding the OBJ file usually corrects this.
if that doesn''t fix it, then I assume you are using assembler, and some assemblers do weird things with underscores, so I can''t say for sure what the problem is. Good luck though, you''ll need it.
if that doesn''t fix it, then I assume you are using assembler, and some assemblers do weird things with underscores, so I can''t say for sure what the problem is. Good luck though, you''ll need it.
If your compiler is C++ and you try to link into a C style library you may need to do this:
extern "C" {
... function prototypes ...
}
hope this helps...
extern "C" {
... function prototypes ...
}
hope this helps...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement