[vtkusers] C++ problem adding a new method to an existing VTK class

Laurent PAUL Laurent.Paul at orto.ucl.ac.be
Fri Nov 17 11:27:33 EST 2006


Hi all!

I've got a C++ problem. I added two new methods to vtkImageViewer class,
but I had a linking error:
vtkImageViewer.obj : error LNK2001: unresolved external symbol "public:
void __thiscall vtkImageViewer::SetClickedPositionY(int)"
(?SetClickedPositionY at vtkImageViewer@@QAEXH at Z)

My new methods are present in vtkImageViewer.h and called in
vtkImageViewer.cxx.
What did I forget to do?

Thanks,

Laurent.







More information about the vtkusers mailing list