Jump to content
  • Advertisement
Sign in to follow this  
Grantyt3

Undefined Reference

This topic is 4339 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 get a [Linker error] Undefined Reference to a function that is in the same file as the one it is being used in. It seems to randomly do it, because I won't have changed anything and compiled, but I get that error. It doesn't point to any line. If I create a new project and copy the code over, it works again, but it's getting really annoying to keep doing that. What could be the problem with it? EDIT: Now making a new project isn't even working!

Share this post


Link to post
Share on other sites
Advertisement
Hmm, sounds a bit wierd. If the code works when you copypaste it, there is some funky going on in the 'Project settings'. What compiler/IDE are you using?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!