<div dir="ltr">Maybe I spoke too soon. I get this error though VTK_USE_TK is on with VTK 7.1.1<br>CMake Error at CMakeLists.txt:278 (message):<br> Please set VTK_USE_TK to ON in VTK for KWWidgets_BUILD_VTK_WIDGETS to be ON<br> as well.<br><br><br>-- Configuring incomplete, errors occurred!<br>See also "/home/melrobin/packages/KWWidgets-HEAD-cvs/CMakeFiles/CMakeOutput.log".<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 26, 2018 at 3:33 PM, Melvin Robinson <span dir="ltr"><<a href="mailto:melrobin@gmail.com" target="_blank">melrobin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">OK, the CMake variable didn't work, but I can make further progress with the environment variable. Can you tell me why this is? <br><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 26, 2018 at 2:40 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>If you set the VTK_DIR environment variable to a valid VTK build (or install) directory, and start with a empty cache, that should be enough.</div><div><div class="m_-7014863447098569263h5"><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 26, 2018 at 1:02 PM, Melvin Robinson <span dir="ltr"><<a href="mailto:melrobin@gmail.com" target="_blank">melrobin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Freesurfer, built on VTK 5.6 still uses KWWidgets so I was trying to port it over to the latest, but it seems that I need to find out what this functionality is. I did build 7.1.1 and installed in a different directory. It appears that the Cmake is picking up my install from master. This may be a separate topic, but how can I configure CMake to pick up the local directory? There is a VTK_DIR variable in KWWidgets, but VTK_WRAP_TCL fails and the VTK_DIR variable always goes back to the directory associated with master despite my deleting the cache.<br></div><div class="m_-7014863447098569263m_-230559767269082425gmail-HOEnZb"><div class="m_-7014863447098569263m_-230559767269082425gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 26, 2018 at 1:34 PM, Ben Boeckel <span dir="ltr"><<a href="mailto:ben.boeckel@kitware.com" target="_blank">ben.boeckel@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>On Mon, Feb 26, 2018 at 13:08:37 -0600, Melvin Robinson wrote:<br>
> I am trying to build KWWidgets with the development version of VTK; however<br>
> there is no variable VTK_WRAP_TCL when using ccmake. I checked out VTK<br>
> 7.1.1 which does have the variable.<br>
<br>
</span>Tcl support was removed on `master` in December:<br>
<br>
<a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/3585" rel="noreferrer" target="_blank">https://gitlab.kitware.com/vtk<wbr>/vtk/merge_requests/3585</a><br>
<span><br>
> There is a file in the CMake directory that seems should allow the user to<br>
> turn on that variable.<br>
<br>
</span>Hmm, seemed some files were missed.<br>
<span><br>
> Any ideas on how to build KWWidgets with development VTK?<br>
<br>
</span>KWWidgets is deprecated. See the notice here:<br>
<br>
<a href="http://kwwidgets.org/Wiki/KWWidgets" rel="noreferrer" target="_blank">http://kwwidgets.org/Wiki/KWWi<wbr>dgets</a><br>
<span class="m_-7014863447098569263m_-230559767269082425gmail-m_7812686903078563529HOEnZb"><font color="#888888"><br>
--Ben<br>
</font></span></blockquote></div></div></div></div></blockquote></div><br></div></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>