Further Information:
Home
What's New
Resource Centre
WHC Library
Opentalk Forum
About Us
AA
AA
AA
AA
Accessability
|
The Tcl programming language - Tcl/ Tcl/Tk, and Expect
FreeWrap: Error running wrapped Tcl program
Posted by Dimon (Dimon), 12 August 2005Hail ladies and gentlemen! I have two questions about Tcl program distribution with freewrap.
1. I try to make a distribution package for my Tcl program with Freewrap ver.6.0. But after package was created and placed to test computer, my program cannot started. The command line for Freewrap is:
freewrap.exe tshell.tcl -f filelist.txt -f thread.txt -f bwidget.txt -f img.txt -f itcl.txt -f iwidgets.txt
where tshell.tcl - main module of my program, filenames after -f - swiches are the listfile names for corresponding Tcl library packages. When I try to run wrapped program I saw an error message:
Code:Error sourcing /WORK/TR/Shell/tshell.tcl: Can't find a usable itcl.tcl in the following directories: /itcl3.3 D:/TEMP/1/Shell/../lib/itcl3.3 D:/TEMP/1/Shell/../library D:/TEMP/1/Shell/../../library D:/TEMP/1/Shell/../../itcl/library D:/TEMP/1/Shell/../../../itcl/library This probably means that Itcl/Tcl weren't installed properly. If you know where the Itcl library directory was installed, you can set the environment variable ITCL_LIBRARY to point to the library directory. |
|
But BWidget library calling to which was the first in program was founded seccessfully. When I looked for contents of package was maked by freewrap, I find all Tcl libraries my program needed.
Information: Tcl/Tk version I use: 8.4.2 (compiled by myself). Path to Tcl Libraries: c:\Tcl\lib OS: Windows 2000 Pro SP 4 Freewrap version: 6.0 for Windows.
Freewrap creates vitrual file structure with 'Tcl' folder and places libraries I list in *.txt files in it, but program cannot find them when started.
Can anybody explaine what I done wrong and show me true decision?
2. I read in freewrap documentation next words: The Windows version of freeWrap now includes the tcl84pip.dll file from the normal TCL distribution. This file is necessary when running scripts that redirect stdin/stdout through pipes using the open or exec commands. Tcl84pip.dll is actually an executable program that helps do the redirection of stdin and stdout when execing programs under Windows.
If your application will be using the exec or open commands to run external applications that will be using stdin or stdout to transfer information, make sure that tclpip84.dll can be found in a location that TCL normally looks But I can't find this file in Freewrap package downoaded from here. Where can i find it?
This page is a thread posted to the opentalk forum
at www.opentalk.org.uk and
archived here for reference. To jump to the archive index please
follow this link.
|
|
|