[vtkusers] vtkStandardNewMacro Issue?

Alessandro notinmyhead at gmail.com
Fri Sep 7 11:02:44 EDT 2012


Hello,

I'm trying to develop a custom InteractoryStyle in a QT application, following the example: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/SelectAnActor

If I build my application up from a clean project, it appears to work properly. After few compilation, I get a linker error of duplication of MyCustomInteractorStyle::New() both in myapplication.o and main.o. Why?

Thanks,
Ale 




More information about the vtkusers mailing list