Undefined Reference

Started by
1 comment, last by PepsiPlease 21 years, 11 months ago
Whenever I compile my OpenGL programs, or SDL ones for that matter, I can get it to zero errors but it will not run, for there are undefined references to all of my functions in the linker section of my dev-c++ linker. If there is an easy fix to this problem, please reply. Thanks
Advertisement
Add the proper libraries to your makefile.

[Questions (STFW) | GDNet Start Here | GDNet Search | Forum FAQ | Google | Asking Smart Questions ]
[Docs (RTFM) | MSDN | SGI''s STL | OpenGL | File formats]
[C++ Must Haves (RTFS) | MinGW | Boost | Loki | FLTK | SDL ]

Stolen from Magmai Kai Holmlor, who held it from Oluseyi, who was inspired by Kylotan...
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
Well, I was trying to compile the code right from Nehe''s tutorial, and it still happened.

This topic is closed to new replies.

Advertisement