=?iso-8859-1?q?=5Bsisyphus=5D_=F3=C2=CF=D2=CB=C1_VegaStrike-0=2E3=2E0=2E0?=
Alexey Borovskoy
=?iso-8859-1?q?alexey=5Fborovskoy_=CE=C1_pochtamt=2Eru?=
Чт Янв 9 03:38:55 MSK 2003
Добрый день.
Пытаюсь собрать vegastrike с http://vegastrike.sf.net/
При сборке вылазят два бага с GL.
---кусь---
vegastrike/src/gldrv/
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I ../ -D_UDP_PROTO -DHAVE_SDL=1
-DSDL_WINDOWING=1 -I/home/alb/include/GL -DHAVE_AL=1
-I/usr/include/python2.2 -DHAVE_PYTHON=1 -I../boost129 -I../../boost129
-I../src/boost129 -DUSE_BOOST_129 -O2 -g -Wall -ffast-math
-fexpensive-optimizations -malign-loops=2 -malign-jumps=2 -malign-functions=2
-I/usr/include/SDL -D_REENTRANT -pipe -c gl_state.cpp
cc1plus: warning: -malign-loops is obsolete, use -falign-loops
cc1plus: warning: -malign-jumps is obsolete, use -falign-jumps
cc1plus: warning: -malign-functions is obsolete, use -falign-functions
gl_state.cpp: In function `void GFXActiveTexture(int)':
gl_state.cpp:324: `glActiveTextureARB' undeclared (first use this function)
gl_state.cpp:324: (Each undeclared identifier is reported only once for each function it appears in.)
make: *** [gl_state.o] Ошибка 1
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I ../ -D_UDP_PROTO -DHAVE_SDL=1
-DSDL_WINDOWING=1 -I/home/alb/include/GL -DHAVE_AL=1
-I/usr/include/python2.2 -DHAVE_PYTHON=1 -I../boost129 -I../../boost129
-I../src/boost129 -DUSE_BOOST_129 -O2 -g -Wall -ffast-math
-fexpensive-optimizations -malign-loops=2 -malign-jumps=2 -malign-functions=2
-I/usr/include/SDL -D_REENTRANT -pipe -c gl_misc.cpp
cc1plus: warning: -malign-loops is obsolete, use -falign-loops
cc1plus: warning: -malign-jumps is obsolete, use -falign-jumps
cc1plus: warning: -malign-functions is obsolete, use -falign-functions
gl_misc.cpp: In function `void GFXCircle(float, float, float, float)':
gl_misc.cpp:38: warning: initialization to `int' from `float'
gl_misc.cpp:38: warning: argument to `int' from `float'
gl_misc.cpp: In function `void GFXBegin(POLYTYPE)':
gl_misc.cpp:96: warning: `GLenum mode' might be used uninitialized in this function
gl_misc.cpp: In function `void GFXTexCoord4f(float, float, float, float)':
gl_misc.cpp:158: `glMultiTexCoord2fARB' undeclared (first use this function)
gl_misc.cpp:158: (Each undeclared identifier is reported only once for each function it appears in.)
make: *** [gl_misc.o] Ошибка 1
---кусь---
Как я понимаю, компилятор не находит описание функций
glActiveTextureARB и glMultiTexCoord2fARB.
Тем не менее, в хедерах эти функции есть.
Или их нет в libGL.so от NVidia?
Собираю я все это с помощью gcc 3.2.1.
/usr/share/doc/NVIDIA_GLX-1.0.3123/include/GL
[alb на alb GL]$ grep glMultiTexCoord2fARB *
gl.h:void glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t);
[alb на alb GL]$ grep glActiveTextureARB *
gl.h:void glActiveTextureARB (GLenum texture);
/usr/include/GL
[alb на alb GL]$ grep glActiveTextureARB *
glext.h:GLAPI void APIENTRY glActiveTextureARB (GLenum);
gl.h:GLAPI void GLAPIENTRY glActiveTextureARB(GLenum texture);
[alb на alb GL]$ grep glMultiTexCoord2fARB *
glext.h:GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum, GLfloat, GLfloat);
gl.h:GLAPI void GLAPIENTRY glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t);
[alb на alb gldrv]$ rpm -qa|grep GL
NVIDIA_GLX-1.0.3123-alt1
libGLwrapper-4.0.3-alt3
libGLU-4.0.3-alt3
libGLU-devel-4.0.3-alt3
[alb на alb gldrv]$ rpm -qa|grep XFre
XFree86-server-4.2.1-alt4
XFree86-libs-4.2.1-alt4
XFree86-75dpi-fonts-4.2.1-alt4
XFree86-utils-4.2.1-alt4
XFree86-devel-4.2.1-alt4
XFree86-xfs-4.2.1-alt4
XFree86-locales-4.2.1-alt4
XFree86-4.2.1-alt4
XFree86-100dpi-fonts-4.2.1-alt4
XFree86-cyr_rfx-fonts-koi8-r-1.1-alt6
Что я делаю не так?
----
SY,
Алексей.
JID: AlB на jabber.ru
Подробная информация о списке рассылки Sisyphus