[vtkusers] error when using RemoveActor()

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed May 12 13:03:21 EDT 2004


Matt,

	You are using prebuild VTK right ? Could you add something like:

#undef RemovePropW

at the very begining of vtkViewport.h

My feeling is that windows is #defining something like

#define RemoveProp RemovePropW

HTH
Mathieu

Matt Schmiermund wrote:
> Anyone?????
> 
> This problem is in the archives, but no one ever
> posted a solution. I changed from using RemoveActor()
> to RemoveProp() and I am still getting the same error.
> Any help would be appreciated.
> 
> -Matt Schmiermund
> 
> --- Matt Schmiermund <matt at plasticflow.com> wrote:
> 
>>I get the following error after adding some
>>RemoveActor lines to my program. 
>>
>>Error: Unresolved external
>>'vtkViewport::RemovePropW(vtkProp *)' referenced
>>from
>> C:\DOCUMENTS AND SETTINGS\ALL
>>USERS\DOCUMENTS\PELDOMFLOW\VTKWIDGET.OBJ
>>
>>
>>This looked similar to what happened when I didn't
>>have the librarys linking properly, so I have linked
>>to all of the following libraries (some of which I
>>think are probably unnecessary) and I am still
>>getting
>>the same error.
>>
>>vtkFiltering
>>vtkRendering 
>>vtkCommon 
>>vtkGraphics 
>>vtkIO 
>>vtkImaging 
>>vtkHybrid 
>>vtkParallel 
>>vtkPatented
>>vtkqt 
>>vtkexpat 
>>vtkfreetype 
>>vtkftgl 
>>vtkjpeg 
>>vtkpng 
>>vtktiff 
>>vtkzlib 
>>
>>If anyone knows what I am doing wrong I would
>>appreciate any help.
>>
>>-Matt Schmiermund
>>_______________________________________________
>>This is the private VTK discussion list. 
>>Please keep messages on-topic. Check the FAQ at:
>><http://public.kitware.com/cgi-bin/vtkfaq>
>>Follow this link to subscribe/unsubscribe:
>>http://www.vtk.org/mailman/listinfo/vtkusers
> 
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 






More information about the vtkusers mailing list