| Summary: | Build instructions don't work for examples. | ||
|---|---|---|---|
| Product: | Examples/Basic and Novice | Reporter: | Matt Bettencourt <mattb> |
| Component: | B1 | Assignee: | Ivana Hrivnacova <ivana> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | ||
| Priority: | P4 | ||
| Version: | 11.1 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Matt Bettencourt
2023-09-06 09:03:59 CEST
Hello, Thank you for reporting this. The location of the cmake files in Geant4 installation has changed in Geant4 11.1, see the Relese Notes (https://geant4.web.cern.ch/download/release-notes/notes-v11.1.0.html): 3. Items for migration of the user code ... - Using standard install location for CMake find_package configuration files under $CMAKE_INSTALL_PREFIX/lib/cmake/Geant4. - Application builds using CMake will need to set Geant4_DIR to this new location, or use CMAKE_PREFIX_PATH, to find Geant4. Please, use mattb@0cb28a7-lcedt:~/Geant4/install/share/Geant4/examples/basic/B1/build$ cmake -DGeant4_DIR=/home/mattb/Geant4/install/lib/cmake/Geant4/ .. We will fix this information in the examples documentation. The documentation is fixed now. |