Error building ip6 with ACTS 20.1.0
DraTeots opened this issue · comments
Dmitry Romanov commented
Environment: (where does this bug occur, have you tried other environments)
-
Which branch (
main
for latest released):
main/master -
Which revision (
HEAD
for the most recent):
HEAD at 533d83a
- Any specific OS or system where the issue occurs?
Linux romanov-bbox 5.15.0-46-generic #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
- Any special versions of ROOT or Geant4?
acts:
* /home/romanov/eic/soft/acts/acts-v20.1.0 (owned)
catch2:
* /home/romanov/eic/soft/catch2/catch2-v3.1.0 (owned)
clhep:
* /home/romanov/eic/soft/clhep/clhep-CLHEP_2_4_5_3 (owned)
dd4hep:
* /home/romanov/eic/soft/dd4hep/dd4hep-v01-21 (owned)
detector:
edm4hep:
* /home/romanov/eic/soft/edm4hep/edm4hep-v00-06 (owned)
eicd:
* /home/romanov/eic/soft/eicd/eicd-v2.0.0 (owned)
eicrecon:
eigen3:
* /home/romanov/eic/soft/eigen3/eigen3-3.4.0 (owned)
geant4:
* /home/romanov/eic/soft/geant4/geant4-v11.0.2 (owned)
hepmc3:
* /home/romanov/eic/soft/hepmc3/hepmc3-3.2.5 (owned)
ip6:
* /home/romanov/eic/soft/ip6/ip6-master (owned)
jana2:
* /home/romanov/eic/soft/jana2/jana2-v2.0.7 (owned)
podio:
* /home/romanov/eic/soft/podio/podio-v00-15 (owned)
root:
* /home/romanov/eic/soft/root/root-v6-26-04 (owned)
Steps to reproduce: (give a step by step account of how to trigger the bug)
cmake -DCMAKE_INSTALL_PREFIX=/home/romanov/eic/soft/detector/main/compiled/ip6 -DCMAKE_CXX_STANDARD=17 /home/romanov/eic/soft/detector/main/ip6&& cmake --build . -- -j 28&& cmake --build . --target install
Expected Result: (what do you expect when you execute the steps above)
ip6 is installed
Actual Result: (what do you get when you execute the steps above)
cmake -DCMAKE_INSTALL_PREFIX=/home/romanov/eic/soft/detector/main/compiled/ip6 -DCMAKE_CXX_STANDARD=17 /home/romanov/eic/soft/detector/main/ip6&& cmake --build . -- -j 28&& cmake --build . --target install
-- Including DD4hepBuild.cmake
-- DD4hep uses Geant4
-- |++> Using python executable: /usr/bin/python3.8
-- |++> DD4hep: Looking for Components: DDCoreDDRecDDG4
-- Found DD4hep: /home/romanov/eic/soft/dd4hep/dd4hep-v01-21
CMake Warning at CMakeLists.txt:51 (find_package):
By not providing "FindActsDD4hep.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"ActsDD4hep", but CMake did not find one.
Could not find a package configuration file provided by "ActsDD4hep" with
any of the following names:
ActsDD4hepConfig.cmake
actsdd4hep-config.cmake
Add the installation prefix of "ActsDD4hep" to CMAKE_PREFIX_PATH or set
"ActsDD4hep_DIR" to a directory containing one of the above files. If
"ActsDD4hep" provides a separate development package or SDK, be sure it has
been installed.
-- found Acts version 20.1.0 commit be36226fb
-- DD4hep uses Geant4
-- |++> Using python executable: /usr/bin/python3.8
-- Found DD4hep: /home/romanov/eic/soft/dd4hep/dd4hep-v01-21 (Required is exact version "1.21")
-- loading components:
-- Core
-- PluginIdentification
-- PluginJson
-- PluginTGeo
-- PluginDD4hep
-- |++> dd4hep_configure_output: set CMAKE_INSTALL_PREFIX to /home/romanov/eic/soft/detector/main/compiled/ip6
-- |++> Building Plugin: ip6
-- Configuring done
-- Generating done
-- Build files have been written to: /home/romanov/eic/soft/detector/main/ip6/cmake-build-debug
[ 4%] Building CXX object CMakeFiles/ip6.dir/src/B0Preshower_geo.cpp.o
[ 8%] Building CXX object CMakeFiles/ip6.dir/src/B0Tracker_geo.cpp.o
[ 13%] Building CXX object CMakeFiles/ip6.dir/src/IP6BeamPipe.cpp.o
[ 17%] Building CXX object CMakeFiles/ip6.dir/src/OffMomentumTracker_geo.cpp.o
/home/romanov/eic/soft/detector/main/ip6/src/OffMomentumTracker_geo.cpp:9:10: fatal error: Acts/Plugins/DD4hep/ActsExtension.hpp: No such file or directory
9 | #include "Acts/Plugins/DD4hep/ActsExtension.hpp"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/ip6.dir/build.make:219: CMakeFiles/ip6.dir/src/OffMomentumTracker_geo.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/romanov/eic/soft/detector/main/ip6/src/IP6BeamPipe.cpp:17:10: fatal error: Acts/Plugins/DD4hep/ActsExtension.hpp: No such file or directory
17 | #include "Acts/Plugins/DD4hep/ActsExtension.hpp"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/ip6.dir/build.make:206: CMakeFiles/ip6.dir/src/IP6BeamPipe.cpp.o] Error 1
/home/romanov/eic/soft/detector/main/ip6/src/B0Preshower_geo.cpp:7:10: fatal error: Acts/Plugins/DD4hep/ActsExtension.hpp: No such file or directory
7 | #include "Acts/Plugins/DD4hep/ActsExtension.hpp"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/ip6.dir/build.make:63: CMakeFiles/ip6.dir/src/B0Preshower_geo.cpp.o] Error 1
/home/romanov/eic/soft/detector/main/ip6/src/B0Tracker_geo.cpp:14:10: fatal error: Acts/Plugins/DD4hep/ActsExtension.hpp: No such file or directory
14 | #include "Acts/Plugins/DD4hep/ActsExtension.hpp"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/ip6.dir/build.make:76: CMakeFiles/ip6.dir/src/B0Tracker_geo.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/ip6.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Execution done. Return code = 2
There is no ActsDD4Hep package (what is this?) but there is DD4Hep ACTS plugin. "Acts/Plugins/DD4hep/" directory has the next files:
ls /home/romanov/eic/soft/acts/acts-v20.1.0/include/Acts/Plugins/DD4hep/
ConvertDD4hepDetector.hpp
ConvertDD4hepMaterial.hpp
DD4hepConversionHelpers.hpp
DD4hepDetectorElement.hpp
DD4hepLayerBuilder.hpp
DD4hepVolumeBuilder.hpp
Dmitry Romanov commented
Is it at least this https://github.com/acts-project/acts-dd4hep ?
Dmitry Romanov commented
Build after installing the above link acts-dd4hep. Probably might be closed now.