<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Luis Ibanez</b> <span dir="ltr">&lt;<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>&gt;</span><br>
Date: Sun, Aug 9, 2009 at 3:18 PM<br>Subject: Re: [Insight-users] ITK First Example<br>To: ankit master &lt;<a href="mailto:ankit.master@gmail.com">ankit.master@gmail.com</a>&gt;<br><br><br><br>Hi Ankit,<br><br><br>                 It looks like you have not build ITK itself.<br>
<br><br>When you download ITK, what you get are the source code files of the toolkit.<br>You are supposed to compile the libraries before you can use them from<br>
any external project.<br><br>You will find instructions on how to build ITK in the Tutorials:<br><a href="http://www.itk.org/ITK/help/tutorials.html" target="_blank">http://www.itk.org/ITK/help/tutorials.html</a><br><br>
in particular in<br>
<a href="http://www.itk.org/CourseWare/Training/GettingStartedI-WebPage/img14.html" target="_blank">http://www.itk.org/CourseWare/Training/GettingStartedI-WebPage/img14.html</a><br><br>you should follow this step-by-step instructions until you get to<br>

verify that the libraries are in your disk, as shown in:<br><a href="http://www.itk.org/CourseWare/Training/GettingStartedI-WebPage/img26.html" target="_blank">http://www.itk.org/CourseWare/Training/GettingStartedI-WebPage/img26.html</a><br>

<br><br>You will also find build instructions in the ITK Software Guide<br><br>        <a href="http://www.itk.org/ItkSoftwareGuide.pdf" target="_blank">http://www.itk.org/ItkSoftwareGuide.pdf</a><br><br><br>Regards,<br>
<br><br>      Luis<br>
<br><br>--------------------------------------------------------------------------------------<div><div></div><div class="h5"><br><div class="gmail_quote">On Sun, Aug 9, 2009 at 3:01 PM, ankit master <span dir="ltr">&lt;<a href="mailto:ankit.master@gmail.com" target="_blank">ankit.master@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello Luis, <br><br>Thank you very much for replying.<br>1) I am using the CMakeLists.txt that comes with the Insight/Examples/Installation example. <br>

2) However, I couldnt find any ITKCommon.lib file in the ITKBIN/bin/Debug. As a matter of fact I <b>dont</b> get to see any /bin directory under the folder ITKBIN (which is the where I have the Binary files stored for ITK, after running CMake of the ITK-insight folder ). <br>



3) Name of the ITK binary directory where I have built ITK is ITKBIN. <br><br>What should I be doing under this circumstance. I have already tried rebuilding, re-downloading the ITK package several times now to see if the ITKBIN/bin  appears, but no luck so far. Kindly advice. <br>



<br>Thank you again <br>Sincerely, <br><div><div></div><div><br><div class="gmail_quote">On Sun, Aug 9, 2009 at 10:39 AM, Luis Ibanez <span dir="ltr">&lt;<a href="mailto:luis.ibanez@kitware.com" target="_blank">luis.ibanez@kitware.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Ankit,<br><br><br>Thanks for your detailed post.<br><br><ul><li>Are you using the CMakeLists.txt that comes with <br>



the Insight/Examples/Installation   example ?</li><li>Have you verified that the ITKCommon.lib file is <br>
indeed in the directory<br>ITKBIN/bin/Debug/    ?</li><li>What is the name of the binary directory where you <br>built ITK ?<br></li></ul><br>Please let us know,<br><br>       Luis<br><br><br>--------------------------------------------------------<br>




<div class="gmail_quote">On Sun, Aug 9, 2009 at 1:10 AM, avmaster <span dir="ltr">&lt;<a href="mailto:ankit.master@gmail.com" target="_blank">ankit.master@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<br>
Hello,<br>
<br>
I am a newbie to ITK and have a tough time trying to run the first example<br>
of Hello World. I have followed several of the previous discussions on the<br>
same issue and have tried to follow most of the suggestions that were given<br>
in the previous post of others, yet I am somehow not able to get my thing to<br>
run .. !!<br>
<br>
 so this is my issue, when I try to run the first program of hello world i<br>
end up getting this error.  I have made sure that ITK and this particular<br>
example are both compiled in &quot;debug&quot; configuration. I also happened to read<br>
something on ITK Lib in the previous post but did not quite understand on<br>
how to go about finding ITK Lib and under what folder should it be?<br>
<br>
1&gt;LINK : fatal error LNK1104: cannot open file &#39;ITKCommon.lib&#39;<br>
1&gt;Build log was saved at<br>
&quot;file://d:\pracITK\HelloWorld.dir\Debug\BuildLog.htm&quot;<br>
1&gt;HelloWorld - 1 error(s), 0 warning(s)<br>
2&gt;------ Skipped Build: Project: ALL_BUILD, Configuration: Debug Win32<br>
------<br>
2&gt;Project not selected to build for this solution configuration<br>
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 1 skipped ==========<br>
<br>
<br>
Any help will be greatly appreciate.<br>
<br>
Thank you in advance<br>
<br>
Sincerely,<br>
Ankit Master<br>
--<br>
View this message in context: <a href="http://www.nabble.com/ITK-First-Example-tp24884364p24884364.html" target="_blank">http://www.nabble.com/ITK-First-Example-tp24884364p24884364.html</a><br>
Sent from the ITK - Users mailing list archive at Nabble.com.<br>
<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at: <a 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 href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br>
</blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Ankit V Master<br><br>Ring the bells that still can ring<br>Forget your perfect offering<br>There is a crack, a crack in everything<br>That’s how the light gets in.<br>

–Leonard Cohen<br>


</font></blockquote></div><br>
</div></div></div><br>