Closed gdevenyi closed 7 years ago
I believe the following CMAKE flag is the culprit:
-DVTK_RENDERING_BACKEND=OpenGL
VTK 7.0 changed to a new OpenGL2 backend by default, but it looks like the conda-forge build here has specified the older OPENGL backend. I am not sure if that was an oversight or intentional. @Korijn?
That was intentional, as suggested by one of the VTK devs. The idea was that more people would be able to run on the old backend than on the new one.
I also ran into a possibly related problem while trying to package mayavi: conda-forge/staged-recipes#1581
Is there perhaps there a way to provide packages for both options (e.g. via a separate vtk-opengl2 package?)
There's a way via build features in conda to have an alternate version http://conda.pydata.org/docs/building/meta-yaml.html#id1
Feel free to open a PR, or explain your proposed solution in more detail so someone else can pick it up.
I recently chimed in at https://github.com/conda/conda/issues/3299 to mention our use case.
Trying to build a package against vtk-7.0.0 from conda-forge: