[vtk-developers] Transitive patch issue?

Dave Partyka dave.partyka at kitware.com
Fri Jul 31 17:12:30 EDT 2009


Try again please :-/

On Fri, Jul 31, 2009 at 3:54 PM, Dave Partyka <dave.partyka at kitware.com>wrote:

> Joy. I was only building VTK, I see it has it's tentacles in  ParaView too.
>
>
> On Fri, Jul 31, 2009 at 3:47 PM, Wylie, Brian <bnwylie at sandia.gov> wrote:
>
>> So when I said hunky dory, my compile was only half way through...
>>
>> Some compile errors went away... many did not... These errors still remain
>> even after updating Party D's patch...
>>
>>
>> Error 14 fatal error LNK1120: 10 unresolved externals
>> C:\Work\ParaView3_shared\bin\Debug\CSCS_PointSprite_Rendering.dll
>> Error 46 fatal error LNK1120: 1 unresolved externals
>> C:\Work\ParaView3_shared\bin\Debug\GenericCommunicator.exe 1
>> Error 45 error LNK2019: unresolved external symbol _MPI_Init referenced in
>> function _main GenericCommunicator.obj
>> Error 37 error LNK2019: unresolved external symbol _MPI_Init referenced in
>> function _main MPIController.obj
>> Error 43 error LNK2019: unresolved external symbol _MPI_Init referenced in
>> function _main ParallelIso.obj
>> Error 44 fatal error LNK1120: 1 unresolved externals
>> C:\Work\ParaView3_shared\bin\Debug\ParallelIsoTest.exe 1
>> Error 16 fatal error LNK1120: 1 unresolved externals
>> C:\Work\ParaView3_shared\bin\Debug\pvtkpython.exe 1
>> Error 42 fatal error LNK1120: 1 unresolved externals
>> C:\Work\ParaView3_shared\bin\Debug\TestDistributedDataCompositeZPass.exe 1
>> Error 41 error LNK2019: unresolved external symbol _MPI_Init referenced in
>> function _main TestDistributedDataCompositeZPass.obj
>> Error 40 fatal error LNK1120: 1 unresolved externals
>> C:\Work\ParaView3_shared\bin\Debug\TestDistributedDataShadowMapPass.exe 1
>> Error 39 error LNK2019: unresolved external symbol _MPI_Init referenced in
>> function _main TestDistributedDataShadowMapPass.obj
>> Error 38 fatal error LNK1120: 1 unresolved externals
>> C:\Work\ParaView3_shared\bin\Debug\TestMPIController.exe 1
>> Error 32 fatal error LNK1120: 1 unresolved externals
>> C:\Work\ParaView3_shared\bin\Debug\TestParallelKMeansStatisticsMPI.exe 1
>> Error 31 error LNK2019: unresolved external symbol _MPI_Attr_get
>> referenced in function _main TestParallelKMeansStatisticsMPI.obj
>> Error 30 fatal error LNK1120: 1 unresolved externals
>> C:\Work\ParaView3_shared\bin\Debug\TestParallelRandomStatisticsMPI.exe 1
>> Error 29 error LNK2019: unresolved external symbol _MPI_Attr_get
>> referenced in function _main TestParallelRandomStatisticsMPI.obj
>> Error 36 fatal error LNK1120: 1 unresolved externals
>> C:\Work\ParaView3_shared\bin\Debug\TestPCompositeZPass.exe 1
>> Error 35 error LNK2019: unresolved external symbol _MPI_Init referenced in
>> function _main TestPCompositeZPass.obj
>> Error 28 fatal error LNK1120: 1 unresolved externals
>> C:\Work\ParaView3_shared\bin\Debug\TestProcess.exe 1
>> Error 27 error LNK2019: unresolved external symbol _MPI_Init referenced in
>> function _main TestProcess.obj
>> Error 34 fatal error LNK1120: 1 unresolved externals
>> C:\Work\ParaView3_shared\bin\Debug\TestPShadowMapPass.exe 1
>> Error 33 error LNK2019: unresolved external symbol _MPI_Init referenced in
>> function _main TestPShadowMapPass.obj
>> Error 26 fatal error LNK1120: 1 unresolved externals
>> C:\Work\ParaView3_shared\bin\Debug\TestRandomPContingencyStatisticsMPI.exe 1
>> Error 25 error LNK2019: unresolved external symbol _MPI_Attr_get
>> referenced in function _main TestRandomPContingencyStatisticsMPI.obj
>> Error 24 fatal error LNK1120: 1 unresolved externals
>> C:\Work\ParaView3_shared\bin\Debug\TransmitImageData.exe 1
>> Error 23 error LNK2019: unresolved external symbol _MPI_Init referenced in
>> function _main TransmitImageData.obj
>> Error 22 fatal error LNK1120: 1 unresolved externals
>> C:\Work\ParaView3_shared\bin\Debug\TransmitImageDataRenderPass.exe 1
>> Error 21 error LNK2019: unresolved external symbol _MPI_Init referenced in
>> function _main TransmitImageDataRenderPass.obj
>> Error 20 fatal error LNK1120: 1 unresolved externals
>> C:\Work\ParaView3_shared\bin\Debug\TransmitRectilinearGrid.exe 1
>> Error 19 error LNK2019: unresolved external symbol _MPI_Init referenced in
>> function _main TransmitRectilinearGrid.obj
>> Error 18 fatal error LNK1120: 1 unresolved externals
>> C:\Work\ParaView3_shared\bin\Debug\TransmitStructuredGrid.exe 1
>> Error 17 error LNK2019: unresolved external symbol _MPI_Init referenced in
>> function _main TransmitStructuredGrid.obj
>> Error 15 error LNK2019: unresolved external symbol _MPI_Init referenced in
>> function "public: void __thiscall vtkMPICleanup::Initialize(int *,char * *
>> *)" (?Initialize at vtkMPICleanup@@QAEXPAHPAPAPAD at Z)
>> vtkParaPythonAppInit.obj
>> Error 2 error LNK2001: unresolved external symbol __imp__glPopAttrib at 0vtkPointSpriteProperty.obj
>> Error 5 error LNK2001: unresolved external symbol __imp__glPushAttrib at 4vtkPointSpriteProperty.obj
>> Error 7 error LNK2001: unresolved external symbol __imp__glEnable at 4vtkPointSpriteProperty.obj
>> Error 10 error LNK2019: unresolved external symbol __imp__glTexEnvi at 12referenced in function "public: virtual void __thiscall
>> vtkPointSpriteProperty::Render(class vtkActor *,class vtkRenderer *)"
>> (?Render at vtkPointSpriteProperty@@UAEXPAVvtkActor@@PAVvtkRenderer@@@Z)
>> vtkPointSpriteProperty.obj
>> Error 11 error LNK2019: unresolved external symbol __imp__glAlphaFunc at 8referenced in function "public: virtual void __thiscall
>> vtkPointSpriteProperty::Render(class vtkActor *,class vtkRenderer *)"
>> (?Render at vtkPointSpriteProperty@@UAEXPAVvtkActor@@PAVvtkRenderer@@@Z)
>> vtkPointSpriteProperty.obj
>> Error 12 error LNK2019: unresolved external symbol __imp__glTexEnvf at 12referenced in function "public: virtual void __thiscall
>> vtkPointSpriteProperty::Render(class vtkActor *,class vtkRenderer *)"
>> (?Render at vtkPointSpriteProperty@@UAEXPAVvtkActor@@PAVvtkRenderer@@@Z)
>> vtkPointSpriteProperty.obj
>> Error 13 error LNK2019: unresolved external symbol __imp__glGetFloatv at 8referenced in function "public: virtual void __thiscall
>> vtkPointSpriteProperty::Render(class vtkActor *,class vtkRenderer *)"
>> (?Render at vtkPointSpriteProperty@@UAEXPAVvtkActor@@PAVvtkRenderer@@@Z)
>> vtkPointSpriteProperty.obj
>> Error 1 error LNK2019: unresolved external symbol __imp__glPopAttrib at 0referenced in function "protected: void __thiscall
>> vtkTwoScalarsToColorsPainter::RenderInternals(class vtkRenderer *,class
>> vtkActor *,unsigned long,bool)"
>> (?RenderInternals at vtkTwoScalarsToColorsPainter@@IAEXPAVvtkRenderer@
>> @PAVvtkActor@@K_N at Z) vtkTwoScalarsToColorsPainter.obj
>> Error 3 error LNK2019: unresolved external symbol __imp__glBlendFunc at 8referenced in function "protected: void __thiscall
>> vtkTwoScalarsToColorsPainter::RenderInternals(class vtkRenderer *,class
>> vtkActor *,unsigned long,bool)"
>> (?RenderInternals at vtkTwoScalarsToColorsPainter@@IAEXPAVvtkRenderer@
>> @PAVvtkActor@@K_N at Z) vtkTwoScalarsToColorsPainter.obj
>> Error 4 error LNK2019: unresolved external symbol __imp__glPushAttrib at 4referenced in function "protected: void __thiscall
>> vtkTwoScalarsToColorsPainter::RenderInternals(class vtkRenderer *,class
>> vtkActor *,unsigned long,bool)"
>> (?RenderInternals at vtkTwoScalarsToColorsPainter@@IAEXPAVvtkRenderer@
>> @PAVvtkActor@@K_N at Z) vtkTwoScalarsToColorsPainter.obj
>> Error 6 error LNK2019: unresolved external symbol __imp__glEnable at 4referenced in function "protected: void __thiscall
>> vtkTwoScalarsToColorsPainter::RenderInternals(class vtkRenderer *,class
>> vtkActor *,unsigned long,bool)"
>> (?RenderInternals at vtkTwoScalarsToColorsPainter@@IAEXPAVvtkRenderer@
>> @PAVvtkActor@@K_N at Z) vtkTwoScalarsToColorsPainter.obj
>> Error 8 error LNK2019: unresolved external symbol __imp__glColorMaterial at 8referenced in function "protected: void __thiscall
>> vtkTwoScalarsToColorsPainter::RenderInternals(class vtkRenderer *,class
>> vtkActor *,unsigned long,bool)"
>> (?RenderInternals at vtkTwoScalarsToColorsPainter@@IAEXPAVvtkRenderer@
>> @PAVvtkActor@@K_N at Z) vtkTwoScalarsToColorsPainter.obj
>> Error 9 error LNK2019: unresolved external symbol __imp__glDisable at 4referenced in function "protected: void __thiscall
>> vtkTwoScalarsToColorsPainter::RenderInternals(class vtkRenderer *,class
>> vtkActor *,unsigned long,bool)"
>> (?RenderInternals at vtkTwoScalarsToColorsPainter@@IAEXPAVvtkRenderer@
>> @PAVvtkActor@@K_N at Z) vtkTwoScalarsToColorsPainter.obj
>>
>>
>>
>>  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 1:26 PM
>> To: Wylie, Brian
>> Cc: VTK Developers
>> Subject: Re: [vtk-developers] Transitive patch issue?
>>
>>
>> Yes, I just fixed it. Update and let me know if anything else is broken.
>>
>>
>> On Fri, Jul 31, 2009 at 3:21 PM, Wylie, Brian <bnwylie at sandia.gov> wrote:
>>
>>
>>        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
>>
>>
>>
>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20090731/c192f23e/attachment.html>


More information about the vtk-developers mailing list