Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: pp with gui

by Anonymous Monk
on Mar 13, 2013 at 23:43 UTC ( #1023321=note: print w/replies, xml ) Need Help??

in reply to pp with gui

Did I enter the command incorrectly or is there another problem?

Well, if you're adding PERL_TCL_DL_PATH as shown in you're missing the pp -l option

Replies are listed 'Best First'.
Re^2: pp with gui
by mkmal (Novice) on Mar 14, 2013 at 00:01 UTC
    I tried adding -l, same result.

      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(
        'tkkit.' . $Config::Config{dlext},
        use Tkx;

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


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

        pp --gui -o gui2.exe -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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1023321]
[shmem]: well finally.
[stevieb]: nice! I just finished a GPS "take me home" device last week, and did a bunch of software updates to it yesterday. I also created a pseudo chip with an Arduino to simulate an IC, where it responds to register read/writes over the I2C bus...
[stevieb]: ...from an I2C master. It's ugly and there are many changes I'm going to make, but I had not done anything like it before. It's designed for my RPi:: automated test platform; a system that does CI on *all* my RPi modules.
[shmem]: pseudo chip?

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2017-06-25 22:38 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (572 votes). Check out past polls.