CMake Error at CMake/vtkModuleTop.cmake:376 (add_library):
Target "vtkOpenGL" links to target "EGL::EGL" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
Call Stack (most recent call first):
CMakeLists.txt:510 (include)
I've tried to change VTK version to 8.2.0 by editing vtkVersion.py and CMakeLists.txt and manage to successfully build the wheel. But after the package installation with pip I can only import vtk, no modules. For instance, vtk.vtkVersion is not found.
I'm building in a ubuntu 18.04 docker environment.
Any pointers are appreciated, I'm out of my depth on this :smile:
Hi,
I want to use mayavi for EGL offscreen rendering and therefore need to build a VTK python wheel with EGL support.
I execute the build with
and get the error:
I've tried to change VTK version to 8.2.0 by editing
vtkVersion.py
andCMakeLists.txt
and manage to successfully build the wheel. But after the package installation with pip I can only importvtk
, no modules. For instance,vtk.vtkVersion
is not found.I'm building in a ubuntu 18.04 docker environment. Any pointers are appreciated, I'm out of my depth on this :smile: