Opened 10 years ago
Last modified 10 years ago
#375 new Enhancement
CMake for Delphes for root version 5.34.20 — at Initial Version
Reported by: | michele de gruttola | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Delphes miscellaneous | Version: | Delphes 3 |
Keywords: | Cc: |
Description
Hi,
I was trying to build delphes (3.2.0) with cmake following the tickets
https://cp3.irmp.ucl.ac.be/projects/delphes/ticket/313
what I did is
mkdir build
cd build
export PATH=/afs/cern.ch/sw/lcg/contrib/CMake/2.8.9/Linux-i386/bin:${PATH}
source /afs/cern.ch/sw/lcg/external/gcc/4.8.1/x86_64-slc6/setup.sh
source /afs/cern.ch/exp/fcc/sw/0.2/ROOT/5.34.19/x86_64-slc6-gcc48-dbg/bin/thisroot.sh
cmake -DCMAKE_INSTALL_PREFIX:PATH=../install ../sources
where in source there is the plain Delphes3.2.0 which as hfar as I understand conttains already the opatches provided by Benedikt.
but at make level I get the error
make
[ 6%] Built target classes
[ 10%] Built target display
[ 10%] Generating ModulesDict.cxx, ModulesDict.h
Error: /afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.20/x86_64-slc6-gcc48-opt/root/bin/rootcint: /afs/cern.ch/work/d/degrutto/private/FCC-EDM/fcc-edm/delphes/modules/FastJetLinkDef.h must be last file on command line
make[2]: * [modules/ModulesDict.cxx] Error 1
make[1]: * [modules/CMakeFiles/modules.dir/all] Error 2
make: * [all] Error 2
I see maybe the last version is intended to work in root 6,
but how can I get the build with root version 5.34.20
thanks,
Michele