OpenGL problem

View: New views
1 Messages — Rating Filter:   Alert me  

OpenGL problem

by Snaer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi
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@4 referenced in function _SDL_main

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

_______________________________________________
SDL mailing list
SDL@...
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org