[vtkusers] VTK 7.1 error "Shader failed to compile" with GPU Volume rendering and clipping planes

Simon ESNEAULT simon.esneault at gmail.com
Wed Mar 8 04:35:26 EST 2017


Hello,

After the migration to VTK 7.1, we get a crash in the shader program (it
can't be build) when trying to use clipping planes on GPU volume rendering
mapper

The error is :
Error:      ERROR: In
C:\Dev\ES-Externals\superbuild\VTK\src\Rendering\OpenGL2\vtkShaderProgram.cxx,
line 395
vtkShaderProgram (000001FEBFB646D0): 0(474) : error C1038: declaration of
"temp" conflicts with previous declaration at 0(426)

it appears the variable Vec4 temp is declared twice...

Here is the full log
https://paste.ee/p/FsdWx

On Windows 10, VTK is built in 64 bits with Visual Studio 2013 along with
Qt 5.3.2 and other libraries.

Ring a bell to anyone ?

Thanks
Simon

-- 
------------------------------------------------------------------
Simon Esneault
Rennes, France
------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170308/13af7524/attachment.html>


More information about the vtkusers mailing list