Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

InFerN0

Unresolved Externals

This topic is 6921 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Well is there a routine in the code called e_RenderScene or _e_RenderScene ?

---
Rob

See other worlds at http://www.silverfrost.com

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
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...

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!