Menu

#1 erro in the "glActiveTextureARB" function!

open
nobody
None
5
2014-08-22
2005-04-17
flipeicl
No

g++ -c -g -O2 -I/usr/X11R6/include -I/usr/include/SDL
-D_REENTRANT
cube.cpp -o cube.o -DDATADIR=\"/usr/share/games/glaxium\"
g++ -c -g -O2 -I/usr/X11R6/include -I/usr/include/SDL
-D_REENTRANT
diamond.cpp -o diamond.o
-DDATADIR=\"/usr/share/games/glaxium\"
g++ -c -g -O2 -I/usr/X11R6/include -I/usr/include/SDL
-D_REENTRANT
elem.cpp -o elem.o -DDATADIR=\"/usr/share/games/glaxium\"
g++ -c -g -O2 -I/usr/X11R6/include -I/usr/include/SDL
-D_REENTRANT
explosion.cpp -o explosion.o
-DDATADIR=\"/usr/share/games/glaxium\"
g++ -c -g -O2 -I/usr/X11R6/include -I/usr/include/SDL
-D_REENTRANT
fighter2.cpp -o fighter2.o
-DDATADIR=\"/usr/share/games/glaxium\"
g++ -c -g -O2 -I/usr/X11R6/include -I/usr/include/SDL
-D_REENTRANT
fire.cpp -o fire.o -DDATADIR=\"/usr/share/games/glaxium\"
fire.cpp: In member function `virtual void
MyFire4Smoke::move()':
fire.cpp:865: warning: converting to `int' from `float'
g++ -c -g -O2 -I/usr/X11R6/include -I/usr/include/SDL
-D_REENTRANT
list.cpp -o list.o -DDATADIR=\"/usr/share/games/glaxium\"
g++ -c -g -O2 -I/usr/X11R6/include -I/usr/include/SDL
-D_REENTRANT
listsprite.cpp -o listsprite.o
-DDATADIR=\"/usr/share/games/glaxium\"
g++ -c -g -O2 -I/usr/X11R6/include -I/usr/include/SDL
-D_REENTRANT
main.cpp -o main.o -DDATADIR=\"/usr/share/games/glaxium\"
g++ -c -g -O2 -I/usr/X11R6/include -I/usr/include/SDL
-D_REENTRANT
myship.cpp -o myship.o
-DDATADIR=\"/usr/share/games/glaxium\"
myship.cpp: In static member function `static void
MyShip::initList()':
myship.cpp:239: error: `glActiveTextureARB' undeclared
(first use this
function)
myship.cpp:239: error: (Each undeclared identifier is
reported only once for
each function it appears in.)
make: ** [myship.o] Erro 1

Discussion

  • Andy Piper

    Andy Piper - 2005-04-18

    Logged In: YES
    user_id=3132

    Could you try downloading the version of glext.h from the
    old glaxium site and recompiling? Just to make sure that you
    have a good version.

    I will be adding some fixes to CVS in the next couple of
    days, and will post here when I have updated the code.

     
  • Andy Piper

    Andy Piper - 2005-04-18

    Logged In: YES
    user_id=3132

    Try downloading
    http://oss.sgi.com/projects/ogl-sample/ABI/glext.h and
    replacing your current version (may be in /usr/include/GL or
    in /usr/X11R6/include/GL). Please let me know whether that
    helps. There are some other fixes which I have to try as
    well but this may solve the problem for you.

     
  • flipeicl

    flipeicl - 2005-04-18

    Logged In: YES
    user_id=1178838

    now I get this error on the "./configure"!

    ./configure --prefix=/usr --sysconfdir=/etc
    checking for gcc... gcc
    checking for C compiler default output... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking how to run the C preprocessor... gcc -E
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking whether make sets ${MAKE}... yes
    checking for sdl-config... /usr/bin/sdl-config
    checking for SDL - version >= 1.1.5... yes
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking SDL.h usability... yes
    checking SDL.h presence... yes
    checking for SDL.h... yes
    checking for Mix_PlayMusic in -lSDL_mixer... yes
    checking SDL_mixer.h usability... yes
    checking SDL_mixer.h presence... yes
    checking for SDL_mixer.h... yes
    checking for glVertex3f in -lGL... yes
    checking for gluPerspective in -lGLU... yes
    checking for XDestroyWindow in -lX11... yes
    checking for XFreeDeviceControl in -lXi... yes
    checking for XmuScanlineNot in -lXmu... yes
    checking for glutBitmapCharacter in -lglut... yes
    checking for png_write_rows in -lpng... yes
    checking GL/gl.h usability... yes
    checking GL/gl.h presence... yes
    checking for GL/gl.h... yes
    checking GL/glu.h usability... yes
    checking GL/glu.h presence... yes
    checking for GL/glu.h... yes
    checking GL/glut.h usability... yes
    checking GL/glut.h presence... yes
    checking for GL/glut.h... yes
    checking GL/glx.h usability... no
    checking GL/glx.h presence... no
    checking for GL/glx.h... no
    No GL/glx.h header... cannot do anything !

    I have glx.h in my system!...

    find /usr/|grep glx.h
    /usr/share/doc/NVIDIA_GLX-1.0/include/GL/glx.h
    /usr/include/GL/glx.h
    /usr/include/glitz-glx.h
    /usr/X11R6/include/GL/glx.h

     
  • Andy Piper

    Andy Piper - 2005-04-19

    Logged In: YES
    user_id=3132

    Weird. I assume that reverting to the original version of
    glext.h means that the problem goes back to the
    glActiveTextureARB error?

    Sorry for the delay in uploading the code fixes to CVS. It
    may be a few days.

     
  • Nobody/Anonymous

    Logged In: NO

    all right, now come back to the "make" error....

    g++ -c -g -O2 -I/usr/X11R6/include -I/usr/include/SDL
    -D_REENTRANT main.cpp -o main.o
    -DDATADIR=\"/usr/local/share/games/glaxium\"
    g++ -c -g -O2 -I/usr/X11R6/include -I/usr/include/SDL
    -D_REENTRANT myship.cpp -o myship.o
    -DDATADIR=\"/usr/local/share/games/glaxium\"
    myship.cpp: In static member function `static void
    MyShip::initList()':
    myship.cpp:239: error: `glActiveTextureARB' undeclared
    (first use this
    function)
    myship.cpp:239: error: (Each undeclared identifier is
    reported only once for
    each function it appears in.)
    make: ** [myship.o] Erro 1

     
  • flipeicl

    flipeicl - 2005-04-19

    Logged In: YES
    user_id=1178838

    all right, now come back to the "make" error....

    g++ -c -g -O2 -I/usr/X11R6/include -I/usr/include/SDL
    -D_REENTRANT main.cpp -o main.o
    -DDATADIR=\"/usr/local/share/games/glaxium\"
    g++ -c -g -O2 -I/usr/X11R6/include -I/usr/include/SDL
    -D_REENTRANT myship.cpp -o myship.o
    -DDATADIR=\"/usr/local/share/games/glaxium\"
    myship.cpp: In static member function `static void
    MyShip::initList()':
    myship.cpp:239: error: `glActiveTextureARB' undeclared
    (first use this
    function)
    myship.cpp:239: error: (Each undeclared identifier is
    reported only once for
    each function it appears in.)
    make: ** [myship.o] Erro 1

    sorry, I was not logged! :D

     

Log in to post a comment.