[vtkusers] Compile VTK on VS2010

John Drescher drescherjm at gmail.com
Thu Feb 9 16:21:57 EST 2012


2012/2/9 Massinissa Bandou <Massinissa.Bandou at usherbrooke.ca>:
> Hi
>
> I formatted my computer and successively Installed win7 Professionel 64Bits
> instead of premium version which I had before and now everything is working
> Now, I can build ITK & VTK without problem!
> I'm keeping to learn ITK & VTK According to this web site:
> http://www.itk.org/ITK/help/tutorials.html
> I did the example of myProject.cxx of Getting Started II: Using ITK with VTK
> It compiles with no error but when I run the executable, it crush instantly
> with an  error of invalid null pionter.
> Do I need to add some C++ code to put an image (Brainslice.png) as an
> argument?
>
No you do not need to edit the code.. Just pass the argument on the
command line. Or in the visual studio debugger.

John



More information about the vtkusers mailing list