I have done my best to look at this, but I am struggling. Looking at the various tcl related variables they all appear at first glance to be fine. I have just tried literally outputting every variable at the end of the top level cmakelists.txt. Looking through I notices that the ntk_COMPILE_FLAGS variable, and in fact all the tcl related paths are surrounded by single quotes, whereas the wxwidgets_COMPILE_FLAGS variable is not:
-- wxwidgets_COMPILE_FLAGS = -ID:/SourceCode/Libraries/wxWidgets-3.0.0/lib/vc_lib/mswud -ID:/SourceCode/Libraries/wxWidgets-3.0.0/include -DUNICODE -D_UNICODE
-- ntk_COMPILE_FLAGS='-IC:/Program Files/Tcl/include -IC:/Program Files/Tcl/include'
Would this make any difference to how CMake deals with them?
Beyond that I am well out of my depth
From: phil rosenberg
To: P Lplot development list <firstname.lastname@example.org>
Sent: Wednesday, 27 August 2014, 22:32
Subject: tcl build problem
Hi all, but mostly Alan as our Cmake expert
I've just installed tcl and it is causing me some plplot build problems.
I have installed tcl to C:\Program Files\tcl, giving an include path of C:\Program Files\tcl\include, this appears to be the problem. Somehow in dealing with this path it is getting separated at the space. This means that the command
line adds the include directory C:\Program. This is followed with a number of other parameters and Files\tcl\include gets stuck on the end of command lines, which gets interpreted as a file to compile, which obviously can't be found.
Alan, I can try and have a look at this, but I haven't much time as I'm trying to spend my plplot time looking at the exit calls. I thought
you might know where to look.