Overview
| Artifact ID: | 5801f0c38f97aebf32aa165a840d54af3e23bec89e2760f9dbab99f4c0fe73b5 |
|---|---|
| Ticket: | 844b0ebe515862ee40ecffa2098d3588532fea0a
tclstub : interpreter uses an incompatible stubs mechanism |
| User & Date: | anonymous on 2024-11-19 15:52:02 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
First of all, I'd like to point out that I'm not an expert in compilation and that the words I'm likely to use may not be the right ones. Sorry about that. My context: - I'm interfacing **Tcl** with a program written in the **Nim** language. - I don't use autotools like the following link [Building with autotools](https://core.tcl-lang.org/tcl/wiki?name=Migrating%20C%20extensions%20to%20Tcl%209) - OS : Windows and/or MacOS - Compiler : GCC and/or MSVC Since version **9**, I've been getting an error message like the one in my summary message. On the Tcl chat I was told that it indicates an issue related to mismatched or incompatible versions of Tcl/Tk libraries. May be a problem because I have several versions of Tcl (Tcl**86** + Tcl**9**). To check that my problem wasn't due to the fact that I had 2 versions installed, I ran my program via **Github actions** on latest Windows. - Init MSVC - Download Tcl source - Build Tcl with nmake - cd tcl9.0.0/win - nmake -f makefile.vc INSTALLDIR=C:/dev/Tcl90 - nmake -f makefile.vc install INSTALLDIR=C:/dev/Tcl90 - Install Nim - Compile my Nim program - Execute Tcl code : - C:/dev/Tcl90/bin/tclsh90.exe test.tcl I got the same error message: _interpreter uses an incompatible stubs mechanism_ At compile time my **Nim** program just links the **tclstub.lib** (-ltclstub) library and I don't use anything else. I'm opening this ticket because I didn't have this problem with **tclstub86.lib** library by using the same method. My question: Is the error message may be related to something else? Other than the 2 versions of Tcl installed. - foundin changed to: "9.0"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "09c930666be5f16f66385ff2c54c7816bbb4dfd4"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to:
tclstub : interpreter uses an incompatible stubs mechanism
- type changed to: "Bug"