[vtkusers] VS 2008 Execution Test Fails

John Drescher drescherjm at gmail.com
Fri Oct 1 11:30:29 EDT 2010


On Fri, Oct 1, 2010 at 11:27 AM, Bob Palank <bob at stlcc.org> wrote:
> All code commented out except return 0;  -- Runs clean
>
> --------------------------------------------------------------------------
>
> Added 2 lines and Runs clean
>
> //    Let's build a primitive object we wish to examine - a Cone ?
>
>     vtkConeSource *cone = vtkConeSource::New();
>
> ------------------------------------
>
> Added
>
>      cone->SetResolution(3);
>
>
>
> Then Rebuild all and   execution fails with
>
>
>
> 09/30/2010 John says  remove all old vtk dlls from System32 folder - - Done!
>
> Adding code a line at a time:
>  -----------------------------------------------------------------
>
>      vtkConeSource *cone = vtkConeSource::New();
>
>      cone->SetResolution(160);     // Completely smooth   worked
>
> ----------------------------------------------------------------
>
>
>
> Added this line
>    vtkPolyDataMapper *coneMapper = vtkPolyDataMapper::New();
>
> Execution FAILS - First-chance exception at 0x100fe6ff in Cone041906.exe:
> 0xC0000005:
>          Access violation writing location 0x00000000.
>
>
>
> What should I do ?

Post the code I can not follow that. I am busy with the day job so it
may be some time for me to reply.

John



More information about the vtkusers mailing list