[vtkusers] unresolved external only with vtkPolyDataMapper

Francois Bertel francois.bertel at kitware.com
Wed Aug 27 13:48:37 EDT 2008


Come on!

This is the exact same issue you had few days ago and I already responded too...

http://www.vtk.org/pipermail/vtkusers/2008-August/096578.html

On Wed, Aug 27, 2008 at 1:24 PM, Pascale Beliveau <beliveaup at gmail.com> wrote:
> Hi,
>
>    I have been using vtk and everything is compiling well, execution too.
> But as soon as I use vtkPolyDataMapper in my code I get an unresolved
> external:
>
>
> vtkRendering.lib(vtkOpenGLTexture.obj) : error LNK2019: unresolved external
> symbol __imp__glDeleteTextures at 8 referenced in function "public: virtual
> void __thiscall vtkOpenGLTexture::ReleaseGraphicsResources(class vtkWindow
> *)" (?ReleaseGraphicsResources at vtkOpenGLTexture@@UAEXPAVvtkWindow@@@Z)
>
> vtkRendering.lib(vtkOpenGLImageActor.obj) : error LNK2001: unresolved
> external symbol __imp__glDeleteTextures at 8
>
> vtkRendering.lib(vtkWin32OpenGLRenderWindow.obj) : error LNK2001: unresolved
> external symbol __imp__glDeleteTextures at 8
>
> 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(vtkOpenGLRenderWindow.obj) : error LNK2001: unresolved
> external symbol __imp__glDisable at 4
> etc...
>
>
> Could anyone have an idea why this happens? All the directories are
> specified in the project settings, and vtkRendering.lib as well?!?
>
> Thanks for helping!!
> Pascale
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



-- 
François Bertel, PhD | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
 | Clifton Park NY 12065, USA



More information about the vtkusers mailing list