[vtkusers] vtk56 - VS2008 - Cone example Errors

John Drescher drescherjm at gmail.com
Thu Sep 30 14:56:50 EDT 2010


On Thu, Sep 30, 2010 at 2:51 PM, John Drescher <drescherjm at gmail.com> wrote:
> On Thu, Sep 30, 2010 at 2:39 PM, Bob Palank <bob at stlcc.org> wrote:
>> "> I assume you put D:\Program Files\VTK\include\vtk-5.6\ in the
>>   additional include directories for your project. "
>>
>> I forgot   ...  but I did now !
>> --------------------------------------------------------------------
>> Execution attempt
>> 1. All code beyond includes and pragmas
>>   was commented out except the return 0;  ==>  Runs clean
>> --------------------------------------------------------------------------
>> Added these 2 lines
>> //    Let's build a primitive object we wish to examine - a Cone ?
>>    vtkConeSource *cone = vtkConeSource::New();
>>
>> Rebuild all and Runs clean again
>> ------------------------------------
>> Added
>>     cone->SetResolution(3);
>>
>> Then Rebuild all and   execution fails with
>> An Unhandled exception in the executable
>>  With an Access violation reading location 0x0013
>>
>> Your thoughts ?
>>
> Verify that only the vtk dlls you compiled are in your path (no .dlls
> in the system32 folder).

I am sorry. What I meant is make sure you got rid of any previous vtk
dlls from the path.

John M. Drescher



More information about the vtkusers mailing list