[Insight-users] Problem building ITK on linux

Luis Ibanez luis.ibanez@kitware.com
Fri, 18 Oct 2002 15:10:08 -0400


Hi Ghassan,

It looks like you are building ITK with VTK support.

Your VTK was built with Python/Tcl wrapping enabled.

ITK has some examples that wrap code on Tcl in order
to use VTK visualization. Note that this is not the
official ITK - Tcl wrapping, these examples are using
Tcl as a GUI and taking advantage of the VTK Tcl wrapping.


There is a "hints" file in VTK that provides configuration
details for wrapping. ITK is looking for this "hints" file.

You will find this file in :

            VTK/Wrapping/hints

So, just run CMake (on ITK) and select "Advanced"
then, look for the CMake variable:

            VTK_WRAP_HINTS

and make sure it is pointing to the file

          VTK/Wrapping/hints


Please let us know if you find any problems,


Thanks


    Luis




===========================================================

Ghassan Hamarneh wrote:
> I am new to ITK, my appologies if this is trivial: Does anyone know why am I
> getting/how to resolve the foolowing:? 
> 
> :
> :
> :
> cmake.depends is up-to-date
> /lhome/ghassan/Insight/Examples/vtkITK/Common: building default_target
> /lhome/ghassan/VTK/bin/./vtkWrapPython
> /lhome/ghassan/Insight/Examples/vtkITK/Common/vtkITKMutualInformationTransform.h
>  1
> /lhome/ghassan/Insight/Examples/vtkITK/Common/vtkITKMutualInformationTransformPython.cxx
> Error opening hint file 1
> make[7]: ***
> [/lhome/ghassan/Insight/Examples/vtkITK/Common/vtkITKMutualInformationTransformPython.cxx]
> Error 1
> make[6]: *** [default_target] Error 2
> make[5]: *** [default_target_Common] Error 2
> make[4]: *** [default_target] Error 2
> make[3]: *** [default_target_vtkITK] Error 2
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_Examples] Error 2
> make: *** [default_target] Error 2
> 
> /Ghassan
> 
> Ghassan Hamarneh, PhD
> Hospital for Sick Children
> Toronto, Canada
> 
> ______________________________________________________________________ 
> Post your free ad now! http://personals.yahoo.ca
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users
> 
>