[OT]Kompilacja z użyciem Mesa

Daniel Mróz beorn w alpha.pl
Sob, 19 Maj 2007, 15:47:05 CEST


Cześć

próbuję sobie skompilować Panda3D, jednak kompilacja wywraca się na headerach 
z X11-OpenGL:


g++ -march=i686 -mcpu=i686 -ftemplate-depth-30 -fPIC -c -o 
built/tmp/mesadisplay_composite.o -I"/usr/include/python2.4" -Ithirdparty/linux-libs-a/nspr/include -Ibuilt/tmp -Ipanda/src/mesadisplay -Ipanda/src/glstuff -Ibuilt/include -O1 -DBUILDING_PANDAGLUT 
panda/src/mesadisplay/mesadisplay_composite.cxx
In file included from panda/src/mesadisplay/mesagsg.h:51,
                 from panda/src/mesadisplay/osMesaGraphicsPipe.h:25,
                 from panda/src/mesadisplay/osMesaGraphicsBuffer.h:24,
                 from panda/src/mesadisplay/config_mesadisplay.cxx:20,
                 from panda/src/mesadisplay/mesadisplay_composite1.cxx:1,
                 from panda/src/mesadisplay/mesadisplay_composite.cxx:1:
/usr/include/GL/osmesa.h:119: error: syntax error before `GLAPIENTRY'
/usr/include/GL/osmesa.h:132: error: syntax error before `GLAPIENTRY'
/usr/include/GL/osmesa.h:142: error: syntax error before `void'
/usr/include/GL/osmesa.h:174: error: syntax error before `GLAPIENTRY'
/usr/include/GL/osmesa.h:184: error: syntax error before `GLAPIENTRY'
/usr/include/GL/osmesa.h:202: error: syntax error before `void'
/usr/include/GL/osmesa.h:218: error: syntax error before `void'
/usr/include/GL/osmesa.h:233: error: syntax error before `GLAPIENTRY'
/usr/include/GL/osmesa.h:249: error: syntax error before `GLAPIENTRY'
/usr/include/GL/osmesa.h:266: error: syntax error before `GLAPIENTRY'
In file included from panda/src/mesadisplay/mesadisplay_composite1.cxx:2,
                 from panda/src/mesadisplay/mesadisplay_composite.cxx:1:
panda/src/mesadisplay/osMesaGraphicsBuffer.cxx: In member function `virtual
   bool OsMesaGraphicsBuffer::begin_frame(GraphicsOutput::FrameMode, 
Thread*)':
panda/src/mesadisplay/osMesaGraphicsBuffer.cxx:73: error: `OSMesaMakeCurrent'
   undeclared (first use this function)
panda/src/mesadisplay/osMesaGraphicsBuffer.cxx:73: error: (Each undeclared
   identifier is reported only once for each function it appears in.)
In file included from panda/src/mesadisplay/mesadisplay_composite1.cxx:4,
                 from panda/src/mesadisplay/mesadisplay_composite.cxx:1:
panda/src/mesadisplay/osMesaGraphicsStateGuardian.cxx: In constructor `
   OSMesaGraphicsStateGuardian::OSMesaGraphicsStateGuardian(GraphicsPipe*,
   OSMesaGraphicsStateGuardian*)':
panda/src/mesadisplay/osMesaGraphicsStateGuardian.cxx:39: error: `
   OSMesaCreateContext' undeclared (first use this function)
panda/src/mesadisplay/osMesaGraphicsStateGuardian.cxx: In destructor `virtual
   OSMesaGraphicsStateGuardian::~OSMesaGraphicsStateGuardian()':
panda/src/mesadisplay/osMesaGraphicsStateGuardian.cxx:50: error: `
   OSMesaDestroyContext' undeclared (first use this function)
panda/src/mesadisplay/osMesaGraphicsStateGuardian.cxx: In member function `
   virtual void* OSMesaGraphicsStateGuardian::get_extension_func(const char*,
   const char*)':
panda/src/mesadisplay/osMesaGraphicsStateGuardian.cxx:76: error: `
   OSMesaGetProcAddress' undeclared (first use this function)



Macie pomysł o co może mu chodzić? Nie sądzę żeby to był błąd w źrodłach 
OpenGL. W Googlach nic nie znalazłem.

X11-OpenGL-6.9.0-19
X11-driver-nvidia-1.0.9755-2


Pozdrawiam
Beorn

-- 
Daniel 'Beorn' Mróz <beorn w alpha.pl>    http://127.0.0.1/beorn
[GIT d s:- a-@ C++++ UL++++$ P+ L++++ E--- W+ N+++ o? K- w---]
[O- M- V!  PS+ PE++ Y+ PGP++ t- 5  X R !tv b+ DI D++ G++ e h*]
[                          r++  y+                           ]


Więcej informacji o liście dyskusyjnej pld-users-pl