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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.