[SDL] SDL & OpenGL .. problem

Trick gerry at c64.org
Wed Aug 29 14:20:01 PDT 2001


On Wednesday 29. August 2001 23:11, you wrote:
> 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 ?)

eh, shouldn't that be -lGL ?

-- 
Trick




More information about the SDL mailing list