[vtk-developers] Compiling VTK with ANGLE

Patrick Bergeron pbergeron at spiria.com
Wed May 8 16:51:29 EDT 2019

Hey folks,

I am trying to compile VTK with ANGLE on Windows.  (for those who don't know, ANGLE is a GLESv2 and GLESv3 front-end over DirectX).

And I am using VTK in a Qt app.

Since Qt already ships with ANGLE (dll, import library, headers, everything I need), I am trying to use this library (libglesv2.lib) instead of the native opengl32.lib, which loads the native OpenGL driver DLL.

However, I am hitting problems everywhere.

Doing research on the topic, it appears that someone successfully managed - sort of - to get this going in 2017.


Alas, the suggested patch file to the cmake files no longer seems relevant.

Also, as as late, there seems to be new difficulties with doing this, although the post below is with Linux.


Has anyone successfully done this before?

Here are my cmake settings:


   OPENGL_opengl_LIBRARY=libGLESv2     (added variable)

   OPENGL_gles3_LIBRARY=libGLESv2  (added variable)

   OPENGL_GLES3_INCLUDE_DIR=C:\Qt\Qt5.11.0\5.11.0\msvc2015_64\include\QtANGLE   (added variable)





Thanks everyone!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20190508/34467e8a/attachment.html>

More information about the vtk-developers mailing list