Hi,<div><br></div><div>Please try the following simple modification. Hope it works.</div><div><br></div><div><div>int main()</div><div>{</div><div>  typedef itk::Image&lt; unsigned short, 3 &gt; ImageType;</div><div><br></div>
<div>  ImageType::Pointer image = ImageType::New();</div><div><br></div><div>  std::cout &lt;&lt; &quot;ITK Hello World !&quot; &lt;&lt; std::endl;</div><div><br></div><div>  <font color="#ff0000">system(&quot;pause&quot;);</font></div>
<div><br></div><div>  return 0;</div><div>}</div><div><br></div><div><br></div><div><br></div><div>Best</div><div>Erkang</div><br><div class="gmail_quote">On Thu, Jul 19, 2012 at 8:05 AM, Kifaya Sabbah <span dir="ltr">&lt;<a href="mailto:ksabbah84@yahoo.com" target="_blank">ksabbah84@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:arial,helvetica,sans-serif"><div style="font-family:arial,helvetica,sans-serif;font-size:12pt">
Dear insight users;</div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt">I am new in ITK and need help in the first step.</div>
<div style="font-family:arial,helvetica,sans-serif;font-size:12pt">I have installed and compiled ITK for windows win MinGW.</div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt">It seems every thing is OK as shown in the <span style="font-style:italic">ITK software guide.</span></div>
<div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><span>Now, I am trying my first example for hello world.</span></div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><span>I followed the instructions by creating a new folder c:\test and copied two files from C:\Insight\Examples\Installation</span></div>
<div><span><span style="font-family:arial,helvetica,sans-serif">CMakeLists.txt  and  the source code  HelloWorld.cxx</span><br></span></div><div><span><span style="font-family:arial,helvetica,sans-serif">The compilation was successful but I cannot see the output to check what I have done in this example?</span></span></div>
<div><span><span style="font-family:arial,helvetica,sans-serif">I&#39;ll appreciate your your help.</span></span></div><div><span><span style="font-family:arial,helvetica,sans-serif"><br></span></span></div><div><span><span style="font-family:arial,helvetica,sans-serif">Thank you very much</span></span></div>
</div></div><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>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<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>
<br></blockquote></div><br></div>