Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Freewrap and package

Status
Not open for further replies.

poque

Technical User
Jan 8, 2004
6
FR
Hello,

I have made a test software with tcl and I have created objects using the "itcl" and "itk" packages.
Now, I try to create an .exe file with freewrap; I had no problem with others packages like "crc32", but no way for "itcl" and "itk".
I have tried several ways like

**************************************
lappend auto_path c:/tcl/lib/itcl3.2
lappend auto_path c:/tcl/lib/itk3.2
package require Itcl
package require Itk
*************************************

and also

**************************************
freewrap_load itcl32.dll
freewrap_load itk32.dll
**************************************

but I had always the same problem : when I run the exe file, I have the message "can't find package Itcl 3.2"

Is there someone with a good idea to help me ??




 
Hello,

I have found what is wrong :
I use
**************************
lappend auto_path c:/tcl/lib/itcl3.2
lappend auto_path c:/tcl/lib/itk3.2
package require Itcl 3.2
package require Itk 3.2
****************************
and I have always the message "can't find package Itcl 3.2" because I use also IWidgets4.0.2 which include the lines
"package require Itcl 3.2
package require Itk 3.2"

Now, my question is :
is there a way to use package like IWidgets and freewrap it without changing IWidgets sources to write
"lappend auto_path c:/tcl/lib/itcl3.2
lappend auto_path c:/tcl/lib/itk3.2
package require Itcl 3.2
package require Itk 3.2"
instead of
"package require Itcl 3.2
package require Itk 3.2" ????????


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top