Compiled on Linux, can't load BWidget on Windows
Brought to you by:
freewrapmgr
$ ./freewrap ./program.tcl
Resulting binary can't find the BWidget package
I added this to the code:
lappend auto_path /usr/share/tcltk/bwidget1.9.13
package require BWidget
Now the Linux binary can find the package. I mean, I hope it really bundled BWidget inside the binary. I have no way of checking.
However,
$ ./freewrap ./program.tcl -w freewrap.exe
Using freewrap.exe 32-bit. The resulting binary cannot find BWidget.
Is that a normal or a bug? Is there a solution?
Anonymous
It is normal. Because "/usr/share/tcltk/bwidget1.9.13" doesn't exist in windows.
Look at their PDF documentation page 20 "Wrapping and using TCL/TK extensions (packages)". It is relatively well explained.
Regards