Dear Friends,
I installed Geant4 and root as an anaconda environments on ubuntu 23.10.
Now I am trying to configure one project on geant4 and I guess it can not find root?
I am sending an error too
CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument value or use a … suffix to tell
CMake that the project does not need compatibility with older versions.
– The C compiler identification is GNU 13.2.0
– The CXX compiler identification is GNU 13.2.0
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /usr/bin/cc - skipped
– Detecting C compile features
– Detecting C compile features - done
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: /usr/bin/c++ - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
– Performing Test COMPILER_SUPPORTS_CXX11
– Performing Test COMPILER_SUPPORTS_CXX11 - Success
– Performing Test COMPILER_SUPPORTS_CXX0X
– Performing Test COMPILER_SUPPORTS_CXX0X - Success
– Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found suitable version “2.5.0”, minimum required is “2.5.0”)
– Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version “1.2.13”, minimum required is “1.2.13”)
– Performing Test CMAKE_HAVE_LIBC_PTHREAD
– Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
– Found Threads: TRUE
CMake Error at /usr/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Failed to find XercesC (missing: XercesC_LIBRARY XercesC_INCLUDE_DIR
XercesC_VERSION) (Required is at least version “3.2.4”)
Call Stack (most recent call first):
/usr/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.27/Modules/FindXercesC.cmake:112 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
/usr/share/cmake-3.27/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
/home/user/anaconda3/envs/GEANT4/lib/cmake/Geant4/Geant4Config.cmake:311 (find_dependency)
CMakeLists.txt:31 (find_package)
– Configuring incomplete, errors occurred!
(GEANT4) user@user-ThinkBook-15-G4-IAP:~/patientsimulation/simulation/Dicom_build$
so, what can I do?