[vtk-developers] Transitive patch issue?
Wylie, Brian
bnwylie at sandia.gov
Fri Jul 31 15:21:34 EDT 2009
Stating the obvious perhaps...
Adding opengl32.lib to the vtkParallel link line seems to makes everything hunky dory.
Build info:
WinXP, Visual Studio 2005, Building ParaView3 (which forces VTK_USE_PARALLEL=ON), BUILD_SHARED_LIBS = ON, PARAVIEW_USE_MPI = ON
Brian Wylie - Org 1424
Sandia National Laboratories
MS 1323 - Building CSRI/242
(505)844-2238 FAX(505)284-2518
_______ __
/_ __(_) /_____ _____
/ / / / __/ __ `/ __ \
/ / / / /_/ /_/ / / / /
/_/ /_/\__/\__,_/_/ /_/
Informatics Toolkit
-----Original Message-----
From: vtk-developers-bounces at vtk.org [mailto:vtk-developers-bounces at vtk.org] On Behalf Of Wylie, Brian
Sent: Friday, July 31, 2009 1:09 PM
To: Dave Partyka
Cc: VTK Developers
Subject: Re: [vtk-developers] Transitive patch issue?
All,
Updated (2 minutes ago) and still get the following...
Build started: Project: vtkParallel, Configuration: Debug Win32 ------
Linking...
Creating library C:\Work\ParaView3_shared\bin\Debug\vtkParallel.lib and object C:\Work\ParaView3_shared\bin\Debug\vtkParallel.exp
vtkCompositeRGBAPass.obj : error LNK2019: unresolved external symbol __imp__glReadPixels at 28 referenced in function "public: virtual void __thiscall vtkCompositeRGBAPass::Render(class vtkRenderState const *)" (?Render at vtkCompositeRGBAPass@@UAEXPBVvtkRenderState@@@Z)
vtkCompositeZPass.obj : error LNK2001: unresolved external symbol __imp__glReadPixels at 28
vtkCompositeRGBAPass.obj : error LNK2019: unresolved external symbol __imp__glPopAttrib at 0 referenced in function "public: virtual void __thiscall vtkCompositeRGBAPass::Render(class vtkRenderState const *)" (?Render at vtkCompositeRGBAPass@@UAEXPBVvtkRenderState@@@Z)
vtkCompositeZPass.obj : error LNK2001: unresolved external symbol __imp__glPopAttrib at 0
vtkCompositeRGBAPass.obj : error LNK2019: unresolved external symbol __imp__glPixelStorei at 8 referenced in function "public: virtual void __thiscall vtkCompositeRGBAPass::Render(class vtkRenderState const *)" (?Render at vtkCompositeRGBAPass@@UAEXPBVvtkRenderState@@@Z)
vtkCompositeZPass.obj : error LNK2001: unresolved external symbol __imp__glPixelStorei at 8
vtkCompositeRGBAPass.obj : error LNK2019: unresolved external symbol __imp__glTexEnvi at 12 referenced in function "public: virtual void __thiscall vtkCompositeRGBAPass::Render(class vtkRenderState const *)" (?Render at vtkCompositeRGBAPass@@UAEXPBVvtkRenderState@@@Z)
vtkCompositeRGBAPass.obj : error LNK2019: unresolved external symbol __imp__glEnable at 4 referenced in function "public: virtual void __thiscall vtkCompositeRGBAPass::Render(class vtkRenderState const *)" (?Render at vtkCompositeRGBAPass@@UAEXPBVvtkRenderState@@@Z)
vtkCompositeZPass.obj : error LNK2001: unresolved external symbol __imp__glEnable at 4
vtkCompositeRGBAPass.obj : error LNK2019: unresolved external symbol __imp__glDisable at 4 referenced in function "public: virtual void __thiscall vtkCompositeRGBAPass::Render(class vtkRenderState const *)" (?Render at vtkCompositeRGBAPass@@UAEXPBVvtkRenderState@@@Z)
vtkCompositeRGBAPass.obj : error LNK2019: unresolved external symbol __imp__glColorMask at 16 referenced in function "public: virtual void __thiscall vtkCompositeRGBAPass::Render(class vtkRenderState const *)" (?Render at vtkCompositeRGBAPass@@UAEXPBVvtkRenderState@@@Z)
vtkCompositeZPass.obj : error LNK2001: unresolved external symbol __imp__glColorMask at 16
vtkCompositeRGBAPass.obj : error LNK2019: unresolved external symbol __imp__glPushAttrib at 4 referenced in function "public: virtual void __thiscall vtkCompositeRGBAPass::Render(class vtkRenderState const *)" (?Render at vtkCompositeRGBAPass@@UAEXPBVvtkRenderState@@@Z)
vtkCompositeZPass.obj : error LNK2001: unresolved external symbol __imp__glPushAttrib at 4
vtkCompositeZPass.obj : error LNK2019: unresolved external symbol __imp__glDepthFunc at 4 referenced in function "public: virtual void __thiscall vtkCompositeZPass::Render(class vtkRenderState const *)" (?Render at vtkCompositeZPass@@UAEXPBVvtkRenderState@@@Z)
vtkCompositeZPass.obj : error LNK2019: unresolved external symbol __imp__glDepthMask at 4 referenced in function "public: virtual void __thiscall vtkCompositeZPass::Render(class vtkRenderState const *)" (?Render at vtkCompositeZPass@@UAEXPBVvtkRenderState@@@Z)
C:\Work\ParaView3_shared\bin\Debug\vtkParallel.dll : fatal error LNK1120: 10 unresolved externals
Brian Wylie - Org 1424
Sandia National Laboratories
MS 1323 - Building CSRI/242
(505)844-2238 FAX(505)284-2518
_______ __
/_ __(_) /_____ _____
/ / / / __/ __ `/ __ \
/ / / / /_/ /_/ / / / /
/_/ /_/\__/\__,_/_/ /_/
Informatics Toolkit
________________________________
From: Dave Partyka [mailto:dave.partyka at kitware.com]
Sent: Friday, July 31, 2009 12:58 PM
To: Wylie, Brian
Cc: VTK Developers
Subject: Re: [vtk-developers] Transitive patch issue?
This is probably related to Mathieu's link interface changes. We just checked in a fix for vtksys and gl link errors. Do an update and see if our fix addresses your problem too.
On Fri, Jul 31, 2009 at 2:52 PM, Wylie, Brian <bnwylie at sandia.gov> wrote:
All,
I'm getting some odd mpi and opengl linking errors...so...
1) Either I've somehow messed up my mpi/opengl environment
2) Or the transitive patch has done something...
Anyone else having issues?
Brian Wylie - Org 1424
Sandia National Laboratories
MS 1323 - Building CSRI/242
(505)844-2238 FAX(505)284-2518
_______ __
/_ __(_) /_____ _____
/ / / / __/ __ `/ __ \
/ / / / /_/ /_/ / / / /
/_/ /_/\__/\__,_/_/ /_/
Informatics Toolkit
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtk-developers
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtk-developers
More information about the vtk-developers
mailing list