Menu

#62 Compiled on Linux, can't load BWidget on Windows

None
closed
None
5
2025-01-19
2024-03-10
Luc
No

$ ./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?

Discussion

  • MMTsuchi

    MMTsuchi - 2024-04-08

    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

     
  • Dennis R. LaBelle

    • status: open --> closed
    • assigned_to: Dennis R. LaBelle
    • Group: -->
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB