I'm not sure if this should be on the linux board, but it's a mostly an opengl problem so I'll put it here. I'm trying to run a little demo problem from nehe on redhat using opengl through sdl. I copied his code except for the comments into my own file and it compiled fine, but when I run it nothing happens. I put in a cout as the first line in main(), but even that doesn't show up. The original file compiled with gcc, and I'm using g++ (g++ -Wall -ansi test.cpp -o test -lGL -lGLU 'sdl-config --cflags --libs'). All I changed in the compile command is gcc to g++. I need to be able to compile this with g++ for oop, any ideas?