[vtkusers] how to use static lib of vtk?
6dgis at 163.com
6dgis at 163.com
Sat Jul 30 02:22:17 EDT 2005
Hi,
I have some trouble in using static lib of vtk.
platform: winxp&vc7.1
vtkversion: 4.2
The error info as:
------ Build started: Project: Medical, Configuration: Debug Win32 ------
Compiling...
Medical1.cxx
Linking...
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
vtkRendering.lib(vtkWin32OpenGLRenderWindow.obj) : error LNK2001: unresolved external symbol __imp__glDeleteTextures at 8
vtkRendering.lib(vtkOpenGLVolumeRayCastMapper.obj) : error LNK2019: unresolved external symbol __imp__glDeleteTextures at 8 referenced in function "protected: virtual void __thiscall vtkOpenGLVolumeRayCastMapper::RenderTexture(class vtkVolume *,class vtkRenderer *)" (?RenderTexture at vtkOpenGLVolumeRayCastMapper@@MAEXPAVvtkVolume@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLVolumeTextureMapper2D.obj) : error LNK2001: unresolved external symbol __imp__glDeleteTextures at 8
vtkRendering.lib(vtkOpenGLTexture.obj) : error LNK2001: unresolved external symbol __imp__glDeleteTextures at 8
vtkRendering.lib(vtkOpenGLImageActor.obj) : error LNK2001: unresolved external symbol __imp__glDeleteTextures at 8
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2001: unresolved external symbol __imp__glFlush at 0
vtkRendering.lib(vtkOpenGLVolumeRayCastMapper.obj) : error LNK2019: unresolved external symbol __imp__glFlush at 0 referenced in function "protected: virtual void __thiscall vtkOpenGLVolumeRayCastMapper::RenderTexture(class vtkVolume *,class vtkRenderer *)" (?RenderTexture at vtkOpenGLVolumeRayCastMapper@@MAEXPAVvtkVolume@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLVolumeTextureMapper2D.obj) : error LNK2001: unresolved external symbol __imp__glFlush at 0
vtkRendering.lib(vtkOpenGLRenderer.obj) : error LNK2001: unresolved external symbol __imp__glFlush at 0
vtkRendering.lib(vtkWin32OpenGLRenderWindow.obj) : error LNK2001: unresolved external symbol __imp__glFlush at 0
vtkRendering.lib(vtkOpenGLVolumeRayCastMapper.obj) : error LNK2019: unresolved external symbol __imp__glEnd at 0 referenced in function "protected: virtual void __thiscall vtkOpenGLVolumeRayCastMapper::RenderTexture(class vtkVolume *,class vtkRenderer *)" (?RenderTexture at vtkOpenGLVolumeRayCastMapper@@MAEXPAVvtkVolume@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLVolumeTextureMapper2D.obj) : error LNK2001: unresolved external symbol __imp__glEnd at 0
vtkRendering.lib(vtkOpenGLPolyDataMapper.obj) : error LNK2001: unresolved external symbol __imp__glEnd at 0
vtkRendering.lib(vtkOpenGLImageActor.obj) : error LNK2001: unresolved external symbol __imp__glEnd at 0
vtkRendering.lib(vtkOpenGLVolumeRayCastMapper.obj) : error LNK2019: unresolved external symbol __imp__glVertex3fv at 4 referenced in function "protected: virtual void __thiscall vtkOpenGLVolumeRayCastMapper::RenderTexture(class vtkVolume *,class vtkRenderer *)" (?RenderTexture at vtkOpenGLVolumeRayCastMapper@@MAEXPAVvtkVolume@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLVolumeTextureMapper2D.obj) : error LNK2001: unresolved external symbol __imp__glVertex3fv at 4
vtkRendering.lib(vtkOpenGLPolyDataMapper.obj) : error LNK2001: unresolved external symbol __imp__glVertex3fv at 4
vtkRendering.lib(vtkOpenGLImageActor.obj) : error LNK2001: unresolved external symbol __imp__glVertex3fv at 4
vtkRendering.lib(vtkOpenGLVolumeRayCastMapper.obj) : error LNK2019: unresolved external symbol __imp__glTexCoord2fv at 4 referenced in function "protected: virtual void __thiscall vtkOpenGLVolumeRayCastMapper::RenderTexture(class vtkVolume *,class vtkRenderer *)" (?RenderTexture at vtkOpenGLVolumeRayCastMapper@@MAEXPAVvtkVolume@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLVolumeTextureMapper2D.obj) : error LNK2001: unresolved external symbol __imp__glTexCoord2fv at 4
vtkRendering.lib(vtkOpenGLPolyDataMapper.obj) : error LNK2001: unresolved external symbol __imp__glTexCoord2fv at 4
vtkRendering.lib(vtkOpenGLImageActor.obj) : error LNK2001: unresolved external symbol __imp__glTexCoord2fv at 4
vtkRendering.lib(vtkOpenGLVolumeRayCastMapper.obj) : error LNK2019: unresolved external symbol __imp__glBegin at 4 referenced in function "protected: virtual void __thiscall vtkOpenGLVolumeRayCastMapper::RenderTexture(class vtkVolume *,class vtkRenderer *)" (?RenderTexture at vtkOpenGLVolumeRayCastMapper@@MAEXPAVvtkVolume@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLVolumeTextureMapper2D.obj) : error LNK2001: unresolved external symbol __imp__glBegin at 4
vtkRendering.lib(vtkOpenGLPolyDataMapper.obj) : error LNK2001: unresolved external symbol __imp__glBegin at 4
vtkRendering.lib(vtkOpenGLImageActor.obj) : error LNK2001: unresolved external symbol __imp__glBegin at 4
vtkRendering.lib(vtkOpenGLVolumeRayCastMapper.obj) : error LNK2019: unresolved external symbol __imp__glGetTexLevelParameteriv at 16 referenced in function "protected: virtual void __thiscall vtkOpenGLVolumeRayCastMapper::RenderTexture(class vtkVolume *,class vtkRenderer *)" (?RenderTexture at vtkOpenGLVolumeRayCastMapper@@MAEXPAVvtkVolume@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLVolumeRayCastMapper.obj) : error LNK2019: unresolved external symbol __imp__glTexImage2D at 36 referenced in function "protected: virtual void __thiscall vtkOpenGLVolumeRayCastMapper::RenderTexture(class vtkVolume *,class vtkRenderer *)" (?RenderTexture at vtkOpenGLVolumeRayCastMapper@@MAEXPAVvtkVolume@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLVolumeTextureMapper2D.obj) : error LNK2001: unresolved external symbol __imp__glTexImage2D at 36
vtkRendering.lib(vtkOpenGLTexture.obj) : error LNK2001: unresolved external symbol __imp__glTexImage2D at 36
vtkRendering.lib(vtkOpenGLImageActor.obj) : error LNK2001: unresolved external symbol __imp__glTexImage2D at 36
vtkRendering.lib(vtkOpenGLVolumeRayCastMapper.obj) : error LNK2019: unresolved external symbol __imp__glColor3f at 12 referenced in function "protected: virtual void __thiscall vtkOpenGLVolumeRayCastMapper::RenderTexture(class vtkVolume *,class vtkRenderer *)" (?RenderTexture at vtkOpenGLVolumeRayCastMapper@@MAEXPAVvtkVolume@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLVolumeTextureMapper2D.obj) : error LNK2001: unresolved external symbol __imp__glColor3f at 12
vtkRendering.lib(vtkOpenGLImageActor.obj) : error LNK2001: unresolved external symbol __imp__glColor3f at 12
vtkRendering.lib(vtkOpenGLVolumeRayCastMapper.obj) : error LNK2019: unresolved external symbol __imp__glTexParameterf at 12 referenced in function "protected: virtual void __thiscall vtkOpenGLVolumeRayCastMapper::RenderTexture(class vtkVolume *,class vtkRenderer *)" (?RenderTexture at vtkOpenGLVolumeRayCastMapper@@MAEXPAVvtkVolume@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLVolumeTextureMapper2D.obj) : error LNK2001: unresolved external symbol __imp__glTexParameterf at 12
vtkRendering.lib(vtkOpenGLTexture.obj) : error LNK2001: unresolved external symbol __imp__glTexParameterf at 12
vtkRendering.lib(vtkOpenGLImageActor.obj) : error LNK2001: unresolved external symbol __imp__glTexParameterf at 12
vtkRendering.lib(vtkOpenGLVolumeRayCastMapper.obj) : error LNK2019: unresolved external symbol __imp__glDepthMask at 4 referenced in function "protected: virtual void __thiscall vtkOpenGLVolumeRayCastMapper::RenderTexture(class vtkVolume *,class vtkRenderer *)" (?RenderTexture at vtkOpenGLVolumeRayCastMapper@@MAEXPAVvtkVolume@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLActor.obj) : error LNK2001: unresolved external symbol __imp__glDepthMask at 4
vtkRendering.lib(vtkOpenGLVolumeRayCastMapper.obj) : error LNK2019: unresolved external symbol __imp__glBindTexture at 8 referenced in function "protected: virtual void __thiscall vtkOpenGLVolumeRayCastMapper::RenderTexture(class vtkVolume *,class vtkRenderer *)" (?RenderTexture at vtkOpenGLVolumeRayCastMapper@@MAEXPAVvtkVolume@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLVolumeTextureMapper2D.obj) : error LNK2001: unresolved external symbol __imp__glBindTexture at 8
vtkRendering.lib(vtkOpenGLTexture.obj) : error LNK2001: unresolved external symbol __imp__glBindTexture at 8
vtkRendering.lib(vtkOpenGLImageActor.obj) : error LNK2001: unresolved external symbol __imp__glBindTexture at 8
vtkRendering.lib(vtkOpenGLVolumeRayCastMapper.obj) : error LNK2019: unresolved external symbol __imp__glGenTextures at 8 referenced in function "protected: virtual void __thiscall vtkOpenGLVolumeRayCastMapper::RenderTexture(class vtkVolume *,class vtkRenderer *)" (?RenderTexture at vtkOpenGLVolumeRayCastMapper@@MAEXPAVvtkVolume@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLVolumeTextureMapper2D.obj) : error LNK2001: unresolved external symbol __imp__glGenTextures at 8
vtkRendering.lib(vtkOpenGLTexture.obj) : error LNK2001: unresolved external symbol __imp__glGenTextures at 8
vtkRendering.lib(vtkOpenGLImageActor.obj) : error LNK2001: unresolved external symbol __imp__glGenTextures at 8
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2001: unresolved external symbol __imp__glEnable at 4
vtkRendering.lib(vtkOpenGLPolyDataMapper.obj) : error LNK2001: unresolved external symbol __imp__glEnable at 4
vtkRendering.lib(vtkOpenGLProperty.obj) : error LNK2001: unresolved external symbol __imp__glEnable at 4
vtkRendering.lib(vtkOpenGLImageActor.obj) : error LNK2001: unresolved external symbol __imp__glEnable at 4
vtkRendering.lib(vtkOpenGLCamera.obj) : error LNK2001: unresolved external symbol __imp__glEnable at 4
vtkRendering.lib(vtkOpenGLVolumeRayCastMapper.obj) : error LNK2019: unresolved external symbol __imp__glEnable at 4 referenced in function "protected: virtual void __thiscall vtkOpenGLVolumeRayCastMapper::RenderTexture(class vtkVolume *,class vtkRenderer *)" (?RenderTexture at vtkOpenGLVolumeRayCastMapper@@MAEXPAVvtkVolume@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLVolumeTextureMapper2D.obj) : error LNK2001: unresolved external symbol __imp__glEnable at 4
vtkRendering.lib(vtkOpenGLTexture.obj) : error LNK2001: unresolved external symbol __imp__glEnable at 4
vtkRendering.lib(vtkOpenGLRenderer.obj) : error LNK2001: unresolved external symbol __imp__glEnable at 4
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2001: unresolved external symbol __imp__glDisable at 4
vtkRendering.lib(vtkOpenGLPolyDataMapper.obj) : error LNK2001: unresolved external symbol __imp__glDisable at 4
vtkRendering.lib(vtkOpenGLProperty.obj) : error LNK2001: unresolved external symbol __imp__glDisable at 4
vtkRendering.lib(vtkOpenGLImageActor.obj) : error LNK2001: unresolved external symbol __imp__glDisable at 4
vtkRendering.lib(vtkWin32OpenGLRenderWindow.obj) : error LNK2001: unresolved external symbol __imp__glDisable at 4
vtkRendering.lib(vtkOpenGLVolumeRayCastMapper.obj) : error LNK2019: unresolved external symbol __imp__glDisable at 4 referenced in function "protected: virtual void __thiscall vtkOpenGLVolumeRayCastMapper::RenderTexture(class vtkVolume *,class vtkRenderer *)" (?RenderTexture at vtkOpenGLVolumeRayCastMapper@@MAEXPAVvtkVolume@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLVolumeTextureMapper2D.obj) : error LNK2001: unresolved external symbol __imp__glDisable at 4
vtkRendering.lib(vtkOpenGLTexture.obj) : error LNK2001: unresolved external symbol __imp__glDisable at 4
vtkRendering.lib(vtkOpenGLRenderer.obj) : error LNK2001: unresolved external symbol __imp__glDisable at 4
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2001: unresolved external symbol __imp__glPopMatrix at 0
vtkRendering.lib(vtkOpenGLVolumeTextureMapper2D.obj) : error LNK2019: unresolved external symbol __imp__glPopMatrix at 0 referenced in function "public: virtual void __thiscall vtkOpenGLVolumeTextureMapper2D::Render(class vtkRenderer *,class vtkVolume *)" (?Render at vtkOpenGLVolumeTextureMapper2D@@UAEXPAVvtkRenderer@@PAVvtkVolume@@@Z)
vtkRendering.lib(vtkOpenGLRenderer.obj) : error LNK2019: unresolved external symbol __imp__glPopMatrix at 0 referenced in function __ehhandler$?New at vtkOpenGLRenderer@@SAPAV1 at XZ
vtkRendering.lib(vtkOpenGLLight.obj) : error LNK2001: unresolved external symbol __imp__glPopMatrix at 0
vtkRendering.lib(vtkOpenGLActor.obj) : error LNK2001: unresolved external symbol __imp__glPopMatrix at 0
vtkRendering.lib(vtkOpenGLVolumeTextureMapper2D.obj) : error LNK2019: unresolved external symbol __imp__glMultMatrixd at 4 referenced in function "public: virtual void __thiscall vtkOpenGLVolumeTextureMapper2D::Render(class vtkRenderer *,class vtkVolume *)" (?Render at vtkOpenGLVolumeTextureMapper2D@@UAEXPAVvtkRenderer@@PAVvtkVolume@@@Z)
vtkRendering.lib(vtkOpenGLLight.obj) : error LNK2001: unresolved external symbol __imp__glMultMatrixd at 4
vtkRendering.lib(vtkOpenGLCamera.obj) : error LNK2001: unresolved external symbol __imp__glMultMatrixd at 4
vtkRendering.lib(vtkOpenGLActor.obj) : error LNK2001: unresolved external symbol __imp__glMultMatrixd at 4
vtkRendering.lib(vtkOpenGLActor.obj) : error LNK2001: unresolved external symbol __imp__glPushMatrix at 0
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2001: unresolved external symbol __imp__glPushMatrix at 0
vtkRendering.lib(vtkOpenGLVolumeTextureMapper2D.obj) : error LNK2019: unresolved external symbol __imp__glPushMatrix at 0 referenced in function "public: virtual void __thiscall vtkOpenGLVolumeTextureMapper2D::Render(class vtkRenderer *,class vtkVolume *)" (?Render at vtkOpenGLVolumeTextureMapper2D@@UAEXPAVvtkRenderer@@PAVvtkVolume@@@Z)
vtkRendering.lib(vtkOpenGLRenderer.obj) : error LNK2001: unresolved external symbol __imp__glPushMatrix at 0
vtkRendering.lib(vtkOpenGLLight.obj) : error LNK2001: unresolved external symbol __imp__glPushMatrix at 0
vtkRendering.lib(vtkOpenGLCamera.obj) : error LNK2001: unresolved external symbol __imp__glPushMatrix at 0
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2001: unresolved external symbol __imp__glMatrixMode at 4
vtkRendering.lib(vtkOpenGLVolumeTextureMapper2D.obj) : error LNK2019: unresolved external symbol __imp__glMatrixMode at 4 referenced in function "public: virtual void __thiscall vtkOpenGLVolumeTextureMapper2D::Render(class vtkRenderer *,class vtkVolume *)" (?Render at vtkOpenGLVolumeTextureMapper2D@@UAEXPAVvtkRenderer@@PAVvtkVolume@@@Z)
vtkRendering.lib(vtkOpenGLRenderer.obj) : error LNK2001: unresolved external symbol __imp__glMatrixMode at 4
vtkRendering.lib(vtkOpenGLCamera.obj) : error LNK2001: unresolved external symbol __imp__glMatrixMode at 4
vtkRendering.lib(vtkOpenGLActor.obj) : error LNK2001: unresolved external symbol __imp__glMatrixMode at 4
vtkRendering.lib(vtkOpenGLVolumeTextureMapper2D.obj) : error LNK2019: unresolved external symbol __imp__glClipPlane at 8 referenced in function "public: virtual void __thiscall vtkOpenGLVolumeTextureMapper2D::Render(class vtkRenderer *,class vtkVolume *)" (?Render at vtkOpenGLVolumeTextureMapper2D@@UAEXPAVvtkRenderer@@PAVvtkVolume@@@Z)
vtkRendering.lib(vtkOpenGLPolyDataMapper.obj) : error LNK2001: unresolved external symbol __imp__glClipPlane at 8
vtkRendering.lib(vtkOpenGLTexture.obj) : error LNK2019: unresolved external symbol __imp__glIsTexture at 4 referenced in function "public: virtual void __thiscall vtkOpenGLTexture::ReleaseGraphicsResources(class vtkWindow *)" (?ReleaseGraphicsResources at vtkOpenGLTexture@@UAEXPAVvtkWindow@@@Z)
vtkRendering.lib(vtkOpenGLImageActor.obj) : error LNK2019: unresolved external symbol __imp__glIsTexture at 4 referenced in function "public: virtual void __thiscall vtkOpenGLImageActor::Load(class vtkRenderer *)" (?Load at vtkOpenGLImageActor@@UAEXPAVvtkRenderer@@@Z)
vtkRendering.lib(vtkWin32OpenGLRenderWindow.obj) : error LNK2001: unresolved external symbol __imp__glIsTexture at 4
vtkRendering.lib(vtkOpenGLTexture.obj) : error LNK2019: unresolved external symbol __imp__glGetIntegerv at 8 referenced in function "int __cdecl FindPowerOfTwo(int)" (?FindPowerOfTwo@@YAHH at Z)
vtkRendering.lib(vtkOpenGLActor.obj) : error LNK2001: unresolved external symbol __imp__glGetIntegerv at 8
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2001: unresolved external symbol __imp__glGetIntegerv at 8
vtkRendering.lib(vtkOpenGLTexture.obj) : error LNK2019: unresolved external symbol __imp__glAlphaFunc at 8 referenced in function "public: virtual void __thiscall vtkOpenGLTexture::Load(class vtkRenderer *)" (?Load at vtkOpenGLTexture@@UAEXPAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLImageActor.obj) : error LNK2001: unresolved external symbol __imp__glAlphaFunc at 8
vtkRendering.lib(vtkOpenGLRenderer.obj) : error LNK2019: unresolved external symbol __imp__glLightModeli at 8 referenced in function "public: void __thiscall vtkOpenGLRenderer::ClearLights(void)" (?ClearLights at vtkOpenGLRenderer@@QAEXXZ)
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2019: unresolved external symbol __imp__glLightModeli at 8 referenced in function "public: virtual void __thiscall vtkRenderWindow::SetStereoType(int)" (?SetStereoType at vtkRenderWindow@@UAEXH at Z)
vtkRendering.lib(vtkOpenGLRenderer.obj) : error LNK2019: unresolved external symbol __imp__glLightModelfv at 8 referenced in function "public: void __thiscall vtkOpenGLRenderer::ClearLights(void)" (?ClearLights at vtkOpenGLRenderer@@QAEXXZ)
vtkRendering.lib(vtkOpenGLRenderer.obj) : error LNK2019: unresolved external symbol __imp__glClear at 4 referenced in function "public: virtual void __thiscall vtkOpenGLRenderer::Clear(void)" (?Clear at vtkOpenGLRenderer@@UAEXXZ)
vtkRendering.lib(vtkOpenGLRenderer.obj) : error LNK2019: unresolved external symbol __imp__glClearDepth at 8 referenced in function "public: virtual void __thiscall vtkOpenGLRenderer::Clear(void)" (?Clear at vtkOpenGLRenderer@@UAEXXZ)
vtkRendering.lib(vtkOpenGLRenderer.obj) : error LNK2019: unresolved external symbol __imp__glClearColor at 16 referenced in function "public: virtual void __thiscall vtkOpenGLRenderer::Clear(void)" (?Clear at vtkOpenGLRenderer@@UAEXXZ)
vtkRendering.lib(vtkOpenGLRenderer.obj) : error LNK2019: unresolved external symbol __imp__glPushName at 4 referenced in function "protected: virtual void __thiscall vtkOpenGLRenderer::StartPick(unsigned int)" (?StartPick at vtkOpenGLRenderer@@MAEXI at Z)
vtkRendering.lib(vtkOpenGLRenderer.obj) : error LNK2019: unresolved external symbol __imp__glInitNames at 0 referenced in function "protected: virtual void __thiscall vtkOpenGLRenderer::StartPick(unsigned int)" (?StartPick at vtkOpenGLRenderer@@MAEXI at Z)
vtkRendering.lib(vtkOpenGLRenderer.obj) : error LNK2019: unresolved external symbol __imp__glRenderMode at 4 referenced in function "protected: virtual void __thiscall vtkOpenGLRenderer::StartPick(unsigned int)" (?StartPick at vtkOpenGLRenderer@@MAEXI at Z)
vtkRendering.lib(vtkOpenGLRenderer.obj) : error LNK2019: unresolved external symbol __imp__glSelectBuffer at 8 referenced in function "protected: virtual void __thiscall vtkOpenGLRenderer::StartPick(unsigned int)" (?StartPick at vtkOpenGLRenderer@@MAEXI at Z)
vtkRendering.lib(vtkOpenGLRenderer.obj) : error LNK2019: unresolved external symbol __imp__glLoadName at 4 referenced in function "protected: virtual void __thiscall vtkOpenGLRenderer::UpdatePickId(void)" (?UpdatePickId at vtkOpenGLRenderer@@MAEXXZ)
vtkRendering.lib(vtkOpenGLPolyDataMapper.obj) : error LNK2019: unresolved external symbol __imp__glDeleteLists at 8 referenced in function "public: virtual void __thiscall vtkOpenGLPolyDataMapper::ReleaseGraphicsResources(class vtkWindow *)" (?ReleaseGraphicsResources at vtkOpenGLPolyDataMapper@@UAEXPAVvtkWindow@@@Z)
vtkRendering.lib(vtkOpenGLPolyDataMapper.obj) : error LNK2019: unresolved external symbol __imp__glEndList at 0 referenced in function "public: virtual void __thiscall vtkOpenGLPolyDataMapper::RenderPiece(class vtkRenderer *,class vtkActor *)" (?RenderPiece at vtkOpenGLPolyDataMapper@@UAEXPAVvtkRenderer@@PAVvtkActor@@@Z)
vtkRendering.lib(vtkOpenGLPolyDataMapper.obj) : error LNK2019: unresolved external symbol __imp__glNewList at 8 referenced in function "public: virtual void __thiscall vtkOpenGLPolyDataMapper::RenderPiece(class vtkRenderer *,class vtkActor *)" (?RenderPiece at vtkOpenGLPolyDataMapper@@UAEXPAVvtkRenderer@@PAVvtkActor@@@Z)
vtkRendering.lib(vtkOpenGLPolyDataMapper.obj) : error LNK2019: unresolved external symbol __imp__glGenLists at 4 referenced in function "public: virtual void __thiscall vtkOpenGLPolyDataMapper::RenderPiece(class vtkRenderer *,class vtkActor *)" (?RenderPiece at vtkOpenGLPolyDataMapper@@UAEXPAVvtkRenderer@@PAVvtkActor@@@Z)
vtkRendering.lib(vtkOpenGLPolyDataMapper.obj) : error LNK2019: unresolved external symbol __imp__glCallList at 4 referenced in function "public: virtual void __thiscall vtkOpenGLPolyDataMapper::RenderPiece(class vtkRenderer *,class vtkActor *)" (?RenderPiece at vtkOpenGLPolyDataMapper@@UAEXPAVvtkRenderer@@PAVvtkActor@@@Z)
vtkRendering.lib(vtkOpenGLPolyDataMapper.obj) : error LNK2019: unresolved external symbol __imp__glNormal3fv at 4 referenced in function "void __cdecl vtkOpenGLDrawN013(class vtkCellArray *,unsigned int,int &,class vtkPoints *,class vtkDataArray *,class vtkUnsignedCharArray *,class vtkDataArray *,class vtkOpenGLRenderer *,int &)" (?vtkOpenGLDrawN013@@YAXPAVvtkCellArray@@IAAHPAVvtkPoints@@PAVvtkDataArray@@PAVvtkUnsignedCharArray@@3PAVvtkOpenGLRenderer@@1 at Z)
vtkRendering.lib(vtkOpenGLPolyDataMapper.obj) : error LNK2019: unresolved external symbol __imp__glColor4ubv at 4 referenced in function "void __cdecl vtkOpenGLDrawS01(class vtkCellArray *,unsigned int,int &,class vtkPoints *,class vtkDataArray *,class vtkUnsignedCharArray *,class vtkDataArray *,class vtkOpenGLRenderer *,int &)" (?vtkOpenGLDrawS01@@YAXPAVvtkCellArray@@IAAHPAVvtkPoints@@PAVvtkDataArray@@PAVvtkUnsignedCharArray@@3PAVvtkOpenGLRenderer@@1 at Z)
vtkRendering.lib(vtkOpenGLPolyDataMapper.obj) : error LNK2019: unresolved external symbol __imp__glDepthRange at 16 referenced in function "public: virtual int __thiscall vtkOpenGLPolyDataMapper::Draw(class vtkRenderer *,class vtkActor *)" (?Draw at vtkOpenGLPolyDataMapper@@UAEHPAVvtkRenderer@@PAVvtkActor@@@Z)
vtkRendering.lib(vtkOpenGLPolyDataMapper.obj) : error LNK2019: unresolved external symbol __imp__glPolygonOffset at 8 referenced in function "public: virtual int __thiscall vtkOpenGLPolyDataMapper::Draw(class vtkRenderer *,class vtkActor *)" (?Draw at vtkOpenGLPolyDataMapper@@UAEHPAVvtkRenderer@@PAVvtkActor@@@Z)
vtkRendering.lib(vtkOpenGLImageActor.obj) : error LNK2001: unresolved external symbol __imp__glPolygonOffset at 8
vtkRendering.lib(vtkOpenGLPolyDataMapper.obj) : error LNK2019: unresolved external symbol __imp__glColorMaterial at 8 referenced in function "public: virtual int __thiscall vtkOpenGLPolyDataMapper::Draw(class vtkRenderer *,class vtkActor *)" (?Draw at vtkOpenGLPolyDataMapper@@UAEHPAVvtkRenderer@@PAVvtkActor@@@Z)
vtkRendering.lib(vtkOpenGLProperty.obj) : error LNK2019: unresolved external symbol __imp__glLineStipple at 8 referenced in function "public: virtual void __thiscall vtkOpenGLProperty::Render(class vtkActor *,class vtkRenderer *)" (?Render at vtkOpenGLProperty@@UAEXPAVvtkActor@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLProperty.obj) : error LNK2019: unresolved external symbol __imp__glLineWidth at 4 referenced in function "public: virtual void __thiscall vtkOpenGLProperty::Render(class vtkActor *,class vtkRenderer *)" (?Render at vtkOpenGLProperty@@UAEXPAVvtkActor@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLProperty.obj) : error LNK2019: unresolved external symbol __imp__glPointSize at 4 referenced in function "public: virtual void __thiscall vtkOpenGLProperty::Render(class vtkActor *,class vtkRenderer *)" (?Render at vtkOpenGLProperty@@UAEXPAVvtkActor@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLProperty.obj) : error LNK2019: unresolved external symbol __imp__glColor4fv at 4 referenced in function "public: virtual void __thiscall vtkOpenGLProperty::Render(class vtkActor *,class vtkRenderer *)" (?Render at vtkOpenGLProperty@@UAEXPAVvtkActor@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLProperty.obj) : error LNK2019: unresolved external symbol __imp__glShadeModel at 4 referenced in function "public: virtual void __thiscall vtkOpenGLProperty::Render(class vtkActor *,class vtkRenderer *)" (?Render at vtkOpenGLProperty@@UAEXPAVvtkActor@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLProperty.obj) : error LNK2019: unresolved external symbol __imp__glMaterialfv at 12 referenced in function "public: virtual void __thiscall vtkOpenGLProperty::Render(class vtkActor *,class vtkRenderer *)" (?Render at vtkOpenGLProperty@@UAEXPAVvtkActor@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLProperty.obj) : error LNK2019: unresolved external symbol __imp__glCullFace at 4 referenced in function "public: virtual void __thiscall vtkOpenGLProperty::Render(class vtkActor *,class vtkRenderer *)" (?Render at vtkOpenGLProperty@@UAEXPAVvtkActor@@PAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLLight.obj) : error LNK2019: unresolved external symbol __imp__glLighti at 12 referenced in function "public: virtual void __thiscall vtkOpenGLLight::Render(class vtkRenderer *,int)" (?Render at vtkOpenGLLight@@UAEXPAVvtkRenderer@@H at Z)
vtkRendering.lib(vtkOpenGLLight.obj) : error LNK2019: unresolved external symbol __imp__glLightf at 12 referenced in function "public: virtual void __thiscall vtkOpenGLLight::Render(class vtkRenderer *,int)" (?Render at vtkOpenGLLight@@UAEXPAVvtkRenderer@@H at Z)
vtkRendering.lib(vtkOpenGLLight.obj) : error LNK2019: unresolved external symbol __imp__glLightfv at 12 referenced in function "public: virtual void __thiscall vtkOpenGLLight::Render(class vtkRenderer *,int)" (?Render at vtkOpenGLLight@@UAEXPAVvtkRenderer@@H at Z)
vtkRendering.lib(vtkOpenGLCamera.obj) : error LNK2019: unresolved external symbol __imp__glMultMatrixf at 4 referenced in function "void __cdecl vtkgluPickMatrix(double,double,double,double,int *,int *)" (?vtkgluPickMatrix@@YAXNNNNPAH0 at Z)
vtkRendering.lib(vtkOpenGLCamera.obj) : error LNK2019: unresolved external symbol __imp__glScissor at 16 referenced in function "public: virtual void __thiscall vtkOpenGLCamera::UpdateViewport(class vtkRenderer *)" (?UpdateViewport at vtkOpenGLCamera@@UAEXPAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLCamera.obj) : error LNK2019: unresolved external symbol __imp__glViewport at 16 referenced in function "public: virtual void __thiscall vtkOpenGLCamera::UpdateViewport(class vtkRenderer *)" (?UpdateViewport at vtkOpenGLCamera@@UAEXPAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2001: unresolved external symbol __imp__glViewport at 16
vtkRendering.lib(vtkOpenGLCamera.obj) : error LNK2019: unresolved external symbol __imp__glLoadMatrixd at 4 referenced in function "public: virtual void __thiscall vtkOpenGLCamera::Render(class vtkRenderer *)" (?Render at vtkOpenGLCamera@@UAEXPAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLCamera.obj) : error LNK2019: unresolved external symbol __imp__glLoadIdentity at 0 referenced in function "public: virtual void __thiscall vtkOpenGLCamera::Render(class vtkRenderer *)" (?Render at vtkOpenGLCamera@@UAEXPAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2001: unresolved external symbol __imp__glLoadIdentity at 0
vtkRendering.lib(vtkOpenGLCamera.obj) : error LNK2019: unresolved external symbol __imp__glDrawBuffer at 4 referenced in function "public: virtual void __thiscall vtkOpenGLCamera::Render(class vtkRenderer *)" (?Render at vtkOpenGLCamera@@UAEXPAVvtkRenderer@@@Z)
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2019: unresolved external symbol __imp__glDrawBuffer at 4 referenced in function __ehhandler$?SetPolygonSmoothing at vtkRenderWindow@@UAEXH at Z
vtkRendering.lib(vtkWin32OpenGLRenderWindow.obj) : error LNK2019: unresolved external symbol __imp__wglDeleteContext at 4 referenced in function "public: void __thiscall vtkWin32OpenGLRenderWindow::Clean(void)" (?Clean at vtkWin32OpenGLRenderWindow@@QAEXXZ)
vtkRendering.lib(vtkWin32OpenGLRenderWindow.obj) : error LNK2019: unresolved external symbol __imp__wglMakeCurrent at 8 referenced in function "public: void __thiscall vtkWin32OpenGLRenderWindow::Clean(void)" (?Clean at vtkWin32OpenGLRenderWindow@@QAEXXZ)
vtkRendering.lib(vtkWin32OpenGLRenderWindow.obj) : error LNK2019: unresolved external symbol __imp__wglGetCurrentContext at 0 referenced in function "public: virtual void __thiscall vtkWin32OpenGLRenderWindow::MakeCurrent(void)" (?MakeCurrent at vtkWin32OpenGLRenderWindow@@UAEXXZ)
vtkRendering.lib(vtkWin32OpenGLRenderWindow.obj) : error LNK2019: unresolved external symbol __imp__glGetString at 4 referenced in function "public: virtual char const * __thiscall vtkWin32OpenGLRenderWindow::ReportCapabilities(void)" (?ReportCapabilities at vtkWin32OpenGLRenderWindow@@UAEPBDXZ)
vtkRendering.lib(vtkWin32OpenGLRenderWindow.obj) : error LNK2019: unresolved external symbol __imp__wglCreateContext at 4 referenced in function "protected: void __thiscall vtkWin32OpenGLRenderWindow::CreateAWindow(int,int,int,int)" (?CreateAWindow at vtkWin32OpenGLRenderWindow@@IAEXHHHH at Z)
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2019: unresolved external symbol __imp__glBlendFunc at 8 referenced in function "public: virtual void __thiscall vtkOpenGLRenderWindow::OpenGLInit(void)" (?OpenGLInit at vtkOpenGLRenderWindow@@UAEXXZ)
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2019: unresolved external symbol __imp__glTexEnvf at 12 referenced in function "public: virtual void __thiscall vtkOpenGLRenderWindow::OpenGLInit(void)" (?OpenGLInit at vtkOpenGLRenderWindow@@UAEXXZ)
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2019: unresolved external symbol __imp__glDepthFunc at 4 referenced in function "public: virtual void __thiscall vtkOpenGLRenderWindow::OpenGLInit(void)" (?OpenGLInit at vtkOpenGLRenderWindow@@UAEXXZ)
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2019: unresolved external symbol __imp__glReadPixels at 28 referenced in function "protected: int __thiscall vtkOpenGLRenderWindow::GetPixelData(int,int,int,int,int,unsigned char *)" (?GetPixelData at vtkOpenGLRenderWindow@@IAEHHHHHHPAE at Z)
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2019: unresolved external symbol __imp__glPixelStorei at 8 referenced in function "protected: int __thiscall vtkOpenGLRenderWindow::GetPixelData(int,int,int,int,int,unsigned char *)" (?GetPixelData at vtkOpenGLRenderWindow@@IAEHHHHHHPAE at Z)
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2019: unresolved external symbol __imp__glReadBuffer at 4 referenced in function "protected: int __thiscall vtkOpenGLRenderWindow::GetPixelData(int,int,int,int,int,unsigned char *)" (?GetPixelData at vtkOpenGLRenderWindow@@IAEHHHHHHPAE at Z)
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2019: unresolved external symbol __imp__glGetError at 0 referenced in function "protected: int __thiscall vtkOpenGLRenderWindow::GetPixelData(int,int,int,int,int,unsigned char *)" (?GetPixelData at vtkOpenGLRenderWindow@@IAEHHHHHHPAE at Z)
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2019: unresolved external symbol __imp__glDrawPixels at 20 referenced in function "public: virtual int __thiscall vtkOpenGLRenderWindow::SetPixelData(int,int,int,int,unsigned char *,int)" (?SetPixelData at vtkOpenGLRenderWindow@@UAEHHHHHPAEH at Z)
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2019: unresolved external symbol __imp__glRasterPos3f at 12 referenced in function "public: virtual int __thiscall vtkOpenGLRenderWindow::SetPixelData(int,int,int,int,unsigned char *,int)" (?SetPixelData at vtkOpenGLRenderWindow@@UAEHHHHHPAEH at Z)
vtkRendering.lib(vtkOpenGLRenderWindow.obj) : error LNK2019: unresolved external symbol __imp__glRasterPos2f at 8 referenced in function "public: virtual int __thiscall vtkOpenGLRenderWindow::SetZbufferData(int,int,int,int,float *)" (?SetZbufferData at vtkOpenGLRenderWindow@@UAEHHHHHPAM at Z)
Debug/Medical.exe : fatal error LNK1120: 74 unresolved externals
Build log was saved at "file://e:\hjf\sourceforge\Vtk\VTK_Test\Medical\Debug\BuildLog.htm"
Medical - 153 error(s), 1 warning(s)
---------------------- Done ----------------------
Build: 0 succeeded, 1 failed, 0 skipped
Any help? Thx in advance!
6dgis
6dgis at 163.com
2005-07-30
More information about the vtkusers
mailing list