[Insight-users] A problem whit ITK

Luis Ibanez luis.ibanez at kitware.com
Wed Mar 2 20:02:17 EST 2005


Hi Victor,

You have to run the executable from the command line prompt,
not from inside Visual Studio.

Please use an MS-DOS console, or a Cygwing shell.


   Regards,


      Luis


----------------------------------
Victor Daniel Diaz Suarez wrote:

> HI!
> 
> ***I have installed ITK in windows and I are using Visual Studio.NET 
> 2003 to do the example that is explained in the chapter two of  ITK 
> users guide.
> 
> ***I open a new file (.cpp) and write the code.
> 
> ***The code is :
> 
> #include "itkImage.h"
> #include <iostream>
> int main ()
> {
>    typedef itk::Image< unsigned short, 3 > ImageType;
>    ImageType::Pointer image = ImageType::New();
>    std::cout << "ITK Hello World!" << std::end1;
>    return 0;
> }
> 
> ***Then I build and the program say:
> 
> ------ Build started: Project: prueba, Configuration: Debug Win32 ------
> 
> prueba - up-to-date.
> 
> 
> ---------------------- Done ----------------------
> 
>    Build: 1 succeeded, 0 failed, 0 skipped
> 
> *** But I never can see anything, I must see the Hola Mundo example,  
> can any people say me where is the problem?
> 
> Thanks,
> 





More information about the Insight-users mailing list