On 4/30/06, Richard Brooklyn <[EMAIL PROTECTED]> wrote:
Hi,Tried to compile gnash again after a long time of not using it. Get the following: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I/usr/include -I/usr/include/libxml2 -I/usr/include/SDL -I/usr/include/SDL -DQT_THREAD_SUPPORT -D_REENTRANT -I.. -I. -I.. -I../server -I/usr/include -I/usr/include/libxml2 -I/usr/include/SDL -I/usr/include/SDL -g -O2 -Wall -Wp,-MD,.deps/ogl.pp -c ogl.cpp -fPIC -DPIC -o .libs/ogl.o In file included from ogl.h:12, from ogl.cpp:10: tu_opengl_includes.h:55:20: error: GL/gl.h: No such file or directory Followed by a lot of 'not declared' errors. Obviously it's not able to find the gl.h file it needs. On my system, this appears to be this file: /opt/mesa/include/GL/gl.h
It seems to me that official debian packages don't use /opt. Maybe different with ubuntu.
Doing: sudo ln -s /opt/mesa/include/GL /usr/include/SDL/GL Fixes the issue. But this is obviously a dirty DIRTY hack...
I think you need usr/include/GL/gl.h, not /usr/include/SDL/GL. usr/include/GL/gl.h is in mesa-common-dev which is provided by installing libgl1-mesa-dev. See OpenGL in http://www.gnu.org/software/gnash/manual/gnash.html#codedepend Best regards, Bin
Just thought you'd want the heads up :-) _______________________________________________ Gnash mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash
_______________________________________________ Gnash mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash
