[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

f90gl, GLUT and Mesa



Hello,

This is related to f90gl (Fortran 90 bindings for OpenGL), GLUT
(OpenGL utility toolkit) and Mesa (an OpenGL implementation). I wonder
if anyone on this list has had a problem I am having with these three.
I am also looking for a solution. (Apologies if this is OT but I
cannot think of any other place where I could discuss this.)

I use Debian 4.0 on a x86_64 architecture machine. I installed Mesa
6.5 from the Debian packages and GLUT 3.7 from
http://math.nist.gov/f90gl/software.html (NOT from the packages) and
f90gl 1.2.13. All three packages compile and install smoothly from the
source; I used gcc 4.1.2. But now when I decide to verify if the GL
works smoothly by compiling example Fortran 90 code provided with
f90gl, I get the following error:

/usr/bin/intel/fce/10.1.018/bin/ifort -O -o blender -I../include/GL
blender.f90 \
        -L../lib -L/home/girish/Desktop/glut-3.7.1/lib/glut -lf90glut
-lf90GLU -lf90GL -lglut -lGLU -lGL -L/usr/X11R6/lib  -L/usr/lib -lXaw
-lXt -lXmu -lXi -lXext -lX11 -lm
/home/girish/Desktop/glut-3.7.1/lib/glut/libglut.a(glut_vidresize.o):
In function `glutVideoPan':
/home/girish/Desktop/glut-3.7.1/lib/glut/glut_vidresize.c:221:
undefined reference to `glXChannelRectSyncSGIX'
/home/girish/Desktop/glut-3.7.1/lib/glut/glut_vidresize.c:224:
undefined reference to `glXChannelRectSGIX'
/home/girish/Desktop/glut-3.7.1/lib/glut/libglut.a(glut_vidresize.o):
In function `glutVideoResize':
/home/girish/Desktop/glut-3.7.1/lib/glut/glut_vidresize.c:199:
undefined reference to `glXChannelRectSyncSGIX'
/home/girish/Desktop/glut-3.7.1/lib/glut/glut_vidresize.c:202:
undefined reference to `glXChannelRectSGIX'
/home/girish/Desktop/glut-3.7.1/lib/glut/libglut.a(glut_vidresize.o):
In function `glutVideoResizeGet':
/home/girish/Desktop/glut-3.7.1/lib/glut/glut_vidresize.c:97:
undefined reference to `glXQueryChannelDeltasSGIX'
/home/girish/Desktop/glut-3.7.1/lib/glut/glut_vidresize.c:141:
undefined reference to `glXQueryChannelRectSGIX'
/home/girish/Desktop/glut-3.7.1/lib/glut/libglut.a(glut_vidresize.o):
In function `glutStopVideoResizing':
/home/girish/Desktop/glut-3.7.1/lib/glut/glut_vidresize.c:181:
undefined reference to `glXBindChannelToWindowSGIX'
/home/girish/Desktop/glut-3.7.1/lib/glut/libglut.a(glut_vidresize.o):
In function `glutSetupVideoResizing':
/home/girish/Desktop/glut-3.7.1/lib/glut/glut_vidresize.c:167:
undefined reference to `glXBindChannelToWindowSGIX'
make: *** [blender] Error 1

(This particular error message was produced by Intel Fortran compile
v10.1.018 but it can be reproduced with gFortran too.)

What could be going wrong? Could this be a Mesa problem? or GCC?! Will
greatly appreciate any comments.

Thanks,
Girish.

-- 
Girish Kulkarni - Allahabad, India - http://girish.50webs.com


Reply to: