[Insight-users] Installing ITK in Lixux (Fedora11)

Cyrille Faucheux cyrille.faucheux at etu.univ-tours.fr
Thu Sep 23 03:28:21 EDT 2010


  That's probably not the cause of the problem, but you should not build 
a project using CMake in its sources folder.
If your sources are in a "src/" folder, create a "build/" folder on the 
same level, go into it, and then launch "cmake ../src/ .".

Cyrille

Le 22/09/2010 21:03, Nirupam Sarkar a écrit :
> Hi,
> I am new to ITK.
> I am stuck with installation. I am facing hosts of problem while installing. The information available seems to be misleading.
> I did the following :
> Down loaded : InsightApplications3.20.tar.gz
> Unzipped and uptared.
> Downloaded and installed cmake.
>
> ========================Begin Error=========================
> [nirupam at nirupam InsightApplications-3.20.0]$ cmake . .
> CMake Error at /usr/share/cmake/Modules/FindITK.cmake:78 (INCLUDE):
>    include could not find load file:
>
>      /home/nirupam/mntfolder/ITK/ITK/ITKConfig.cmake
> Call Stack (most recent call first):
>    CMakeLists.txt:21 (FIND_PACKAGE)
>
>
> CMake Error at CMakeLists.txt:23 (INCLUDE):
>    include called with wrong number of arguments.  Include only takes one
>    file.
>
>
> -- VTK not found.  Set the VTK_DIR cmake cache entry to the directorycontaining VTKConfig.cmake.  This is either the root of the build tree, or PREFIX/lib/vtk for an installation.  For VTK 4.0, this is the location of UseVTK.cmake.  This is either the root of the build tree or PREFIX/include/vtk for an installation.
> FATALFLTK Missing required component FLTK_FLUID_EXECUTABLE
> FATALFLTK Missing required component FLTK_INCLUDE_DIR
> FATALFLTK Missing required component FLTK_BASE_LIBRARY
> FATALFLTK Missing required component FLTK_GL_LIBRARY
> FATALFLTK Missing required component FLTK_FORMS_LIBRARY
> FATALFLTK Missing required component FLTK_IMAGES_LIBRARY
> CMake Error at /usr/share/cmake/Modules/FindITK.cmake:78 (INCLUDE):
>    include could not find load file:
>
>      /home/nirupam/mntfolder/ITK/ITK/ITKConfig.cmake
> Call Stack (most recent call first):
>    VolviewPlugIns/CMakeLists.txt:16 (FIND_PACKAGE)
>
>
> CMake Error at VolviewPlugIns/CMakeLists.txt:18 (INCLUDE):
>    include called with wrong number of arguments.  Include only takes one
>    file.
>
>
> -- Configuring incomplete, errors occurred!
> [nirupam at nirupam InsightApplications-3.20.0]$
> =====================End Error============================
> I could not find ITKConfig.cmake any where and do not know how to have one.
> Any help will be greatly welcome.
>
> Thank you,
> nirupam
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list