<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello David,<br><br>Thank you very much for your answer. <br><br>That example works well, without any error, like my some other codes. <br><br>But my current program is still giving the same error. Do you have any suggestions? <br><br><br><br>--- On <b>Sun, 2/27/11, David Doria <i><daviddoria@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: David Doria <daviddoria@gmail.com><br>Subject: Re: [Insight-users] itk::Statistics Has Not Been Declared???<br>To: "akbarjan bayiz" <abayiz@yahoo.com><br>Cc: insight-users@itk.org<br>Date: Sunday, February 27, 2011, 5:55 AM<br><br><div id="yiv1742883465"><div><div class="yiv1742883465gmail_quote">On Sun, Feb 27, 2011 at 5:37 AM, akbarjan bayiz <span dir="ltr"><<a rel="nofollow" ymailto="mailto:abayiz@yahoo.com"
target="_blank" href="/mc/compose?to=abayiz@yahoo.com">abayiz@yahoo.com</a>></span> wrote:<br><blockquote class="yiv1742883465gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello all!<br>
<br>
In my "CMakeLists.txt", I clearly mentioned to include "ITKStatistics" library, but while compiling my ".cxx" file, it gives out an error message saying "itk::Statistics has not been delcared", why this happens?<br>
<br>
BTW, I have installed and configured CMake correctly, since it works quite well for my other ".cxx" files.<br>
<br>
Looking forward to your answer, thanks in advance!<br></blockquote><div> </div> Do you get the same error with this example:<div><a rel="nofollow" target="_blank" href="http://www.itk.org/Wiki/ITK/Examples/Statistics/GaussianDistribution">http://www.itk.org/Wiki/ITK/Examples/Statistics/GaussianDistribution</a></div>
<div><a rel="nofollow" target="_blank" href="http://www.itk.org/Wiki/ITK/Examples/Statistics/GaussianDistribution"></a><br clear="all">?<br><br></div><div>David </div></div><br></div>
</div></blockquote></td></tr></table><br>