Just a bad idea from me, Mathieu ! I went back to the master branch today and try to build Paraview. I would like to have pvserver and the paraview client on this server, even if it has no GPU, because I will use it for a workshop session outside of the lab in a few weeks. I ran:
cmake3 \
-DCMAKE_INSTALL_PREFIX=/opt/paraview/GCC7/v5.7 \
-DENABLE_ffmpeg=ON \
-DENABLE_fortran=ON \
-DENABLE_llvm=ON \
-DENABLE_mpi=ON \
-DENABLE_netcdf=OFF \
-DENABLE_osmesa=OFF \
-DENABLE_png=ON \
-DENABLE_xdmf3=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DUSE_SYSTEM_mpi=ON \
-DUSE_SYSTEM_python3=ON \
-DENABLE_python3=ON \
-DENABLE_mesa=ON \
-DENABLE_qt5=ON \
…/paraview-superbuild
and all seams to run fine for the requiered libs. But building Paraview goes in error with:
gmake[5]: Entering directory
/robin/data/begou/PARAVIEW/build/superbuild/paraview/build' //usr/lib64/libSM.so.6: undefined reference to
uuid_generate@UUID_1.0’
//usr/lib64/libSM.so.6: undefined reference touuid_unparse_lower@UUID_1.0' collect2: error: ld returned 1 exit status gmake[5]: *** [bin/pvrenderserver] Error 1 gmake[5]: Leaving directory
/robin/data/begou/PARAVIEW/build/superbuild/paraview/build’
gmake[4]: *** [CommandLineExecutables/CMakeFiles/pvrenderserver.dir/all] Error 2
I saw the thread PV-compilation problems with libSM and uuid but it did not help me solving this new problem.