Unresolved Externals

Started by
3 comments, last by InFerN0 23 years, 11 months ago
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
InFerN0Not all who wander are lost...
Advertisement
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.
Confucius say: Do not disturb sleeping dragon, for you are crunchyand 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
---RobSee 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 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...

This topic is closed to new replies.

Advertisement