[Insight-users] [Community] Error

Hana Cherif hanacherif62 at gmail.com
Wed Oct 16 08:18:01 EDT 2013


thank you Christin, I mean 'itkImageRegistrationMethod.h'!! This file
exists in itk include's folder ,, This why i thought that i must add
additional include directories in my path,,


2013/10/16 Chr. Rossmanith <cr at neuro.ma.uni-heidelberg.de>

>  Try without 'e' -> itkImageRegistrationMethod.h  not ...Methode.h
>
> Christina Rossmanith
>
> Am 16.10.2013 08:35, schrieb Hana Cherif:
>
>  I got this error Matt, when i try to compile my code by gcc compiler :''
> itkImageRegistrationMethode.h" No such file or directory compilation
> terminated!!!!!!
>
> Although i have compiled itk and my project with RelWithDebInfo as type of
> CMakeBuild!!
>
>  Thanks,,
>
>
> 2013/10/15 Hana Cherif <hanacherif62 at gmail.com>
>
>> Thank you so much Matt,,  for all these informations!!
>>
>>
>> 2013/10/15 Matt McCormick <matt.mccormick at kitware.com>
>>
>>> Hi Hana,
>>>
>>> Adding additional include directories should not be necessary.
>>>
>>> However, when compiling ITK and your project, make sure to set the
>>> CMAKE_BUILD_TYPE to Debug or RelWithDebInfo, which will add the "-g"
>>> flag when compiling.  This adds the symbols (names of functions and
>>> variables) to the output executable so gdb knows what it is looking
>>> at.
>>>
>>> HTH,
>>> Matt
>>>
>>>  PS. Please reply-to-all to keep messages on the list.
>>>
>>> On Tue, Oct 15, 2013 at 7:29 PM, Hana Cherif <hanacherif62 at gmail.com>
>>> wrote:
>>> > Yes Matt,,i tried to do that [1] ,, but tell me please how can i add
>>> > additional include directories to my path (I use gdb debuger) ?
>>> >
>>> > [1]: http://doc.ubuntu-fr.org/gdb
>>> >
>>> > Regards!!
>>> >
>>> >
>>> > 2013/10/15 Matt McCormick <matt.mccormick at kitware.com>
>>> >>
>>> >> Hi Hana,
>>> >>
>>> >> Examining the program in a debugger [1] like GDB should help.
>>> >>
>>> >> Thanks,
>>> >> Matt
>>> >>
>>> >> [1] http://software-carpentry.org/v3/debugging.html
>>> >>
>>> >> On Tue, Oct 15, 2013 at 5:06 PM, Hana Cherif <hanacherif62 at gmail.com>
>>> >> wrote:
>>> >> > Hello every body!!
>>> >> >
>>> >> > When i tried  to run the executable results from my own registration
>>> >> > program,, I got this error :
>>> >> >
>>> >> >  /usr/local/include/ITK-4.4/vnl/vnl_matrix.h:207: T&
>>> >> > vnl_matrix<T>::operator()(unsigned int, unsigned int) [with T =
>>> double]:
>>> >> > Assertion `c<cols()' failed.
>>> >> > Aborted (core dumped)
>>> >> >
>>> >> > Note that the compilation of that program has been completed
>>> >> > successfully!!
>>> >> >
>>> >> > What can be the source of this error pleaaaase help!!
>>> >> >
>>> >> > Thank you in advance!!
>>> >> >
>>> >> >
>>> >> > _____________________________________
>>> >> > 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.php
>>> >> >
>>> >> > 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
>>> >> >
>>> >> > _______________________________________________
>>> >> > Community mailing list
>>> >> > Community at itk.org
>>> >> > http://public.kitware.com/cgi-bin/mailman/listinfo/community
>>> >> >
>>> >
>>> >
>>>
>>
>>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects athttp://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:http://www.kitware.com/products/protraining.php
>
> 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
>
>
>
> _____________________________________
> 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.php
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20131016/92fe2535/attachment.htm>


More information about the Insight-users mailing list