[vtkusers] VTK_WRAP_TCL

Melvin Robinson melrobin at gmail.com
Mon Feb 26 16:35:58 EST 2018

Maybe I spoke too soon.  I get this error though VTK_USE_TK is on with VTK
CMake Error at CMakeLists.txt:278 (message):
  Please set VTK_USE_TK to ON in VTK for KWWidgets_BUILD_VTK_WIDGETS to be
  as well.

-- Configuring incomplete, errors occurred!
See also

On Mon, Feb 26, 2018 at 3:33 PM, Melvin Robinson <melrobin at gmail.com> wrote:

> OK, the CMake variable didn't work, but I can make further progress with
> the environment variable.  Can you tell me why this is?
> On Mon, Feb 26, 2018 at 2:40 PM, David Gobbi <david.gobbi at gmail.com>
> wrote:
>> 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.
>> On Mon, Feb 26, 2018 at 1:02 PM, Melvin Robinson <melrobin at gmail.com>
>> wrote:
>>> 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.
>>> On Mon, Feb 26, 2018 at 1:34 PM, Ben Boeckel <ben.boeckel at kitware.com>
>>> wrote:
>>>> On Mon, Feb 26, 2018 at 13:08:37 -0600, Melvin Robinson wrote:
>>>> > I am trying to build KWWidgets with the development version of VTK;
>>>> however
>>>> > there is no variable VTK_WRAP_TCL when using ccmake.  I checked out
>>>> VTK
>>>> > 7.1.1 which does have the variable.
>>>> Tcl support was removed on `master` in December:
>>>>     https://gitlab.kitware.com/vtk/vtk/merge_requests/3585
>>>> > There is a file in the CMake directory that seems should allow the
>>>> user to
>>>> > turn on that variable.
>>>> Hmm, seemed some files were missed.
>>>> > Any ideas on how to build KWWidgets with development VTK?
>>>> KWWidgets is deprecated. See the notice here:
>>>>     http://kwwidgets.org/Wiki/KWWidgets
>>>> --Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180226/f8297d22/attachment.html>

More information about the vtkusers mailing list