SDL/GL tutorials: Compilation is an ugly word...

Started by
9 comments, last by Some Guy 22 years, 2 months ago
Okay, this is what I last entered:

g++ main.cpp -o first -L/usr/X11/lib `sdl-config --cflags --libs` -lGL -lGLU


This is based on what everyone here has told me, and... it still didn''t work. <:{

I get this big loooooooooong error message that repeatedly says "undefined reference" which tells me that the linker is not doing it''s job, or there''s an API problem that I''ll never understand.

I have SDL and the development libraries installed, and I still can''t understand what is going on. Please help.

I am running Mandrake Linux 8.1 with SDL v1.2.3 and Mesa.

This topic is closed to new replies.

Advertisement