Hello, I’m trying to install Geant4, unfortunately I tried more times but everytime, It just compile 16 packets and not compile 20.
I use Geant for Windows and I’m compiling by using visual studio express 2017.
Here the logs.
CMAKE
-
`
``During the configuration I got this log:
Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.17134.
The C compiler identification is MSVC 19.16.27031.1
The CXX compiler identification is MSVC 19.16.27031.1
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/WDExpress/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/WDExpress/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe – works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Detecting C compile features
Detecting C compile features - done
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/WDExpress/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/WDExpress/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe – works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Looking for dlfcn.h
Looking for dlfcn.h - not found
Looking for fcntl.h
Looking for fcntl.h - found
Looking for inttypes.h
Looking for inttypes.h - found
Looking for memory.h
Looking for memory.h - found
Looking for stdint.h
Looking for stdint.h - found
Looking for stdlib.h
Looking for stdlib.h - found
Looking for strings.h
Looking for strings.h - not found
Looking for string.h
Looking for string.h - found
Looking for sys/stat.h
Looking for sys/stat.h - found
Looking for sys/types.h
Looking for sys/types.h - found
Looking for unistd.h
Looking for unistd.h - not found
Looking for getpagesize
Looking for getpagesize - not found
Looking for bcopy
Looking for bcopy - not found
Looking for memmove
Looking for memmove - found
Looking for mmap
Looking for mmap - not found
Looking for 4 include files stdlib.h, …, float.h
Looking for 4 include files stdlib.h, …, float.h - found
Check if the system is big endian
Searching 16 bit integer
Looking for stddef.h
Looking for stddef.h - found
Check size of unsigned short
Check size of unsigned short - done
Using unsigned short
Check if the system is big endian - little endian
Looking for off_t
Looking for off_t - not found
Looking for size_t
Looking for size_t - not found
Check size of off64_t
Check size of off64_t - failed
Looking for fseeko
Looking for fseeko - not found
Looking for unistd.h
Looking for unistd.h - not found
Pre-configuring dataset G4NDL (4.5)
Pre-configuring dataset G4EMLOW (7.7)
Pre-configuring dataset PhotonEvaporation (5.3)
Pre-configuring dataset RadioactiveDecay (5.3)
Pre-configuring dataset G4PARTICLEXS (1.1)
Pre-configuring dataset G4PII (1.3)
Pre-configuring dataset RealSurface (2.1.1)
Pre-configuring dataset G4SAIDDATA (2.0)
Pre-configuring dataset G4ABLA (3.1)
Pre-configuring dataset G4INCL (1.0)
Pre-configuring dataset G4ENSDFSTATE (2.2)
WARNING
Geant4 has been pre-configured to look for datasets
in the directory:C:/Program Files (x86)/Geant4/share/Geant4-10.5.1/data but the following datasets are NOT present on disk at that location: G4NDL (4.5) G4EMLOW (7.7) PhotonEvaporation (5.3) RadioactiveDecay (5.3) G4PARTICLEXS (1.1) G4PII (1.3) RealSurface (2.1.1) G4SAIDDATA (2.0) G4ABLA (3.1) G4INCL (1.0) G4ENSDFSTATE (2.2) If you want to have these datasets installed automatically simply re-run cmake and set the GEANT4_INSTALL_DATA variable to ON. This will configure the build to download and install these datasets for you. For example, on the command line, do: cmake -DGEANT4_INSTALL_DATA=ON <otherargs> The variable can also be toggled in ccmake or cmake-gui. If you're running on a Windows system, this is the best solution as CMake will unpack the datasets for you without any further software being required Alternatively, you can install these datasets manually now or after you have installed Geant4. To do this, download the following files: https://cern.ch/geant4-data/datasets/G4NDL.4.5.tar.gz https://cern.ch/geant4-data/datasets/G4EMLOW.7.7.tar.gz https://cern.ch/geant4-data/datasets/G4PhotonEvaporation.5.3.tar.gz https://cern.ch/geant4-data/datasets/G4RadioactiveDecay.5.3.tar.gz https://cern.ch/geant4-data/datasets/G4PARTICLEXS.1.1.tar.gz https://cern.ch/geant4-data/datasets/G4PII.1.3.tar.gz https://cern.ch/geant4-data/datasets/G4RealSurface.2.1.1.tar.gz https://cern.ch/geant4-data/datasets/G4SAIDDATA.2.0.tar.gz https://cern.ch/geant4-data/datasets/G4ABLA.3.1.tar.gz https://cern.ch/geant4-data/datasets/G4INCL.1.0.tar.gz https://cern.ch/geant4-data/datasets/G4ENSDFSTATE.2.2.tar.gz and unpack them under the directory: C:/Program Files (x86)/Geant4/share/Geant4-10.5.1/data As we supply the datasets packed in gzipped tar files, you will need the 'tar' utility to unpack them. Nota bene: Missing datasets will not affect or break compilation and installation of the Geant4 libraries. The following Geant4 features are enabled: GEANT4_BUILD_CXXSTD: Compiling against C++ Standard '11' Configuring done`
then I setted in this way:
then I clicked again the “Configure” button and I got this log
Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.17134.
Found OpenGL: opengl32
Pre-configuring dataset G4NDL (4.5)
Pre-configuring dataset G4EMLOW (7.7)
Pre-configuring dataset PhotonEvaporation (5.3)
Pre-configuring dataset RadioactiveDecay (5.3)
Pre-configuring dataset G4PARTICLEXS (1.1)
Pre-configuring dataset G4PII (1.3)
Pre-configuring dataset RealSurface (2.1.1)
Pre-configuring dataset G4SAIDDATA (2.0)
Pre-configuring dataset G4ABLA (3.1)
Pre-configuring dataset G4INCL (1.0)
Pre-configuring dataset G4ENSDFSTATE (2.2)
*WARNING*
Geant4 has been pre-configured to look for datasets
in the directory:
C:/Program Files/geant4_10_05_p01_bin-install/share/Geant4-10.5.1/data
but the following datasets are NOT present on disk at
that location:
G4NDL (4.5)
G4EMLOW (7.7)
PhotonEvaporation (5.3)
RadioactiveDecay (5.3)
G4PARTICLEXS (1.1)
G4PII (1.3)
RealSurface (2.1.1)
G4SAIDDATA (2.0)
G4ABLA (3.1)
G4INCL (1.0)
G4ENSDFSTATE (2.2)
If you want to have these datasets installed automatically
simply re-run cmake and set the GEANT4_INSTALL_DATA
variable to ON. This will configure the build to download
and install these datasets for you. For example, on the
command line, do:
cmake -DGEANT4_INSTALL_DATA=ON <otherargs>
The variable can also be toggled in ccmake or cmake-gui.
If you're running on a Windows system, this is the best
solution as CMake will unpack the datasets for you
without any further software being required
Alternatively, you can install these datasets manually
now or after you have installed Geant4. To do this,
download the following files:
https://cern.ch/geant4-data/datasets/G4NDL.4.5.tar.gz
https://cern.ch/geant4-data/datasets/G4EMLOW.7.7.tar.gz
https://cern.ch/geant4-data/datasets/G4PhotonEvaporation.5.3.tar.gz
https://cern.ch/geant4-data/datasets/G4RadioactiveDecay.5.3.tar.gz
https://cern.ch/geant4-data/datasets/G4PARTICLEXS.1.1.tar.gz
https://cern.ch/geant4-data/datasets/G4PII.1.3.tar.gz
https://cern.ch/geant4-data/datasets/G4RealSurface.2.1.1.tar.gz
https://cern.ch/geant4-data/datasets/G4SAIDDATA.2.0.tar.gz
https://cern.ch/geant4-data/datasets/G4ABLA.3.1.tar.gz
https://cern.ch/geant4-data/datasets/G4INCL.1.0.tar.gz
https://cern.ch/geant4-data/datasets/G4ENSDFSTATE.2.2.tar.gz
and unpack them under the directory:
C:/Program Files/geant4_10_05_p01_bin-install/share/Geant4-10.5.1/data
As we supply the datasets packed in gzipped tar files,
you will need the 'tar' utility to unpack them.
Nota bene: Missing datasets will not affect or break
compilation and installation of the Geant4
libraries.
The following Geant4 features are enabled:
GEANT4_BUILD_CXXSTD: Compiling against C++ Standard '11'
GEANT4_USE_OPENGL_WIN32: Build OpenGL driver with Win32 support
Configuring done
I clicked on “Generate” button and I got
Configuring done
Generating done
- VISUAL STUDIO
Opening the Geant4.sln file, I get 40 projects then I compile the “Install” project
at the end, It just compile 16 and can’t compile 20
Here the full log
log.txt (1.3 MB)