[vtkusers] VS 2008 Execution Test Fails

Bob Palank bob at stlcc.org
Fri Oct 1 11:27:14 EDT 2010


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 ?
Bob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101001/af5acfb1/attachment.htm>


More information about the vtkusers mailing list