MantisBT - ParaView
View Issue Details
0008857ParaView(No Category)public2009-04-06 17:592010-11-16 17:49
Sven Buijssen 
David Partyka 
normalminoralways
closedfixed 
 
3.83.10 
0008857: ParaView does not compile with -DVTK_USE_GLSL_SHADERS:BOOL=OFF
Since revision 1.2 of
VTK/Rendering/Testing/Cxx/TestGaussianBlurPass.cxx and
revision 1.3 of VTK/Rendering/Testing/Cxx/TestGenericVertexAttributesGLSLAlphaBlending.cxx
ParaView does not compile any more with the cmake setting
-DVTK_USE_GLSL_SHADERS:BOOL=OFF.

A fresh checkout plus
% cmake ../ParaView3 -DCMAKE_BUILD_TYPE:STRING=Release -DVTK_USE_GLSL_SHADERS:BOOL=OFF
% make
results in
[implicit command: cd ..../VTK/Rendering/Testing/Cxx && ..../cmake -E cmake_link_script CMakeFiles/RenderingCxxTests.dir/link.txt --verbose=]
Undefined first referenced
 symbol in file
MesaHasVTKBug8135() CMakeFiles/RenderingCxxTests.dir/TestGaussianBlurPass.o
ld: fatal: Symbol referencing errors. No output written to ../../../../bin/RenderingCxxTests
collect2: ld returned 1 exit status
Clues:
The function MesaHasVTKBug8135 is defined in ./VTK/Rendering/Testing/Cxx/TestGenericVertexAttributesGLSLAlphaBlending.cxx, which is not part of the source list of bin/RenderingCxxTests in case of -DVTK_USE_GLSL_SHADERS:BOOL=OFF
No tags attached.
patch 0001-BUG-Fix-for-bug-8857-compile-with-VTK_USE_GLSL_SHADE.patch (3,397) 2010-08-15 07:29
https://www.vtk.org/Bug/file/8317/0001-BUG-Fix-for-bug-8857-compile-with-VTK_USE_GLSL_SHADE.patch
Issue History
2009-04-06 17:59Sven BuijssenNew Issue
2009-04-07 10:25Ken MorelandCategory3.6 => 3.8
2009-05-13 13:39Utkarsh AyachitTarget Version => 3.8
2010-08-15 07:29Sven BuijssenFile Added: 0001-BUG-Fix-for-bug-8857-compile-with-VTK_USE_GLSL_SHADE.patch
2010-08-15 07:30Sven BuijssenNote Added: 0021754
2010-11-11 08:31David PartykaStatusbacklog => tabled
2010-11-11 08:31David PartykaAssigned To => David Partyka
2010-11-16 09:55David PartykaNote Added: 0023285
2010-11-16 09:55David PartykaStatustabled => @80@
2010-11-16 09:55David PartykaFixed in Version => 3.10
2010-11-16 09:55David PartykaResolutionopen => fixed
2010-11-16 17:49Alan ScottNote Added: 0023311
2010-11-16 17:49Alan ScottStatus@80@ => closed
2011-06-16 13:10Zack GalbreathCategory => (No Category)

Notes
(0021754)
Sven Buijssen   
2010-08-15 07:30   
Suggested patch attached. Tested with -DVTK_USE_GLSL_SHADERS:BOOL=ON and -DVTK_USE_GLSL_SHADERS:BOOL=OFF on Linux 64 bit.
(0023285)
David Partyka   
2010-11-16 09:55   
Thanks for the patch Sven! It is applied and verified!
(0023311)
Alan Scott   
2010-11-16 17:49   
Trusting Dave's testing.