OpenGL problem


I downloaded the NeHe OpenGL tutorial sources and compiled them. No
problems so far. But when I execute a lesson I only see confusing
rectangles and not the elements of the lesson. Other OpenGL applications
like Glaxium or Unreal Tournament run normally and accelerated. I use
SDL-1.2.1 and XFree86 4.0.3 with a Nvidia GF3.

Did anybody have the same problem and was able to fix it?
Thanks in advance!


I want to use opengl in my sdl application but I have a problem.
the functions up to version 1.1 work fine but the others don’t.

I’ve included SDL_opengl.h and I’m using these libs:
#pragma comment(lib, “SDL.lib”)
#pragma comment(lib, “SDLmain.lib”)
#pragma comment(lib, “OpenGL32.lib”)

I tried the function “glLoadTransposeMatrixf” but I get the error:
error C3861: ‘glLoadTransposeMatrixf’: identifier not found

I looked through the header and found it there but it looked like GL_GLEXT_PROTOTYPES needed to be defined,
so I defined it, but then I got this error:
error LNK2019: unresolved external symbol _glLoadTransposeMatrixf at 4 referenced in function _SDL_main

What am I supposed to do to be able to use these functions?