Allegro.cc - Online Community

Allegro.cc Forums » Allegro Development » Compilation problem

This thread is locked; no one can reply to it. rss feed Print
Compilation problem
Deeeee
Member #22,350
January 2022

While compiling, MinGw throws an error:
undefined reference to .... How can I fix this?

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

It's compiling just fine. It's linking that is having a problem.

An undefined reference to X means you haven't linked in the object or archive file that defines X.

Link to it.

Go to: