Hi I have problems getting Tk::Zinc installed on my cygwin perl install +ation. Via cygwin-setup, I have installed: - Perl 5.10.0-5 - perl-Tk 804.028-1 - opengl 1.1.0-10 - libGL-devel, libGL1, libGLU-devel, libGLU1 7.2-2 - libX11-devel, libX11_6 1.1.5-2 - libXext-devel, libXext6 1.0.4-1 - xinit 1.1.1-2 - xorg-server 1.5.3-8 I couldn't find a zinc package, so tried to manually install the win + (msi) package from tkzinc.org. As expected I got "cannot load dll file" nm zinc.dll | grep ' T _' | sed 's/.* T _//' >> zinc.def returns 'No symbols in zinc.dll' So, I downloaded http://www.tkzinc.org/Packages/zinc-tk_3.3.4.tar.gz After some trial and error, finally compiled and linked using -DATC +only (not -DGL) Don't know why - thought I had installed all relevant open GL librar +ies (not opengl32.dll) Then the fun starts: perl demos/zinc-demos I get lots of - "Use of uninitialized value $id in delete at /usr/lib/perl5/vendor +_perl/5.10/i686-cygwin/Tk/After.pm line 87." - "Use of uninitialized value $id in hash element at /usr/lib/perl5/ +vendor_perl/5.10/i686-cygwin/Tk/After.pm line 39." Most examples seem to work, but don't look very good (I assume missi +ng openGL) Then I tried a program which works on (solaris & activeState) But I get: Tk::Error: Can't set -height to `undef' for Tk::Frame=HASH(0x107f3a60 +): bad screen distance "" at /usr/lib/perl5/vendor_perl/5.10/i686-cyg +win/Tk/Configure.pm line 46. at /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Derived.pm line 294 Tk callback for . Tk callback for .frame Tk callback for .frame.ysbslice Tk callback for .frame.ysbslice.corner (processing "-height" option) Tk callback for .frame.ysbslice.corner Tk::Derived::configure at /usr/lib/perl5/vendor_perl/5.10/i686-cygwin +/Tk/Derived.pm line 306 Tk::Widget::new at /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Wid +get.pm line 205 Tk::Frame::AddScrollbars at blib/lib/Tk/Frame.pm (autosplit into blib +/lib/auto/Tk/Frame/AddScrollbars.al) line 242 Tk::Widget::Scrolled at /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/T +k/Widget.pm line 1280 Can't set -height to `undef' for Tk::Frame=HASH(0x107f3a60): bad scree +n distance "" at /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Confi +gure.pm line 46. at /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Derived.pm line 294 at /usr/lib/perl5/vendor_perl/5.10/i686-cygwin/Tk/Derived.pm line 306 + Firstly, I would like to get Tk::Zinc working with OpenGL Has anyone managed this on cygwin? Any help appreciated. Thanks
In reply to Tk::Zinc on cygwin by tevlin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |