Re: GtkGLExt



On 07/02/07, Jeffrey Ratcliffe <jeffrey ratcliffe gmail com> wrote:
According to their website (http://www.k-3d.org/gtkglext/Main_Page),
there are Gtk2 OpenGL bindings for Python.

Is there anything equivalent for Perl?

OK. Stupid me. Found them.

The build problems reported in
http://mail.gnome.org/archives/gtk-perl-list/2006-June/msg00015.html

$ perl Makefile.PL prefix=~/perl
Including ApiDoc pod...
not a valid file descriptor at
/caehome/ra28145/perl/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Glib/ParseXSDoc.pm
line 105

Are still there. Moving, as Muppet suggested, the

mkdir 'build', 0777;

line produces:

$ perl Makefile.PL prefix=~/perl
Including ApiDoc pod...
Loaded 20 type definitions from maps
  10 GEnum
   5 GFlags
   1 GInterface
   4 GObject
Found Gtk2 in /caehome/ra28145/perl/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Gtk2/Install
Found Glib in /caehome/ra28145/perl/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Glib/Install
Writing build/IFiles.pm
Checking if your kit is complete...
Looks good
Unrecognized argument in LIBS ignored:
'$(top_builddir)/caehome/ra28145/perl/gtkglext-1.2.0/gtk/libgtkglext-x11-1.0.la'
Unrecognized argument in LIBS ignored:
'$(top_builddir)/caehome/ra28145/perl/gtkglext-1.2.0/gdk/libgdkglext-x11-1.0.la'
Unrecognized argument in LIBS ignored: '-Wl,--export-dynamic'
Unrecognized argument in LIBS ignored: '-pthread'
Writing Makefile for Gtk2::GLExt

make then fails with

/usr/bin/perl: symbol lookup error:
blib/arch/auto/Gtk2/GLExt/GLExt.so: undefined symbol:
gdk_gl_config_get_type

Any ideas?

Jeff



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