I am trying to package our application into an Anaconda package. Our application uses Vtk 9.2.6 and due to some conflicts between VTK, ITK, Qt6, and JepgTurbo we need to build VTK as part of the packaging process. We are able to successfully build on Windows and MacOS (x64 and ARM64). The issue I am having on my Ubuntu 22.04 system is the following configure error.
-- Could NOT find OpenGL (missing: OPENGL_glx_LIBRARY)
CMake Error at CMake/vtkModule.cmake:4578 (message):
Could not find the OpenGL external dependency.
Call Stack (most recent call first):
CMake/vtkModule.cmake:5172 (vtk_module_find_package)
Utilities/OpenGL/CMakeLists.txt:58 (vtk_module_third_party_external)
I am running on a Intel 13Gen with integrated graphics (Core i5-1350P I think). When I look at the “Settings” in Ubuntu it says my Graphics are “llvmpipe (LLVM 12.0.0, 256 bits)”. I have tried installing the various “opengl-dev” libraries from Mesa but have no luck. Note that I can build VTK without any issues out side of the conda-build environment.
Has anyone seen anything like this or have any suggestions?
Thanks
Mike Jackson