mgrenier
-
Posts
2 -
Joined
-
Last visited
Posts posted by mgrenier
-
-
I was hoping someone could help me. I've followed the Linux build instructions, installed all the packages, but still getting undefined symbols.
This is what make returns:
==== Building engine ====
precompiled.cpp
Profile.cpp
ConfigDB.cpp
Util.cpp
In file included from ../../../source/lib/ogl.h:131,
from ../../../source/ps/Util.cpp:22:
../../../source/lib/glext_funcs.h:71: error: ‘GLsizeiptrARB’ has not been declared
../../../source/lib/glext_funcs.h:72: error: ‘GLintptrARB’ has not been declared
../../../source/lib/glext_funcs.h:72: error: ‘GLsizeiptrARB’ has not been declared
../../../source/lib/glext_funcs.h:73: error: ‘GLintptrARB’ has not been declared
../../../source/lib/glext_funcs.h:73: error: ‘GLsizeiptrARB’ has not been declared
../../../source/lib/glext_funcs.h:109: warning: ‘pglDeleteObjectARB’ initialized and declared ‘extern’
../../../source/lib/glext_funcs.h:109: error: ‘GLhandleARB’ was not declared in this scope
../../../source/lib/glext_funcs.h:113: warning: ‘pglDetachObjectARB’ initialized and declared ‘extern’
../../../source/lib/glext_funcs.h:113: error: ‘GLhandleARB’ was not declared in this scope
../../../source/lib/glext_funcs.h:113: error: ‘GLhandleARB’ was not declared in this scope
.
.
.
after running locate glext.h
/usr/include/GL/glext.h
/usr/local/include/GL/glext.h
/usr/share/doc/NVIDIA_GLX-1.0/include/GL/glext.h
/usr/src/linux-restricted-modules-2.6.22-2.6.22.4/debian/nvidia-glx-dev/usr/share/doc/nvidia-glx-dev/include/GL/glext.h
/usr/src/linux-restricted-modules-2.6.22-2.6.22.4/debian/nvidia-glx-legacy-dev/usr/share/doc/nvidia-glx-legacy-dev/include/GL/glext.h
/usr/src/linux-restricted-modules-2.6.22-2.6.22.4/debian/nvidia-glx-new-dev/usr/share/doc/nvidia-glx-new-dev/include/GL/glext.h
/usr/src/linux-restricted-modules-2.6.22-2.6.22.4/nvidia/NVIDIA-Linux-x86-1.0-7185-pkg1/usr/include/GL/glext.h
/usr/src/linux-restricted-modules-2.6.22-2.6.22.4/nvidia/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/include/GL/glext.h
/usr/src/linux-restricted-modules-2.6.22-2.6.22.4/nvidia/NVIDIA-Linux-x86-100.14.19-pkg1/usr/include/GL/glext.h
Errors Compiling on Ubuntu 9.04
in Game Development & Technical Discussion
Posted
never mind, make was including the wrong glext.h file. The one located in /usr/local/include/GL was old