[Insight-users] Error compiling example from CMAKE

Mathieu Malaterre mathieu.malaterre at gmail.com
Tue Apr 13 16:48:43 EDT 2010


On Tue, Apr 13, 2010 at 7:22 PM, Kim Besson <kimbesson1981 at gmail.com> wrote:
>
> Greetings
> To install ITK I used Ubuntu9.10 Package manager and to compile an example
> file I'm using this website:
> http://www.cmake.org/Wiki/ITK_Configuring_and_Building_for_Ubuntu_Linux#Compiling_an_ITK_project_from_the_command_line
>
> in CMAKE I put where I have my example code for Hello World
> At source I putted: /home/anrr/Desktop/segmentation/projects where I have a
> copy of CMakeLists.txt and HelloWorld.cxx
> and in binary I putted: /home/anrr/Desktop/segmentation/projects and when i
> run Configure I get:
>
> The C compiler identification is GNU
>
> The CXX compiler identification is GNU
>
> CMake Warning at /usr/lib/InsightToolkit/UseITK.cmake:103 (FIND_PACKAGE):
>
> Could not find module FindGDCM.cmake or a configuration file for package
>
> GDCM.

My guess is that you have insighttoolkit-dev installed but not
libgdcm2-dev installed. I'll check with the debian packager if this is
a bug or not.

-- 
Mathieu


More information about the Insight-users mailing list