Jump to content
  • Advertisement
Sign in to follow this  
Grantyt3

Undefined Reference

This topic is 4487 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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!