Hi Michael,

I have just tested OSG-3.0.1 on my Kubuntu 12.10 system and get the
same error, OSG-svn/trunk doesn't generate the error though, but
that's because I've removed the ITK check.

Looking at /usr/share/cmake-2.8/Modules there is an entry for
FindITK.cmake, so I can only guess that this script has changed in
some way and that it's broken or you need to configure it in some
other way.  This isn't an OSG issue though, it'd be best to have a
look at ITK or CMake forums.

However, I would add that ITK is only used by the dicom plugin when
DCMTK isn't available, DCMTK is a much more capable library for
reading dicoms so ITK really is just a poor fallback that I would
recommend for any serious volume work.  If you don't need dicom
support then you don't need ITK or DCMTK so I'd ignore the warning or
simply remove the problem FIND_PACKAGE(ITK) from
OpenSceneGraph/CmakeLists.txt.

Robert.

On 27 January 2013 20:49, Michael W. Hall <[email protected]> wrote:
> I just updated my system from Ubuntu 11.04 to 12.04.  I am trying to
> rebuild my OSG 3.0.1.  I am getting the following when I try to
> configure:
>
>  CMake Warning at /usr/share/cmake-2.8/Modules/FindITK.cmake:48
>  (FIND_PACKAGE):
>    Could not find a configuration file for package ITK.
>
>    Set ITK_DIR to the directory containing a CMake configuration file
> for ITK.
>    The file will be called ITKConfig.cmake
>  Call Stack (most recent call first):
>    CMakeLists.txt:465 (FIND_PACKAGE)
>
>
>
>  CMake Warning (dev) at /usr/share/cmake-2.8/Modules/FindPNG.cmake:33
>  (find_package):
>    File /usr/share/cmake-2.8/Modules/FindPNG.cmake includes
>    /home/hallmw/Downloads/OpenSceneGraph/CMakeModules/FindZLIB.cmake
> (found
>    via CMAKE_MODULE_PATH) which shadows
>
> I have ITK installed, any ideas?  I think that is it not generating the
> output correctly because of this.
>
> Thanks,
> Michael
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to