[Insight-users] Error while Making an example

gabriele gabriele.arnulfo at gmail.com
Thu Mar 3 12:57:32 EST 2011


if U are used to read gcc lines you can enable the verbose cmake flags
in order to have more compilation strings output.

At least U should find a line like this one 

-I/usr/local/itk/InsightToolkit-3.20.0/ 



On Thu, 2011-03-03 at 23:11 +0530, Harisankar P S wrote:
> the files we located in
> the /usr/local/itk/InsightToolkit-3.20.0/Code/BasicFilters/
> 
> could it be that the gcc doesnt know where to look
> 
> can i somehow tell it to check there
> 
> On Thu, Mar 3, 2011 at 10:42 PM, gabriele <gabriele.arnulfo at gmail.com>
> wrote:
>         U can use locate command line tool
>         
>         
>         # locate itkSobelEdgeDetectionImageFilter.h
>         the result of the above command should looks like the line
>         below
>         
>         /usr/include/InsightToolkit/BasicFilters/itkSobelEdgeDetectionImageFilter.h
>         
>         It could be different depending on your installation
>         parameters.
>         
>         you can also check with
>         
>         #dpkg -L | grep insight
>         
>         if you have all the required packages.
>         
>         
>         
>         
>         
>         
>         On Thu, 2011-03-03 at 22:26 +0530, Harisankar P S wrote:
>         > how do we check 4 its presence.
>         >
>         >
>         > On Thu, Mar 3, 2011 at 10:23 PM, gabriele
>         <gabriele.arnulfo at gmail.com>
>         > wrote:
>         >         Are those files on your system?
>         >
>         >
>         >         if not you maybe have forgot to install proper
>         header package
>         >         for
>         >         insighttoolkit3, my system has this two debs
>         >
>         >
>         >         ii  libinsighttoolkit3-dev
>         >         ii  libinsighttoolkit3.18
>         >
>         >
>         >
>         >
>         >         On Thu, 2011-03-03 at 22:08 +0530, Harisankar P S
>         wrote:
>         >         > The helloworld example worked fine. It is when i
>         use the
>         >         median filter
>         >         > example and others
>         >         >
>         >         > On Thu, Mar 3, 2011 at 9:49 PM, John Drescher
>         >         <drescherjm at gmail.com>
>         >         > wrote:
>         >         >         On Thu, Mar 3, 2011 at 11:06 AM,
>         Harisankar P S
>         >         >         <hsps9.99 at gmail.com> wrote:
>         >         >         > I am getting errors like this, the files
>         are there
>         >         but it
>         >         >         says its not there
>         >         >         >
>         >         >         > /home/southwind/Desktop/
>         >         >         >
>         EdgeDetection/itk3DEdgeDetectionSample.cxx:21:46:
>         >         error:
>         >         >         > itkSobelEdgeDetectionImageFilter.h: No
>         such file
>         >         or
>         >         >         directory
>         >         >
>         >
>         > /home/southwind/Desktop/EdgeDetection/itk3DEdgeDetectionSample.cxx:22:46:
>         >         >         > error:
>         itkCannyEdgeDetectionImageFilter.h: No such
>         >         file or
>         >         >         directory
>         >         >
>         >
>         > /home/southwind/Desktop/EdgeDetection/itk3DEdgeDetectionSample.cxx:23:31:
>         >         >         > error: itkRawImageWriter.h: No such file
>         or
>         >         directory
>         >         >
>         >
>         > /home/southwind/Desktop/EdgeDetection/itk3DEdgeDetectionSample.cxx:24:32:
>         >         >         > error: itkImageFileReader.h: No such
>         file or
>         >         directory
>         >         >         > In file included from
>         >         >
>         >
>         > /home/southwind/Desktop/EdgeDetection/itk3DEdgeDetectionSample.cxx:26:
>         >         >         >
>         >         >         >
>         >         >
>         >         >
>         >         >         No such file or directory is a
>         configuration
>         >         problem. Either
>         >         >         your
>         >         >         ubuntu ITK does not have the part of itk
>         that you
>         >         want or you
>         >         >         configured it wrong.
>         >         >
>         >         >         John
>         >         >
>         >         >
>         >         >
>         >         > --
>         >         > Harisankar P S
>         >         > 2012 Computer Science and Engineering,
>         >         > College of Engineering Chengannur.
>         >         > +91 9446 310 845 | hsps9.99 at ieee.org
>         >         > http://cecblog.com
>         >         >
>         >
>         >         > _____________________________________
>         >         > 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
>         >
>         >
>         >
>         >
>         > --
>         > Harisankar P S
>         > 2012 Computer Science and Engineering,
>         > College of Engineering Chengannur.
>         > +91 9446 310 845 | hsps9.99 at ieee.org
>         > http://cecblog.com
>         >
>         
>         
> 
> 
> 
> -- 
> Harisankar P S
> 2012 Computer Science and Engineering,
> College of Engineering Chengannur.
> +91 9446 310 845 | hsps9.99 at ieee.org
> http://cecblog.com
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110303/c3d7088c/attachment.pgp>


More information about the Insight-users mailing list