[vtkusers] VTK6 and KWWIdgets

Petar Petrov pip010 at gmail.com
Mon Dec 2 10:04:57 EST 2013


Hi Marcelino,
thats checked. I forgot to mention but I have the same source of
KWWidgets compile with VTK 5.8 without problems. Further I can see in
CMake for VTK6 that all paths are set correctly for TK/TCL. VTK6
Builds!
I'm building on windows and using ActiveObject TCL installer. So that
works for sure.

Also I'm aware the need to patch KWWidgets from:
http://web.archiveorange.com/archive/v/aysypjD9UG89YnodB4Ns

Yet when I try configure in cmake for kkwidgets:

"
CMake Error at CMakeLists.txt:281 (message):
Please set VTK_USE_TK to ON in VTK for KWWidgets_BUILD_VTK_WIDGETS to be ON
"

VTK_USE_TK is not set eventhough I compile VTK with TCL ?


Cheers,
Petar


On Mon, Dec 2, 2013 at 3:44 PM, Marcelino Rodriguez Cancio
<marcelinorc at uclv.edu.cu> wrote:
> Petar:
>
> You may ensure you have TCL installed/Compiled on your machine.
>
> VTK/KWWidgets/CMAKE usually find them quite easy.
>
> Best regards
> Marcelino
>
> -----Original Message-----
> From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of Petar Petrov
> Sent: lunes, 2 de diciembre de 2013 9:51
> To: vtkusers at vtk.org; vtk-developers at vtk.org
> Subject: [vtkusers] VTK6 and KWWIdgets
>
> Hello,
> I've just compiled VTK 6 to realize it doesn't go well with KWWIdgets.
> I've turned on VTK_USE_TK as well as VTK_WRAP_TCL and VTK_TK_GROUP (new one).
> When I config in CMake for KWWIdgets I get:
>
>
> CMake Error at CMakeLists.txt:281 (message):
> Please set VTK_USE_TK to ON in VTK for KWWidgets_BUILD_VTK_WIDGETS to be ON
> as well.
>
> WHICH I HAVE DONE!
>
> worst of all:
> "
> INCLUDE_DIRECTORIES("${VTK_TCL_INCLUDE_DIR}" "${VTK_TK_INCLUDE_DIR}")
> "
> bioth vars are empty when I:
> message("DEBUG: " "${VTK_TCL_INCLUDE_DIR}" "${VTK_TK_INCLUDE_DIR}")
>
> any help appreciated.
>
>
> Cheers,
> Petar
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
> La Universidad Central "Marta Abreu" de Las Villas en su 60 Aniversario. Fundada el 30 de noviembre de 1952. Visítenos en:  http://www.uclv.edu.cu
> Participe en Universidad 2014, del 10 al 14 de febrero de 2014. Habana. Cuba. http://www.congresouniversidad.cu/
>
>
>
> La Universidad Central "Marta Abreu" de Las Villas en su 60 Aniversario. Fundada el 30 de noviembre de 1952. Visítenos en:  http://www.uclv.edu.cu
> Participe en Universidad 2014, del 10 al 14 de febrero de 2014. Habana. Cuba. http://www.congresouniversidad.cu/
>
>



-- 
All the best,
Petar Petrov
http://ppetrov.net


More information about the vtkusers mailing list