Open certik opened 9 years ago
Does it work if you turn of TK with -D VTK_USE_TK:BOOL=OFF
as in #561?
With this patch:
diff --git a/pkgs/vtk/vtk.yaml b/pkgs/vtk/vtk.yaml
index 3abb284..d4cfb54 100644
--- a/pkgs/vtk/vtk.yaml
+++ b/pkgs/vtk/vtk.yaml
@@ -47,7 +47,7 @@ build_stages:
- '-D BUILD_EXAMPLES:BOOL=OFF'
- '-D BUILD_SHARED_LIBS:BOOL=ON'
- '-D VTK_WRAP_PYTHON:BOOL=ON'
- - '-D VTK_USE_TK:BOOL=ON'
+ - '-D VTK_USE_TK:BOOL=OFF'
- '-D VTK_WRAP_TCL:BOOL=OFF'
- '-D VTK_USE_GL2PS:BOOL=ON'
- '-D VTK_PYTHON_SETUP_ARGS:STRING="--prefix=. --root=${ARTIFACT} --single-
it goes further. Then it fails with https://gist.github.com/certik/273b8c966809ad77d9f6, which is unrelated.
So it looks like the vtk package that you maintained never worked for me. However, this one worked for me: https://github.com/hashdist/hashstack-old/blob/master/vtkConfig/bash_script.linux, as you can see, I properly set the opengl stuff so that it works.
Perhaps we can add it as an optional feature to use osmesa, that installs everywhere. And the user can then set this in the profile. (Because it's better to use the fast hardware accelerated drivers if available.)
I agree, it would be good to have this as an option.
This (missing OpenGL) seems to be an issue on Ubuntu-MATE 15.04 as well.
with missing TK...