<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hello</span></div><div><span><br></span></div><div><span> that did the trick. thanks a lot. :) and thanks to everybody who replied to help me out</span></div><div> </div><div>-----------</div><div>Aparna</div><div><br></div><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Brecht Heyde <Brecht.Heyde@med.kuleuven.be><br><b><span style="font-weight: bold;">To:</span></b> 'John Drescher' <drescherjm@gmail.com>; 'Aparna Srinivasan' <coffeeadicto@yahoo.co.in><br><b><span style="font-weight: bold;">Cc:</span></b> insight-users@itk.org<br><b><span style="font-weight:
bold;">Sent:</span></b> Tuesday, 16 August 2011 1:21 AM<br><b><span style="font-weight: bold;">Subject:</span></b> RE: [Insight-users] helloworld.exe not running<br></font><br>Hi,<br><br>Try adding std::cin.get() to your code. This will pause your executable<br>until you push another key. You should be able to see the output then, even<br>from the debugger.<br><br>Best,<br>Brecht<br><br>-----Original Message-----<br>From: <a ymailto="mailto:insight-users-bounces@itk.org" href="mailto:insight-users-bounces@itk.org">insight-users-bounces@itk.org</a> [mailto:<a ymailto="mailto:insight-users-bounces@itk.org" href="mailto:insight-users-bounces@itk.org">insight-users-bounces@itk.org</a>]<br>On Behalf Of John Drescher<br>Sent: zondag 14 augustus 2011 16:15<br>To: Aparna Srinivasan<br>Cc: <a ymailto="mailto:insight-users@itk.org" href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>Subject: Re: [Insight-users] helloworld.exe not running<br><br>On
Sun, Aug 14, 2011 at 6:05 AM, Aparna Srinivasan<br><<a ymailto="mailto:coffeeadicto@yahoo.co.in" href="mailto:coffeeadicto@yahoo.co.in">coffeeadicto@yahoo.co.in</a>> wrote:<br>> Hello<br>> I spent the better part of today morning and the afternoon trying to get<br>itk<br>> running on my windows xp 32 bit OS. I use visual C++ 2008 for compiling.<br>> to test the helloworld program, i copied the cmake...txt file and the<br>> helloworld.cxx file into a folder and used cmake to specify the source and<br>> binary directories and configured and generated it.<br>> no problem with that.<br>> i run the solution file in both the debug and release modes in visual<br>> studio.. no errors..build succeeded..0 failed..however when i execute the<br>> .exe files located in the debug and release folders.. i dont get the<br>> required output..<br>> all i get is a blank screen that immediately shuts off on it own.. no<br>>
'hello world.. press any key to continue' .. can somebody please tell me<br>> what might have gone wrong.. im very frustrated. :(<br>><br><br>That is the expected output for running a console program in the<br>Visual Studio debugger. To see the output run it from a cmd.exe<br>prompt.<br><br>John<br>_____________________________________<br>Powered by www.kitware.com<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.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 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><br><br></div></div></div></body></html>