[vtkusers] vtk linking problem

imho imho at skynet.be
Sun Apr 20 05:22:47 EDT 2003


Hi all,
now I've clean up a little the code to compile without heap error limit 
(upgrade vtk 4.0 to 4.2) , and I've link problems from vtk_qt:

thanks for any help...

Linking...
vtk_qt.lib(vtkQGLTexture.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::UnRegister(class 
vtkObject *)" (?UnRegister at vtkObject@@UAEXPAV1@@Z)
vtk_qt.lib(vtkQtOutputWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::UnRegister(class 
vtkObject *)" (?UnRegister at vtkObject@@UAEXPAV1@@Z)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::UnRegister(class 
vtkObject *)" (?UnRegister at vtkObject@@UAEXPAV1@@Z)
vtk_qt.lib(vtkQtObjectFactory.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::UnRegister(class 
vtkObject *)" (?UnRegister at vtkObject@@UAEXPAV1@@Z)
vtk_qt.lib(vtkQtOpenGLPolyDataMapper.obj) : error LNK2001: unresolved 
external symbol "public: virtual void __thiscall 
vtkObject::UnRegister(class vtkObject *)" 
(?UnRegister at vtkObject@@UAEXPAV1@@Z)
vtk_qt.lib(vtkQGLLight.obj) : error LNK2001: unresolved external symbol 
"public: virtual void __thiscall vtkObject::UnRegister(class vtkObject 
*)" (?UnRegister at vtkObject@@UAEXPAV1@@Z)
vtk_qt.lib(vtkQGLImageMapper.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::UnRegister(class 
vtkObject *)" (?UnRegister at vtkObject@@UAEXPAV1@@Z)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::PrintTrailer(class 
ostream &,class vtkIndent)" 
(?PrintTrailer at vtkObject@@UAEXAAVostream@@VvtkIndent@@@Z)
vtk_qt.lib(vtkQGLTexture.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::PrintTrailer(class 
ostream &,class vtkIndent)" 
(?PrintTrailer at vtkObject@@UAEXAAVostream@@VvtkIndent@@@Z)
vtk_qt.lib(vtkQGLRenderWindowInteractor.obj) : error LNK2001: unresolved 
external symbol "public: virtual void __thiscall 
vtkObject::PrintTrailer(class ostream &,class vtkIndent)" 
(?PrintTrailer at vtkObject@@UAEXAAVostream@@VvtkIndent@@@Z)
vtk_qt.lib(vtkQtOutputWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::PrintTrailer(class 
ostream &,class vtkIndent)" 
(?PrintTrailer at vtkObject@@UAEXAAVostream@@VvtkIndent@@@Z)
vtk_qt.lib(vtkQGLRenderWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::PrintTrailer(class 
ostream &,class vtkIndent)" 
(?PrintTrailer at vtkObject@@UAEXAAVostream@@VvtkIndent@@@Z)
vtk_qt.lib(vtkQtObjectFactory.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::PrintTrailer(class 
ostream &,class vtkIndent)" 
(?PrintTrailer at vtkObject@@UAEXAAVostream@@VvtkIndent@@@Z)
vtk_qt.lib(vtkQtOpenGLPolyDataMapper.obj) : error LNK2001: unresolved 
external symbol "public: virtual void __thiscall 
vtkObject::PrintTrailer(class ostream &,class vtkIndent)" 
(?PrintTrailer at vtkObject@@UAEXAAVostream@@VvtkIndent@@@Z)
vtk_qt.lib(vtkQGLLight.obj) : error LNK2001: unresolved external symbol 
"public: virtual void __thiscall vtkObject::PrintTrailer(class ostream 
&,class vtkIndent)" 
(?PrintTrailer at vtkObject@@UAEXAAVostream@@VvtkIndent@@@Z)
vtk_qt.lib(vtkQGLImageMapper.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::PrintTrailer(class 
ostream &,class vtkIndent)" 
(?PrintTrailer at vtkObject@@UAEXAAVostream@@VvtkIndent@@@Z)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::PrintHeader(class 
ostream &,class vtkIndent)" 
(?PrintHeader at vtkObject@@UAEXAAVostream@@VvtkIndent@@@Z)
vtk_qt.lib(vtkQGLTexture.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::PrintHeader(class 
ostream &,class vtkIndent)" 
(?PrintHeader at vtkObject@@UAEXAAVostream@@VvtkIndent@@@Z)
vtk_qt.lib(vtkQGLRenderWindowInteractor.obj) : error LNK2001: unresolved 
external symbol "public: virtual void __thiscall 
vtkObject::PrintHeader(class ostream &,class vtkIndent)" 
(?PrintHeader at vtkObject@@UAEXAAVostream@@VvtkIndent@@@Z)
vtk_qt.lib(vtkQtOutputWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::PrintHeader(class 
ostream &,class vtkIndent)" 
(?PrintHeader at vtkObject@@UAEXAAVostream@@VvtkIndent@@@Z)
vtk_qt.lib(vtkQGLRenderWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::PrintHeader(class 
ostream &,class vtkIndent)" 
(?PrintHeader at vtkObject@@UAEXAAVostream@@VvtkIndent@@@Z)
vtk_qt.lib(vtkQtObjectFactory.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::PrintHeader(class 
ostream &,class vtkIndent)" 
(?PrintHeader at vtkObject@@UAEXAAVostream@@VvtkIndent@@@Z)
vtk_qt.lib(vtkQtOpenGLPolyDataMapper.obj) : error LNK2001: unresolved 
external symbol "public: virtual void __thiscall 
vtkObject::PrintHeader(class ostream &,class vtkIndent)" 
(?PrintHeader at vtkObject@@UAEXAAVostream@@VvtkIndent@@@Z)
vtk_qt.lib(vtkQGLLight.obj) : error LNK2001: unresolved external symbol 
"public: virtual void __thiscall vtkObject::PrintHeader(class ostream 
&,class vtkIndent)" (?PrintHeader at vtkObject@@UAEXAAVostream@@VvtkIndent@@@Z)
vtk_qt.lib(vtkQGLImageMapper.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::PrintHeader(class 
ostream &,class vtkIndent)" 
(?PrintHeader at vtkObject@@UAEXAAVostream@@VvtkIndent@@@Z)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::Delete(void)" 
(?Delete at vtkObject@@UAEXXZ)
vtk_qt.lib(vtkQGLTexture.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::Delete(void)" 
(?Delete at vtkObject@@UAEXXZ)
vtk_qt.lib(vtkQGLRenderWindowInteractor.obj) : error LNK2001: unresolved 
external symbol "public: virtual void __thiscall 
vtkObject::Delete(void)" (?Delete at vtkObject@@UAEXXZ)
vtk_qt.lib(vtkQtOutputWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::Delete(void)" 
(?Delete at vtkObject@@UAEXXZ)
vtk_qt.lib(vtkQGLRenderWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::Delete(void)" 
(?Delete at vtkObject@@UAEXXZ)
vtk_qt.lib(vtkQtObjectFactory.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::Delete(void)" 
(?Delete at vtkObject@@UAEXXZ)
vtk_qt.lib(vtkQtOpenGLPolyDataMapper.obj) : error LNK2001: unresolved 
external symbol "public: virtual void __thiscall 
vtkObject::Delete(void)" (?Delete at vtkObject@@UAEXXZ)
vtk_qt.lib(vtkQGLLight.obj) : error LNK2001: unresolved external symbol 
"public: virtual void __thiscall vtkObject::Delete(void)" 
(?Delete at vtkObject@@UAEXXZ)
vtk_qt.lib(vtkQGLImageMapper.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkObject::Delete(void)" 
(?Delete at vtkObject@@UAEXXZ)
vtk_qt.lib(vtkQtOpenGLPolyDataMapper.obj) : error LNK2001: unresolved 
external symbol "public: virtual void __thiscall 
vtkOpenGLPolyDataMapper::Draw(class vtkRenderer *,class vtkActor *)" 
(?Draw at vtkOpenGLPolyDataMapper@@UAEXPAVvtkRenderer@@PAVvtkAct
or@@@Z)
vtk_qt.lib(vtkQtOpenGLPolyDataMapper.obj) : error LNK2001: unresolved 
external symbol "__declspec(dllimport) public: void __thiscall 
vtkObject::InvokeEvent(unsigned long,void *)" 
(__imp_?InvokeEvent at vtkObject@@QAEXKPAX at Z)
vtk_qt.lib(vtkQGLRenderWindowInteractor.obj) : error LNK2001: unresolved 
external symbol "__declspec(dllimport) public: void __thiscall 
vtkObject::InvokeEvent(unsigned long,void *)" 
(__imp_?InvokeEvent at vtkObject@@QAEXKPAX at Z)
vtk_qt.lib(vtkQGLRenderWindowInteractor.obj) : error LNK2001: unresolved 
external symbol "public: virtual class vtkInteractorStyle * __thiscall 
vtkRenderWindowInteractor::GetInteractorStyle(void)" 
(?GetInteractorStyle at vtkRenderWindowInteractor@@UAEP
AVvtkInteractorStyle@@XZ)
vtk_qt.lib(vtkQGLRenderWindowInteractor.obj) : error LNK2001: unresolved 
external symbol "public: virtual void __thiscall 
vtkRenderWindowInteractor::SetInteractorStyle(class vtkInteractorStyle 
*)" (?SetInteractorStyle at vtkRenderWindowInteractor@@UAEX
PAVvtkInteractorStyle@@@Z)
vtk_qt.lib(vtkQGLRenderWindowInteractor.obj) : error LNK2001: unresolved 
external symbol "public: virtual void __thiscall 
vtkRenderWindowInteractor::UnRegister(class vtkObject *)" 
(?UnRegister at vtkRenderWindowInteractor@@UAEXPAVvtkObject@@@Z)
vtk_qt.lib(vtkQGLRenderWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual int __thiscall 
vtkRenderWindow::GetEventPending(void)" 
(?GetEventPending at vtkRenderWindow@@UAEHXZ)
vtk_qt.lib(vtkQGLRenderWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall 
vtkOpenGLRenderWindow::SetZbufferData(int,int,int,int,float *)" 
(?SetZbufferData at vtkOpenGLRenderWindow@@UAEXHHHHPAM at Z)
vtk_qt.lib(vtkQGLRenderWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall 
vtkOpenGLRenderWindow::SetRGBACharPixelData(int,int,int,int,unsigned 
char *,int,int)" (?SetRGBACharPixelData at vtkOpenGLRenderWindow@@UAEXH
HHHPAEHH at Z)
vtk_qt.lib(vtkQGLRenderWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall 
vtkOpenGLRenderWindow::SetRGBAPixelData(int,int,int,int,float 
*,int,int)" (?SetRGBAPixelData at vtkOpenGLRenderWindow@@UAEXHHHHPAMHH at Z)
vtk_qt.lib(vtkQGLRenderWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall 
vtkOpenGLRenderWindow::SetPixelData(int,int,int,int,unsigned char 
*,int)" (?SetPixelData at vtkOpenGLRenderWindow@@UAEXHHHHPAEH at Z)
vtk_qt.lib(vtkQGLRenderWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall 
vtkRenderWindow::ShowCursor(void)" (?ShowCursor at vtkRenderWindow@@UAEXXZ)
vtk_qt.lib(vtkQGLRenderWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall 
vtkRenderWindow::HideCursor(void)" (?HideCursor at vtkRenderWindow@@UAEXXZ)
vtk_qt.lib(vtkQGLRenderWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkWindow::SetWindowName(char 
*)" (?SetWindowName at vtkWindow@@UAEXPAD at Z)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkWindow::SetWindowName(char 
*)" (?SetWindowName at vtkWindow@@UAEXPAD at Z)
vtk_qt.lib(vtkQGLRenderWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall 
vtkRenderWindow::UnRegister(class vtkObject *)" 
(?UnRegister at vtkRenderWindow@@UAEXPAVvtkObject@@@Z)
vtk_qt.lib(vtkQGLRenderWindow.obj) : error LNK2001: unresolved external 
symbol "__declspec(dllimport) class ostream & __cdecl operator<<(class 
ostream &,class vtkIndent &)" 
(__imp_??6 at YAAAVostream@@AAV0 at AAVvtkIndent@@@Z)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "__declspec(dllimport) class ostream & __cdecl operator<<(class 
ostream &,class vtkIndent &)" 
(__imp_??6 at YAAAVostream@@AAV0 at AAVvtkIndent@@@Z)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual char * __thiscall 
vtkImageWindow::GetFileName(void)" (?GetFileName at vtkImageWindow@@UAEPADXZ)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall vtkImageWindow::SetFileName(char 
const *)" (?SetFileName at vtkImageWindow@@UAEXPBD at Z)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall 
vtkImageWindow::ClosePPMImageFile(void)" 
(?ClosePPMImageFile at vtkImageWindow@@UAEXXZ)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall 
vtkImageWindow::WritePPMImageFile(void)" 
(?WritePPMImageFile at vtkImageWindow@@UAEXXZ)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual int __thiscall 
vtkImageWindow::OpenPPMImageFile(void)" 
(?OpenPPMImageFile at vtkImageWindow@@UAEHXZ)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall 
vtkImageWindow::SaveImageAsPPM(void)" 
(?SaveImageAsPPM at vtkImageWindow@@UAEXXZ)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall 
vtkImageWindow::EraseWindow(void)" (?EraseWindow at vtkImageWindow@@UAEXXZ)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall 
vtkImageWindow::GrayScaleHintOff(void)" 
(?GrayScaleHintOff at vtkImageWindow@@UAEXXZ)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall 
vtkImageWindow::GrayScaleHintOn(void)" 
(?GrayScaleHintOn at vtkImageWindow@@UAEXXZ)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual int __thiscall 
vtkImageWindow::GetGrayScaleHint(void)" 
(?GetGrayScaleHint at vtkImageWindow@@UAEHXZ)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall 
vtkImageWindow::SetGrayScaleHint(int)" 
(?SetGrayScaleHint at vtkImageWindow@@UAEXH at Z)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall 
vtkImageWindow::SetParentInfo(char *)" 
(?SetParentInfo at vtkImageWindow@@UAEXPAD at Z)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void __thiscall 
vtkImageWindow::SetWindowInfo(char *)" 
(?SetWindowInfo at vtkImageWindow@@UAEXPAD at Z)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "public: virtual void * __thiscall 
vtkImageWindow::GetGenericDrawable(void)" 
(?GetGenericDrawable at vtkImageWindow@@UAEPAXXZ)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "__declspec(dllimport) protected: virtual __thiscall 
vtkImageWindow::~vtkImageWindow(void)" (__imp_??1vtkImageWindow@@MAE at XZ)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "__declspec(dllimport) protected: __thiscall 
vtkImageWindow::vtkImageWindow(void)" (__imp_??0vtkImageWindow@@IAE at XZ)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "__declspec(dllimport) public: static int __cdecl 
vtkImageWindow::IsTypeOf(char const *)" 
(__imp_?IsTypeOf at vtkImageWindow@@SAHPBD at Z)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "__declspec(dllimport) public: virtual void __thiscall 
vtkImageWindow::GetPosition(int *,int *)" 
(__imp_?GetPosition at vtkImageWindow@@UAEXPAH0 at Z)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "__declspec(dllimport) public: virtual void __thiscall 
vtkImageWindow::GetSize(int *,int *)" 
(__imp_?GetSize at vtkImageWindow@@UAEXPAH0 at Z)
vtk_qt.lib(vtkQGLImageWindow.obj) : error LNK2001: unresolved external 
symbol "__declspec(dllimport) public: virtual void __thiscall 
vtkImageWindow::Render(void)" (__imp_?Render at vtkImageWindow@@UAEXXZ)
Debug/NewProject.exe : fatal error LNK1120: 39 unresolved externals
Error executing link.exe.

NewProject.exe - 73 error(s), 0 warning(s)




More information about the vtkusers mailing list