|
Prev: usage of new "in" and "ni" expression operators
Next: different behavior of shell and embedded interpreter
From: tobyboy on 4 Jul 2008 11:18 Hello, I am trying to generate a executable with freewrap from a Tcl script using the BLT package. I did everything as written in the tutorial, also added the absolute paths "C:/Program Files/Tcl/bin/" (here is the BLT24.dll) and "C:/ Program Files/Tcl/lib/blt2.4" to the auto_path variable before calling "package require" in the demo script. I used a simple Tcl script (mygraph1.tcl) with a graph and some values. Unfortunately I still get (with different versions of freewrap) the following error messages: 1) freewrap631 "Tk DLL has encountered a problem and needs to close. We are sorry for the inconvenience." error signature: AppName: mygraph1.exe AppVer: 8.4.2.16 ModName: tcl84.dll ModVer: 8.4.2.16 Offset: 0005b807 2) freewrap641 "mygraph1.exe has encountered a problem and needs to close. We are sorry for the inconvenience." error signature: AppName: mygraph1.exe AppVer: 0.0.0.0 ModName: tcl84.dll ModVer: 8.4.2.16 Offset: 0005b807 3) freewrapPLUS641 "mygraph1.exe has encountered a problem and needs to close. We are sorry for the inconvenience." error signature: AppName: mygraph1.exe AppVer: 0.0.0.0 ModName: tcl84.dll ModVer: 8.4.2.16 Offset: 0005b807 Was anybody ever able to create executables with BLT package? For any help I would be very gladful. Regards, Toby
From: Torsten Berg on 4 Jul 2008 12:26
On Jul 4, 5:18 pm, toby...(a)astroboymail.com wrote: > I am trying to generate a executable with freewrap from a Tcl script > using the BLT package. > > Was anybody ever able to create executables with BLT package? > For any help I would be very gladful. I have done this regularly for the last couple of years. I always used the freewrap executable, which comes with BLT included: freewrapPLUS. The only thing you need there is to say 'package require BLT'. You should not need to include paths to BLT, because freewrapPLUS has BLT embedded into the executable already. Note that this won't work for the freewrapPLUS641 version you tested above, because that one is based on Tcl8.5 and BLT does not (yet) work for Tcl versions higher than 8.4. How exactly did you produce the executable mygraph1.exe? Can you give more details? Torsten |