Compiling on Ubuntu 10.10

10 views
Skip to first unread message

Vadim Peretokin

unread,
Oct 12, 2010, 10:30:44 AM10/12/10
to electro-users
Hi,

Getting this error after installing the SDL dev libraries:


vadi@vadi-laptop:~/Programs/electro$ make
cc -g -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/
include/freetype2 -c -o src/opengl.o src/opengl.c
In file included from src/opengl.c:19:
src/opengl.h:73: error: ‘glActiveTextureARB’ redeclared as different
kind of symbol
/usr/include/GL/gl.h:2007: note: previous declaration of
‘glActiveTextureARB’ was here
src/opengl.c:452: error: ‘glActiveTextureARB’ redeclared as different
kind of symbol
/usr/include/GL/gl.h:2007: note: previous declaration of
‘glActiveTextureARB’ was here
make: *** [src/opengl.o] Error 1
vadi@vadi-laptop:~/Programs/electro$

Is there anything I can do?
Reply all
Reply to author
Forward
0 new messages