Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: pp with gui

by mkmal (Novice)
on Mar 14, 2013 at 00:01 UTC ( #1023325=note: print w/ replies, xml ) Need Help??


in reply to Re: pp with gui
in thread pp with gui

I tried adding -l, same result.


Comment on Re^2: pp with gui
Re^3: pp with gui
by Anonymous Monk on Mar 14, 2013 at 04:13 UTC

    I tried adding -l, same result

    sure sure, in any case, try the other tips i linked, turn on debugging ...

      I finally got some time to play with this, unfortunately no luck yet.
      Here is my updated code.

      use strict;
      use warnings;
      use File::Spec::Functions;

      BEGIN {
      if (exists $ENV{PAR_PROGNAME}) {
      use Config ();
      $ENV{PERL_TCL_DL_PATH} = catfile(
      $ENV{PAR_TEMP},
      'tkkit.' . $Config::Config{dlext},
      );
      }
      }
      use Tkx;

      Tkx::button(".b",
      -text => "Hello, world",
      -command => sub { Tkx::destroy("."); },
      );
      Tkx::pack(".b");

      Tkx::MainLoop()

      Here is the command I run to create the .exe.

      pp --gui -o gui2.exe gui2.pl -l C:/Perl/lib/auto/Tcl/tkki. dll -l C:/Perl/lib/auto/Tcl/Tcl.dll

      The issue is still exactly the same. If I run the program as a perl program it works fine.
      If I run it as an .exe nothing happens.

      Any additional ideas would be appreciated.

      Oh, if I add -x it pops up the "hello" box during the compile. I click on the box and it continues the compile. The resulting .exe does nothing.

        you're a funny guy, really

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1023325]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2014-10-20 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (74 votes), past polls