skip to Main Content

I’m able to compile both Tcl and Tk just fine on Windows 10 using Visual Studio 2019 developer command prompt. Both have winmakefile.vc file. nmake -f makefile.vc will build them successfully.

However, TkTreeCtrl source code located at the following location doesn’t seem to have makefile.vc anywhere.

https://sourceforge.net/projects/tktreectrl/files/tktreectrl/tktreectrl-2.4.1/tktreectrl-2.4.1.tar.gz/download

I had compiled TkTreeCtrl successfully several years ago. But I can’t for the life of me remember how I did it!

2

Answers


  1. The fork from https://github.com/apnadkarni/tktreectrl contains the makefile for the new Windows build system of Tcl.

    Login or Signup to reply.
  2. I have just successfully built it under windows10 with MSYS2/Mingw64 from the source https://github.com/apnadkarni/tktreectrl just as the suggestion of @Eric. But need some changes in configure to make it work.

    for tktreectrlconfigure

    -   *win32*|*WIN32*|*MINGW32_*)
    +   *win32*|*WIN32*|*MINGW32_*|*MINGW64_*)
    
    -    vars="gdi32.lib user32.lib"
    +    vars="gdi32.lib user32.lib UxTheme.lib"
    
    -       RC_DEPARG='"$(shell $(CYGPATH) $<)"'
    +       RC_DEPARG='"$<"'
    

    for tktreectrlshelliconconfigure

    -   *win32*|*WIN32*|*MINGW32_*)
    +   *win32*|*WIN32*|*MINGW32_*|*MINGW64_*)
    
    -       RC_DEPARG='"$(shell $(CYGPATH) $<)"'
    +       RC_DEPARG='"$<"'
    

    Then, you just need to ./configure && make install

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search