[SDL] SDL & OpenGL .. problem

Lloyd Dupont lloyd at galador.net
Wed Aug 29 14:10:01 PDT 2001

Benedikt Iten wrote:
> hi,
> when I try to compile a C-file with SDL and OpenGL I always get some
> errors like: undefined reference to `glViewport'
> I have no idea what the Problem is .. my include files are SDL/SDL.h
> GL/gl.h stdio.h and stdlib.h ..

mmhh.. do you link with OpenGL library ? (-lopengl32 ?)

More information about the SDL mailing list