combining Tcl/Tk scripts into one .exe (win32)
- From: spooky130@xxxxxxx
- Date: Tue, 15 Sep 2009 13:01:55 GMT
Ok, I'm getting confused (not too difficult when you've had three
cancer tumors removed from your brain, radiation therapy to the
brain, and two different chemotherapy series, the second of which
....well, let's not go there...my PTSD is being relatively quiet,
and I'd like to keep it that way).
Anyways.... I'm trying to wrap two separate Tcl/Tk programs into
..exe files. Each runs into basically the same problems when I try
to wrap them (under Windows XP and Tcl/Tk 8.4.15 from ActiveState,
btw):
1) with freewrapPlus: the primary .tcl file is added, but the
remaining files specified on the command line OR in a file
using the -f option are NOT added, and are not found when
the .exe runs (even if everything is still right where it was).
2) with tclkit (tclkit-win32.upx.exe)/sdx.kit:
* First attempt, using the process in http://wiki.tcl.tk/11861,
gives me a .exe, but none of the support files are found
(again, even if everything is still right where it was).
* Second attempt---adaptation of the first, add the files to
the vfs/lib/... directory, using the procedure found in
http://wiki.tcl.tk/11861. This gives me a .exe file, but
Windows says it's too large to run.
The two applications are JStrack, my freeware hurricane tracking program
(Unix, Mac OS/X, and Windows), and a program I'm working on now for
brewing, GTbrew2. Both have multiple scripts, most of which are in a
lib directory (sourced from the main tcl script). Both have external
packages (JStrack uses Img, Tcllib, and I can't remember if there are
more off-hand; GTbrew2 uses the combobox from BWidget and autoscroll from
Tklib). Finally, both have config files and data files in their
respective directories (some in the top-level directory, some below it)
that do NOT want to get wrapped---they are likely to be updated from time
to time (e.g., for JStrack, along with the user's configuration files,
there's the directory containing all of the storm data, downloaded
GOES-EAST satellite imagery, and so on, and for GTbrew2, grain data, hop
data, yeast data, BJCP beer style guides, and so on).
Here's what I'm trying to arrive at:
For JStrack (http://www.jstrack.org):
some_drive:/some_path/jstrack-3.x/
;# there are related apps that need more thought re: wrapping
tracker/jstrack.exe
tracker/options.tcl
tracker/storms/current_year
tracker/storms/old/1851 .. previous year (each its own dir)
etc....
For GTbrew, same concept, different filenames.
Any suggestions, pointers to step-by-step (and preferably, very simple
command-line---e.g., zsh or sh---stuff), etc.?
Thanks,
--jim
PS: both of these are built first under Unix (FreeBSD), their primary
home, and then, with only minor adaptations (an extra binary or
ldd, etc.) setup under Windows XP (my laptop). On the FreeBSD
side, both are run from my XP laptop using X11R6 (Cygwin). Both
run fine when not wrapped, but that requires windows users to go
out and get Tcl/Tk, too (plus external libs/packages if they don't
get ActiveState or similar). I'm trying to help the non-Tcl/Tk
users out there avoid having to take that extra step.
--
73 DE N5IAL (/4) MiSTie #49997 < Running FreeBSD 7.0 >
spooky130u AT gmail DOT com ICBM/Hurricane: 30.39735N 86.60439W
Do not look into waveguide with remaining eye!
.
- Follow-Ups:
- Re: combining Tcl/Tk scripts into one .exe (win32)
- From: Larry W. Virden
- Re: combining Tcl/Tk scripts into one .exe (win32)
- From: APN
- Re: combining Tcl/Tk scripts into one .exe (win32)
- From: Pat Thoyts
- Re: combining Tcl/Tk scripts into one .exe (win32)
- Prev by Date: Re: Urgent & silly: How is the preferred way for a Tk widget to know its window size?
- Next by Date: Re: How to handle mouse events during a long-running database transaction?
- Previous by thread: ANNOUNCE: RamDebugger 7.0 released
- Next by thread: Re: combining Tcl/Tk scripts into one .exe (win32)
- Index(es):
Relevant Pages
|
Loading