[vtkusers] vtkBalloonWidget.. Help needed

Ashley Sher tany0029 at ntu.edu.sg
Wed Mar 15 21:24:07 EST 2006


Hi all,

I want use to vtkBalloonWidget to do a popup text. However, after creating a
project to test out this class, i realised that the vtk source i downloaded
had a few classes missing. So i download several header files,
vtkHoverWidget.h, vtkBalloonWidget.h, vtkBalloonRepresentation.h,
vtkAbstractWidget.h and vtkWidgetRepresentation.h. 

However, it still didnt work out. I think i missed out a few other files but
i'm not too sure what's them.

This is the error i got when i tried compiling:

TextInputDlg.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
vtkBalloonWidget::AddBalloonText(class vtkProp *,char const *)"
(__imp_?AddBalloonText at vtkBalloonWidget@@QAEXPAVvtkProp@@PBD at Z) referenced
in function "public: void __thiscall CTextInputDlg::OnBnClickedOk(void)"
(?OnBnClickedOk at CTextInputDlg@@QAEXXZ)
TextInputDlg.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
vtkBalloonWidget::SetRepresentation(class vtkBalloonRepresentation *)"
(__imp_?SetRepresentation at vtkBalloonWidget@@QAEXPAVvtkBalloonRepresentation@@@Z)
referenced in function "public: void __thiscall
CTextInputDlg::OnBnClickedOk(void)" (?OnBnClickedOk at CTextInputDlg@@QAEXXZ)
TextInputDlg.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static class vtkBalloonWidget * __cdecl
vtkBalloonWidget::New(void)" (__imp_?New at vtkBalloonWidget@@SAPAV1 at XZ)
referenced in function "public: void __thiscall
CTextInputDlg::OnBnClickedOk(void)" (?OnBnClickedOk at CTextInputDlg@@QAEXXZ)
TextInputDlg.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static class vtkBalloonRepresentation *
__cdecl vtkBalloonRepresentation::New(void)"
(__imp_?New at vtkBalloonRepresentation@@SAPAV1 at XZ) referenced in function
"public: void __thiscall CTextInputDlg::OnBnClickedOk(void)"
(?OnBnClickedOk at CTextInputDlg@@QAEXXZ)
Debug/TextInput.exe : fatal error LNK1120: 4 unresolved externals


Anyone has met with this problem before?
Thanks in advanced!!!
--
View this message in context: http://www.nabble.com/vtkBalloonWidget..-Help-needed-t1288784.html#a3428759
Sent from the VTK - Users forum at Nabble.com.




More information about the vtkusers mailing list