Jump to content
  • Advertisement
Sign in to follow this  
mrtie_dye

undefined reference

This topic is 4752 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 using MinGWStudio and I keep getting "undefined reference" errors. What does this error mean exactly, generally speaking? I would like to be able to track this error down. Thanks for any help

Share this post


Link to post
Share on other sites
Advertisement
This error generally means that you have a reference to a function somewhere in your code that the linker cannot resolve.

Either you have not told the linker where to look for the function, with a -l (lowercase L) libname.

Share this post


Link to post
Share on other sites
It means that somewhere, you have declared (told the compiler it exists) and used a function , variable, class... but never actually defined it (i.e provided the code for it).

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!