in reply to tkpp fails if images used
The above is a tip for the future. That is not the problem now.
I have been down some "merry paths through hell" with .exe files.
Your error messages are probably just the "tip of the iceberg". Sorry about that, but I'll explain how to deal with it...
Whats happening is that the .exe is trying to run something that isn't in the .exe. "use" is different than "require" and the autoloader isn't available for a .exe file.
What all of these boils down to is: to make a successful .exe file, you need to explicitly "use" many Tk::module things that you wouldn't normally have to, like: use Tk::Image.
It is highly likely that you will miss one or more use Tk::X statements, like maybe one below. Your .pl program should explicitly "use" all OO modules that will be later used at run-time. The process is actually straightforward: make .exe, run program, test to find the OO module that "didn't make it into .exe", "use" that module, then go again. You are tripping over "run-time" landmines.
use Tk::LabFrame; use Tk::Listbox; use Tk::Scrollbar; use Tk::Button; use Tk::Menubutton; use Tk::Menu; use Tk::Widget; use Tk::Label; use Tk::Entry;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: tkpp fails if images used
by Anonymous Monk on Sep 03, 2009 at 02:48 UTC | |
|
Re^2: tkpp fails if images used
by memo.garciasir (Acolyte) on Sep 07, 2009 at 19:21 UTC | |
by Marshall (Canon) on Sep 07, 2009 at 22:59 UTC |