Hey Guys,
Sorry for the delay, I had to push this off for a few days because of work, but I was able to get back to it this morning...
So I decided to grab an old/spare laptop from work which was pretty much bare bones Windows XP Thinkpad.
I installed Strawberry Perl v5.14 on the PC and just now finally got all the Required Modules
for Gtk2 installed from
http://www.sisyphusion.tk/ppm, which all installed without any
issues... Great site, thanks for posting that link Sam_bakki.
At first I had all the modules installed but when I ran my Perl GUI I would get these errors, all on the same line:
Gdk-WARNING **: gdk_win32_pixmap_new: depth = 16 not supported at myGU
+I.pl line 1120.
Gdk-CRITICAL **: gdk_gc_new_with_values: assertion `drawable != NULL'
+failed at myGUI.pl line 1120.
Gdk-CRITICAL **: gdk_gc_set_colormap: assertion `GDK_IS_GC (gc)' faile
+d at myGUI.pl line 1120.
And the line containing the error was:
(*i.e. Line 1120)
$window->show_all;
And I couldn't figure out why the heck I was getting these errors. I also got the same error on a simple Hello
World GUI which only contained one widget... So I decided to remove all the Modules and its dependencies
for Gtk2. I then reinstalled them and still go the same error.
I then noticed the error was mentioning the depth was "16", so I checked the display "Settings" tab from the
Desktop Properties menu and noticed the colordepth was set to 16bit. So I changed it to 32-bit and now everything
seems to be runnning PERFECTLY...!!!
Thanks Again sam_bakki for your post about the Gtk2 Modules...
So I think I'm going to attempt the CavaPackager program again now that I have a compatible verison of Perl installed.
If that doesn't work, or if it gets too confusing, which could happen because it is a pretty extensive app with
LOTS of configurables, options, etc... I'll give one of the other options a try.
Here are the one's I know of:
- CavaPackager
- Perl2Exe
- pp (*or PAR::Packer)
- PerlApp (*Not sure, but can this ONLY be used with an ActiveState Perl installation...?)
- perlcc
Are there any others out there that anyone else can think of to add to this list..? I wanted to try a few and see which
one I like best.
Again, thanks for the replies guys, very much apprecited!
Thanks,
Matt
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.