On Thu 10/15/2009 2:31 PM, Judd Taylor wrote:
>
> I'm finally getting to testing this stuff
> out, but now I'm getting the 'freeglut ...
> font not found' error. I'm not even into the
> PDL build yet. I get the error, and there is
> no text displayed on the window. No point in
> moving on to the PDL build if I won't be able
> to render text...
>
> So some cruising online has made me think
> that this is a problem with the freeglut lib
> installed on my system. But, then I went and
> found my build and test tree for freeglut
> (2.4.0), and the fonts work fine on those
> tests. I even went and modified the freeglut
> test program on my system to use exactly the
> same font as used on the test.pl script, and
> that worked fine as well.

Judd-

Thanks for the testing.  I had been assuming that
the problem was missing fonts on the problem systems
but your check seems to eliminate that possibility.

I'm sort of leaning towards a version skew problem
either between multiple GLUT and FreeGLUT installs
on the same system or perhaps between 32bit and
64bit versions of the same or both...  Here are some
questions/ideas to try:

(1) Do you have both GLUT and FreeGLUT on your system?
    If so, freeglut.h might need to be substituted for
    glut.h in OpenGL/glut_utils.h

(2) Do you have both 32 and 64 bit libraries on
    your system?  If so, I would doubt that a 32-bit
    pointer value would match the 64-bit stuff

(3) Could you try compilng PDL-2.4.4_136/bitmap.c
    using the LIBS and INC flags from OpenGL::Config.pm?
    If that fails then the problem is likely some
    type of version skew between headers, libraries,
    or both.

(4) Could you send me your OpenGL-0.59/Config.pm file
    as well as the output of perl -V?  Maybe I can
    glean something from there.

Apologies for the lack of insight.  It is remakably
difficult (he remarks) to debug a problem that one
cannot reproduce.

> So this has got to be a POGL issue, not
> freeglut. Any ideas on what the cause might
> be, or on how to fix it?
>
> I don't see anything special happening on the
> linking and includes used for the freeglut
> demo program, but I suspect the issue may lie
> in how xsubpp is compiling POGL...

Perhaps, but my money is still on configuration
issues since the rest of the module is just bindings
to a C library.

Look forward to hearing from you.

Cheers,
Chris
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to