Hi, I am trying to build ParaView-Superbuild from scratch. I want to install two plugins, (i) superquadrics to render and visualize sphero cylinders [MercuryDPM: Visualising Superquadrics in Paraview], and (ii) I want to enable Virtual Reality using OpenVR (note that OpenXR lost support last year, 2024).
Before even doing anything of this fancy build, I tried the default build to see how far I can get with my Ubuntu 24.04.2 LTS. Well, I generate the MakeFile but it fails to build. Let me share the error that pops out.
CMake Error at /home/ar-valdez/anaconda3/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find X11 (missing: X11_X11_LIB) Call Stack (most recent call first): /home/ar-valdez/anaconda3/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) VTK/CMake/patches/99/FindX11.cmake:665 (find_package_handle_standard_args) VTK/ThirdParty/glad/vtkglad/CMakeLists.txt:51 (find_package) -- Configuring incomplete, errors occurred! CMake Error at /home/ar-valdez/paraview-superbuild/build/superbuild/sb-paraview-configure.cmake:48 (message): Failed with exit code 1
The curious fact is that I DO have installed that X11 library… libx11-dev is already the newest version (2:1.8.7-1build1). libx11-dev set to manually installed.
Is anyone facing this problem too? All help and comments are welcome…
Can you try configuring superbuild/paraview/build with --debug-find? I suspect that Anaconda might not be searching the system by default. Possible solutions (in no particular order):
download a separate CMake and use it (running .gitlab/ci/cmake.sh from the top of the repo will drop a suitable one to .gitlab/cmake/bin/cmake)
Well, what can I say. I “deactivated conda” conda deactivate The mistake persists after generating the makefile…and hitting make -j10… Sorry this should be for @mwestphal… What can I do, beyond deactivating conda? Thank you.-
Hi Thanks for the response. I did your advice the terminal output is kind long to paste it here. Should I be looking for anything in particular? I can send it by email if you want to check the log…
That’s the output of the superbuild’s configure. The output of ParaView’s configure with the extra debugging is required (this is where X11 is searched for).
I suppose you could also stick a find_package(X11) in the superbuild’s cmake and configure with it and --find-debug…probably a lot less noise there.