New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while compiling software that uses ROOT libraries #103
Comments
I'd suggest using the CMake configuration instead of the Makefile as it's more likely to do things correctly. The steps below work for me:
conda create --name test-delphes-build root cmake
conda activate test-delphes-build
MY_DIRECTORY="$HOME/Development"
cd "${MY_DIRECTORY}"
git clone git@github.com:delphes/delphes.git
cd delphes/
mkdir build
cd build/
cmake -DCMAKE_INSTALL_PREFIX="${MY_DIRECTORY}/delphes-install" ..
make -j6
make -j6 install
cd "${MY_DIRECTORY}"
wget http://cp3.irmp.ucl.ac.be/downloads/z_ee.hep.gz
gunzip z_ee.hep.gz
delphes-install/bin/DelphesSTDHEP delphes-install/cards/delphes_card_CMS.tcl delphes_output.root z_ee.hep |
Thank you for your suggestion. I tried it but it crashes again when running
This is the error message:
Any suggestion is welcome. |
Ah sorry I'd missed that your were running on macOS. The issue is One of the C++ standard library headers #include <__config>
#include <version>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
#endif At some point during the build delphes passes I'm going to close this as it's a bug in the delphes build system. I encourage you to open an issue there pointing them to this comment. In the meantime, it seems to work if you just delete the |
Issue:
I tried to install a software (Delphes) that uses ROOT libraries but it crashes. If I use a non-conda version of ROOT (i.e., building using make) then there is no issue. One of the error messages I get is the following:
Environment (
conda list
):Details about
conda
and system (conda info
):The text was updated successfully, but these errors were encountered: