<div dir="ltr">Thank you so much Matt,,  for all these informations!!<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/15 Matt McCormick <span dir="ltr">&lt;<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Hi Hana,<br>
<br>
Adding additional include directories should not be necessary.<br>
<br>
However, when compiling ITK and your project, make sure to set the<br>
CMAKE_BUILD_TYPE to Debug or RelWithDebInfo, which will add the &quot;-g&quot;<br>
flag when compiling.  This adds the symbols (names of functions and<br>
variables) to the output executable so gdb knows what it is looking<br>
at.<br>
<br>
HTH,<br>
Matt<br>
<br>
</div>PS. Please reply-to-all to keep messages on the list.<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Oct 15, 2013 at 7:29 PM, Hana Cherif &lt;<a href="mailto:hanacherif62@gmail.com">hanacherif62@gmail.com</a>&gt; wrote:<br>
&gt; Yes Matt,,i tried to do that [1] ,, but tell me please how can i add<br>
&gt; additional include directories to my path (I use gdb debuger) ?<br>
&gt;<br>
&gt; [1]: <a href="http://doc.ubuntu-fr.org/gdb" target="_blank">http://doc.ubuntu-fr.org/gdb</a><br>
&gt;<br>
&gt; Regards!!<br>
&gt;<br>
&gt;<br>
&gt; 2013/10/15 Matt McCormick &lt;<a href="mailto:matt.mccormick@kitware.com">matt.mccormick@kitware.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hi Hana,<br>
&gt;&gt;<br>
&gt;&gt; Examining the program in a debugger [1] like GDB should help.<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; Matt<br>
&gt;&gt;<br>
&gt;&gt; [1] <a href="http://software-carpentry.org/v3/debugging.html" target="_blank">http://software-carpentry.org/v3/debugging.html</a><br>
&gt;&gt;<br>
&gt;&gt; On Tue, Oct 15, 2013 at 5:06 PM, Hana Cherif &lt;<a href="mailto:hanacherif62@gmail.com">hanacherif62@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; Hello every body!!<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; When i tried  to run the executable results from my own registration<br>
&gt;&gt; &gt; program,, I got this error :<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;  /usr/local/include/ITK-4.4/vnl/vnl_matrix.h:207: T&amp;<br>
&gt;&gt; &gt; vnl_matrix&lt;T&gt;::operator()(unsigned int, unsigned int) [with T = double]:<br>
&gt;&gt; &gt; Assertion `c&lt;cols()&#39; failed.<br>
&gt;&gt; &gt; Aborted (core dumped)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Note that the compilation of that program has been completed<br>
&gt;&gt; &gt; successfully!!<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; What can be the source of this error pleaaaase help!!<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thank you in advance!!<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _____________________________________<br>
&gt;&gt; &gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Visit other Kitware open-source projects at<br>
&gt;&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt;&gt; &gt; <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt;&gt; &gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Community mailing list<br>
&gt;&gt; &gt; <a href="mailto:Community@itk.org">Community@itk.org</a><br>
&gt;&gt; &gt; <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>