hi Sravan,<br><br>first find out where FindITK is, open it, and in that
file, you&#39;ll find some directories that will be searched if the cmake
can&#39;t find ITK<br>instantly. To that list, add:<br><br>#added by Sravan<br>
/home/path/mypath<br><br>and obviously change mypath to whereever you&#39;ll find ITKConfig.cmake (find that with locate ITKConfig.cmake in linux)<br><br>You&#39;ll find a similar description on my webpage:<br><a href="https://sites.google.com/site/michielmentink/programming/cmake/adding-libraries" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://sites.google.com/site/michielmentink/programming/cmake/adding-libraries</a><br>

<br>good luck, <br><br>Michael<br><br><br><div><span class="gmail_quote">On 12/18/09, <b class="gmail_sendername">sravan kumar</b> &lt;<a href="mailto:kumar.sravan09@gmail.com">kumar.sravan09@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi all,<br><br>I am using Fedora 10 linux.I was able to install ITK and cmake successfully.But when i tried to cmake the Helloworld program in Examples/Installation directory i got an error like this:<br><font color="#3366ff"><br>


CMake error at /usr/local/share/cmake-2.8/Modules/FindITK.cmake:97<br><br>Please
set the ITK_DIR to the directory containing ITKConfig.cmake. This is
either the root of the build tree, or PREFIX/lib/InsightToolKit  during
the Installation.<br><font color="#333333"><br>Can some one tell me the solution.<br clear="all"></font>
</font><br clear="all"><br>-- <br>With Best Regards,<br><br>Y.Sravan Kumar<br>II M.Tech(CS),<br>Sri Sathya Sai University,<br>PRASHANTINILAYAM - 515134<br><br>
<br>_____________________________________<br>
Powered by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br>