Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 961dd4c2c366e6b344a44c1b4f79d1a7aa5f54af
Ticket: 8419b6d9ae1cfc61a215d4cd588304df2981b76f
Dynamic linking requres unicode on windows
User & Date: anonymous on 2013-09-03 21:53:06
Changes

  1. icomment:
    When compiling/linking, the only error I received was:
    objx86-64/if_tcl.o:if_tcl.c:(.text+0x2edd): undefined reference to `Tcl_FindExecutable'
    
    The relevant part of the compile was: 
    -Id:/tools/tcl/include -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl
    86.dll\" -DUSE_TCL_STUBS ...   -Ld:/tools/tcl/lib -ltclstub86
    
    In tclDecls.h, this function is undefined on WIN32 when UNICODE is not defined. 
    
    In your example, you did not link to tclstub86, but to the tcl86, which I understood to be the static lib.
    
  2. login: "anonymous"
  3. mimetype: "text/plain"