[Insight-users] Error: Cannot open include file: 'vnl/vnl_tag.h': No such file or directory

Luis Ibanez luis.ibanez at kitware.com
Thu Apr 19 10:52:54 EDT 2007


Hi Chris,

The best way of configuring project that use ITK is by using
CMake for the configuration process.

If for some reason, you are one of the unfortunate developers
who can't opt for using CMake, then, the next easiest way
of using ITK is by first installing it.

When you install ITK, all the header files go to a single
directory structure, and that make it easier to add those
directories to the list of directories to be searched for
headers.


Currently your problems seems to be that you have missed
to add the Insight/Utilities/vxl/core directory to the
list of directories to search for header files.



You should really consider using CMake. With it,
configuration becomes trivial...



    Regards,


        Luis



------------------
Chris Lee wrote:
> Hi, itkers
>  
> I create a new console application in VS.NET <http://VS.NET> 2005.
> And I add the paths of the Insight libraries and include directories to 
> Developer Studio itself, under tools-->options-->projects and 
> solutions-->VC++ directories.
> When I built the console application,
> it report the eeor infomation as the following:
> "\insighttoolkit-3.2.0\code\io\itkimageiobase.h(25) : fatal error C1083: 
> Cannot open include file: 'vnl/vnl_vector.h': No such file or directory"
>  
> the file 'vnl/vnl_vector.h" seems not the correct filename or file path 
> because of the "/" in the strings.
>  
> What's wrong with this?
>  
> I will be very appreciate if someone reply me.
> 
> 
> -- 
> Best wishes,
> Chris
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list