Overview
| Artifact ID: | 81332d2be4d13706e1be4390832e44aa57d9bf5602720a9adbcdeef906231da2 |
|---|---|
| Ticket: | 844b0ebe515862ee40ecffa2098d3588532fea0a
tclstub : interpreter uses an incompatible stubs mechanism |
| User & Date: | anonymous on 2025-01-10 10:43:55 |
Changes
- closedate changed to: "2460685.94716688"
- icomment:
I think my torture ends today! (until the next problem!) I know this isn't a chat room, but I wanted to keep you up to date on my project to use**Tcl8.6** to **Tcl9** with the **Nim** language. As I said in my previous messages with **Tcl8.6**, I just had to link this library: **tclstub86.lib** and nothing else. Simply linking the library is no longer enough with **Tcl/Tk9** it's a different story : - Include Tcl.h + tclDecls.h - Pass option to the C compiler : -DUSE_TCL_STUBS - link tclstub(90).lib This may be normal behavior, but without using **-DUSE_TCL_STUBS**, I had this error : undefined reference to set up **Tcl_PkgInitStubsCheck** I wanted at all costs not to use all these flags, but in the end I had to force myself to do it. This message: *"interpreter uses an incompatible stubs mechanism"* was not the problem, It was different, I don't know if another message would have helped me more easily. For the moment, I don't have a solution as simple as the one I had with **Tcl8.6**. Thanks Ashok for helping me on the chat and here. Sorry Jan for taking your time to answer this ticket.
- login: "anonymous"
- mimetype: "text/x-markdown"