[Insight-users] cmake can't find headers

Luis Ibanez luis.ibanez at kitware.com
Sat Feb 19 17:26:07 EST 2011


Hi Roger,

Something in your CMakeLists.txt file is missing.

Can you post to the list your CMakeLists.txt file ?

In particular you should have:

find_package(ITK REQUIRED)
include(${ITK_USE_FILE})



    Luis


--------------------------------------
On Wed, Feb 16, 2011 at 2:24 PM, Roger Mason <rmason at mun.ca> wrote:
> Hello,
>  I'm a new user (Linux) trying out the Examples that come with the
>  source distribution.  I compiled and installed 3.20.0 in /usr/local
>  without incident.  I elected not to compile the examples at build time,
>  but instead work through them using the user guide.
>
> HelloWorld configures and compiles fine.  The examples in
> DataRepresentation fail:
>
> DataRepresentation/Containers/TreeContainer.cxx:39:30: fatal error:
> itkTreeContainer.h: No such file or directory
>
> I'm trying to compile thin in the source directory.
>
> Thanks for any help.
>
> Roger
> _____________________________________
> 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