Xcas requires libGL?

Utilisation de Xcas

Modérateur : xcasadmin

Simon Pickering
Messages : 7
Inscription : mer. févr. 21, 2007 9:57 am

Xcas requires libGL?

Message par Simon Pickering » mer. févr. 21, 2007 10:46 pm

I imagine that this is normally hidden by the fact that fltk is compiled with OpenGL support, but fltk can be compiled without this (as I did for my Nokia N800). I'm assuming this is an issue caused by the lack of libGL.so, rather than a faulty fltk install (as the header file chain starts there).

In any case, I'm getting the following errors:

Code : Tout sélectionner

g++ -DHAVE_CONFIG_H -I. -I/home/simon/build/giac/giac-0.6.2/src -I.. -I/home/simon/build/giac/giac-0.6.2/src -I/home/simon/build/giac/giac-0.6.2    -fpermissive -mfpu=vfp -mfloat-abi=softfp -c History.cc
In file included from Graph3d.h:17,
                 from History.cc:33:
/usr/local/include/FL/gl.h:51:23: GL/gl.h: No such file or directory
In file included from Graph3d.h:17,
                 from History.cc:33:
/usr/local/include/FL/gl.h: In function `void gl_rectf(int, int, int, int)':
/usr/local/include/FL/gl.h:61: error: `glRecti' undeclared (first use this function)
/usr/local/include/FL/gl.h:61: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[2]: *** [History.o] Error 1
make[2]: Leaving directory `/home/simon/build/giac/giac-0.6.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/simon/build/giac/giac-0.6.2'
make: *** [all-recursive-am] Error 2
Can giac/xcas be made to compile without requiring OpenGL support? Or is this a problem with my fltk install/header files?

Thanks,


Simon

parisse
Messages : 5739
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Message par parisse » jeu. févr. 22, 2007 8:39 am

Hello!

Your error seems a fltk error, but I'm afraid I didn't take care to add GL checks inside xcas code. I assumed that FLTK implied GL, I'll try to add the checks sometimes in the future.

Répondre