Tell please, what means that error and how solve it ?
CMake Error at /home/maxwell/Документы/GEANT4/geant4-v11.1.1-install/lib/cmake/Geant4/Geant4PackageCache.cmake:19 (geant4_set_and_check_package_variable):
geant4_set_and_check_package_variable Macro invoked with incorrect
arguments for macro named: geant4_set_and_check_package_variable
Call Stack (most recent call first):
/home/maxwell/Документы/GEANT4/geant4-v11.1.1-install/lib/cmake/Geant4/Geant4Config.cmake:254 (include)
CMakeLists.txt:13 (find_package)
_Geant4 Version:_v11.1.1
_Operating System:_Ubuntu 23.10.1
_Compiler/Version:_gcc 13.2.0
_CMake Version:_3.27.4
It says environment problem.
meaning
source path2Geant4installtion/bin/geant4.sh
is not set.
Are you able to run any basic example ?
VRS
No, this problem emerge during installation of package.
Are you able to run any basic example ?
No, because I can’t install the GEANT4
IIRC, there was a bug in the generation of Geant4PackageCache.cmake in older versions. Simply remove the file /home/maxwell/Документы/GEANT4/geant4-v11.1.1-install/lib/cmake/Geant4/Geant4PackageCache.cmake and try reconfiguring after that.
system
Closed
November 7, 2024, 4:01pm
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.