Menu

Compile Error (GL-Stuff)

Help
2003-01-03
2003-01-04
  • Bernd Ritter

    Bernd Ritter - 2003-01-03

    Hi

    i tried to compile decopter. The Result as follows:

    g++ `sdl-config --cflags` -I/usr/X11R6/include -O3 -Wall -march=i686    -c -o mobile.o mobile.cc
    mobile.cc: In method `void Mobile::CheckCrash()':
    mobile.cc:44: warning: taking address of temporary
    g++ `sdl-config --cflags` -I/usr/X11R6/include -O3 -Wall -march=i686    -c -o text2d.o text2d.cc
    text2d.cc: In method `void Text2D::SwitchToText()':
    text2d.cc:61: implicit declaration of function `int glActiveTextureARB(...)'
    make: *** [text2d.o] Error 1
    bash-2.05a$ make
    g++ `sdl-config --cflags` -I/usr/X11R6/include -O3 -Wall -march=i686    -c -o text2d.o text2d.cc
    text2d.cc: In method `void Text2D::SwitchToText()':
    text2d.cc:61: implicit declaration of function `int glActiveTextureARB(...)'
    make: *** [text2d.o] Error 1

    using DRI for a ATI Rage128, MESA and XFREE 4.2.99

    regards,
    Bernd

     
    • Bernd Ritter

      Bernd Ritter - 2003-01-03

      btw, im using

      bash-2.05a$ gcc --version
      2.95.3

      and

      bash-2.05a$ sdl-config --version
      1.2.4

       
    • Jacek Poplawski

      Jacek Poplawski - 2003-01-04

      Dear Bernd.
      This is function I used before to do multitexturing, you can safely remove line 61 from text2d.cc and it will work.
      However, it means your system can't do multitexturing. Could you paste output of glxinfo here?

       

Log in to post a comment.

MongoDB Logo MongoDB