Advertisement

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

Started by February 02, 2002 09:18 PM
9 comments, last by Some Guy 23 years 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