[vtkusers] [VTK] VTK 8.0.0rc1 build errors

Manuel Alejandro Castro Fuentes mafuentes at uclv.cu
Mon May 29 20:52:40 EDT 2017


Hi.
I'm building the release candidate of VTK 8.0.0 to test it in:
- Windows 10 x64
- with Visual Studio 2015
- and Qt 5.8
- Wrapping for Python 3.5

The Build process ended with: Build: 315 succeeded, 5 failed, 0 
up-to-date, 2 skipped
The changes of default CMake config and the lines of the build log that 
contained the errors I append them below, there are other lines refering 
to LINK errors with .lib files but I guess that happens as result of 
this ones failing to build.

Also, I built VTK 7.1.0 with no issues against that same configuration. 
I hope this can be helpful for the developer team.

Best regards,
Manuel

-----------------------------------------------------
CMake -> Show my changes
-----------------------------------------------------
Commandline options:
-DVTK_PYTHON_VERSION:STRING="3.5" 
-DQT_QMAKE_EXECUTABLE:FILEPATH="C:/Libraries/Builds/Qt5.8.0/5.8/winrt_x64_msvc2015/bin/qmake.exe" 
-DVTK_QT_VERSION:STRING="5" -DVTK_Group_Qt:BOOL="1" 
-DVTK_WRAP_PYTHON:BOOL="1" 
-DQt5_DIR:PATH="C:/Libraries/Builds/Qt5.8.0/5.8/winrt_x64_msvc2015/lib/cmake/Qt5" 


Cache file:
VTK_PYTHON_VERSION:STRING=3.5
QT_QMAKE_EXECUTABLE:FILEPATH=C:/Libraries/Builds/Qt5.8.0/5.8/winrt_x64_msvc2015/bin/qmake.exe
VTK_QT_VERSION:STRING=5
VTK_Group_Qt:BOOL=1
VTK_WRAP_PYTHON:BOOL=1
Qt5_DIR:PATH=C:/Libraries/Builds/Qt5.8.0/5.8/winrt_x64_msvc2015/lib/cmake/Qt5

-----------------------------------------------------
Visual Studio 2015 -> Build log
-----------------------------------------------------
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(341): 
error C2065: 'GL_RENDERBUFFER_SAMPLES': undeclared identifier
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(460): 
error C2065: 'QOpenGLFunctions_3_2_Core': undeclared identifier
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(460): 
error C2065: 'f': undeclared identifier
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(461): 
error C2065: 'QOpenGLFunctions_3_2_Core': undeclared identifier
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(461): 
error C2974: 'QOpenGLContext::versionFunctions': invalid template 
argument for 'TYPE', type expected
124> 
c:\libraries\builds\qt5.8.0\5.8\winrt_x64_msvc2015\include\qtgui\qopenglcontext.h(193): 
note: see declaration of 'QOpenGLContext::versionFunctions'
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(462): 
error C2065: 'f': undeclared identifier
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(464): 
error C2065: 'f': undeclared identifier
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(464): 
error C2227: left of '->glBindFramebuffer' must point to 
class/struct/union/generic type
124> D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(464): 
note: type is 'unknown-type'
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(464): 
error C2065: 'GL_DRAW_FRAMEBUFFER': undeclared identifier
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(465): 
error C2065: 'f': undeclared identifier
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(465): 
error C2227: left of '->glDrawBuffer' must point to 
class/struct/union/generic type
124> D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(465): 
note: type is 'unknown-type'
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(467): 
error C2065: 'f': undeclared identifier
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(467): 
error C2227: left of '->glBindFramebuffer' must point to 
class/struct/union/generic type
124> D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(467): 
note: type is 'unknown-type'
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(467): 
error C2065: 'GL_READ_FRAMEBUFFER': undeclared identifier
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(468): 
error C2065: 'f': undeclared identifier
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(468): 
error C2227: left of '->glReadBuffer' must point to 
class/struct/union/generic type
124> D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(468): 
note: type is 'unknown-type'
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(469): 
error C2065: 'f': undeclared identifier
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(469): 
error C2227: left of '->glDisable' must point to 
class/struct/union/generic type
124> D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(469): 
note: type is 'unknown-type'
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(470): 
error C2065: 'f': undeclared identifier
124>D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(470): 
error C2227: left of '->glBlitFramebuffer' must point to 
class/struct/union/generic type
124> D:\Sources\VTK-8.0.0.rc1\GUISupport\Qt\QVTKOpenGLWidget.cxx(470): 
note: type is 'unknown-type'



More information about the vtkusers mailing list