as well I thought I would like to add some thought to this as well in that
Tk code doesn't build well with PAR::Packers pp
and I haven't got Prima to work with PAR::Packers pp
but I have had success with Win32::GUI
I dont think I have Tk fully installed tho ..
might be some useful information for those on
Windows systems
-Mark
[email protected]
________________________________
From: Chris Marshall <[email protected]>
To: zentara <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Thursday, February 2, 2012 10:28 AM
Subject: Re: [Perldl] embedding TriD graphics windows into Gtk2 or whatever is
possible->Tk WORKS!!!!!!
Hi zentara-
Tk.pm is still in the PDL git repository, it is just
not included in distributions at the moment. It
should be possible to get it back in the distribution
for PDL-2.4.11 provided that:
- The latest Tk.pm can be checked out
- Any modifications to code are made
- Documentation is changed to reflect unix-only hack
I took a quick look and just putting the file
back for PDL-2.4.10 without review and updates
per above would be putting something sort-of
broken into a nicely working release.
We'll need some perl/Tk and PDL users to
check out everything as well. I don't have
the experience to help out with the Tk part.
I'll add it to the sf.net Feature Request tracker
so it will be on our development list.
Cheers,
Chris
On Tue, Jan 31, 2012 at 1:35 PM, zentara <[email protected]> wrote:
> On Mon, 30 Jan 2012 13:31:55 -0500
> zentara <[email protected]> wrote:
>
>>Hey, good news. Just for the heck of it, I took the
>>PDL::Graphics::TriD::Tk.pm module from the 2.4.3
>>and tried to run it under 2.4.009( latest developers).
>>
>>It worked with 1 change and one warning.
>>
>>In Tk.pm Change:
>>
>>#use PDL::Graphics::OpenGL;
>>to
>>use PDL::Graphics::OpenGLQ;
>>
>>then quote the word ExposureMask on line 166
>> $options->{mask} = ( 'ExposureMask' );
>>
>>It runs fine, but with a warning:
>>
>>Argument "ExposureMask" isn't numeric in subroutine entry
>>at
>>/home/zentara/perl5/lib/perl5/x86_64-linux-thread-multi/PDL/Graphics/OpenGL/Perl/OpenGL.pm
>>line 162.
>
> Well, just in case someone is looking at this later,
> for the sake of completeness,
> I tweaked the Tk.pm to run warning free.
>
> I tracked down where ExposureMask comes from,
> and it seems to be in OpenGL.
>
> So now, the only needed change to the original 2.4.3 Tk.pm
> module is:
>
> #use PDL::Graphics::OpenGL;
> use PDL::Graphics::OpenGLQ;
> use OpenGL;
>
> Then the warnings go away. :-)
>
> 0m,
> zentara
>
>
>
>
>
>
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl