I am trying to compile it from conda environment(for Qt5) but it throws several warning, e.g
runtime library [libexpat.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/pranto/miniconda3/envs/geant4/lib
runtime library [libfreetype.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/pranto/miniconda3/envs/geant4/lib
runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/pranto/miniconda3/envs/geant4/lib
although those libraries are found on root file which actually I want
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.2.9")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found XercesC: /usr/lib/x86_64-linux-gnu/libxerces-c.so (found version "3.2.3")
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so (found version "2.10.2")
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
I have also tried to install run time library into my conda environment
Thanks for the cmake options and the conda install EVERYTHING_needed. It helps me a lot. Then a remark to say that I had an old conda installation. It was not possible to install this even after creating the “geant4” environment with python3.9. I had to re-install a fresh anaconda to be able to compile Geant4 10.7.p01. Apart from these everything went fine. It could help others. On more recent machine a conda update was sufficient before creating the geant4 environment, but not for “too old” anaconda installation (like started at python3.7 and updated not regularly).