[vtkusers] Simple Graph Example compile problem

David Doria daviddoria+vtk at gmail.com
Wed Dec 16 14:01:32 EST 2009


> ---------- Forwarded message ----------
> From: David Doria <daviddoria at gmail.com>
> To: Kernelblaha <kernelblaha at gmail.com>, vtkusers at vtk.org
> Date: Wed, 16 Dec 2009 13:59:26 -0500
> Subject: Re: Simple Graph Example compile problem
> On Wed, Dec 16, 2009 at 1:44 PM, Kernelblaha <kernelblaha at gmail.com> wrote:
>> Hi David,
>>
>> Thanks for your example (http://www.vtk.org/Wiki/Visualize_a_graph). I can't seem to get it to compile (with two compliers, XCode and Visual Studio).
>> Both fail with the following errors.
>>
>> NetSimple.cpp:21: error: 'class vtkGraphLayoutView' has no member named 'ResetCamera'
>>
>> NetSimple.cpp:22: error: 'class vtkGraphLayoutView' has no member named 'Render'
>>
>> NetSimple.cpp:23: error: 'class vtkGraphLayoutView' has no member named 'GetInteractor'
>>
>> I guess I'm missing something simple (still new at this). Do you have any pointers?
>> Thanks
>> Leon
>>
>> ---
>> This e-mail was sent by Kernelblaha to Daviddoria by the "Email user" function at KitwarePublic.
>>
>
Let's keep these discussions on the mailing list so everyone can
benefit/help. I don't think this has anything to do with your
compiler, but it may have to do with your version of VTK. Which
version are you using?

Are you trying to compile exactly the example from the wiki?

Thanks,
David



More information about the vtkusers mailing list