lkpdirect.blogg.se

Install xerces for mac
Install xerces for mac





install xerces for mac

  • cmake -DCMAKE_INSTALL_PREFIX=/Users/protopop/DD4hep -DDD4HEP_WITH_GEANT4=on -DGeant4_DIR=/Users/protopop/DD4hep/Geant4/lib/Geant4-9.5.2 -DDD4HEP_USE_XERCESC=ON -DXERCESC_ROOT_DIR=/Users/protopop/DD4hep/xercesc.
  • export DYLD_LIBRARY_PATH=/Users/protopop/DD4hep/pcre/lib:/opt/local/lib.
  • export CLHEP_BASE_DIR="/Users/protopop/DD4hep/chlep_x86_64-mac106-gcc42-opt.
  • source /Users/protopop/DD4hep/Geant4/bin/geant4.sh.
  • source /Users/protopop/DD4hep/root-v5-34-00-patches/bin/thisroot.sh.
  • edit DDG4/src/Geant4UIManager.cpp and change line 55 to ui = new G4UIExecutive(1,(char**)args) //,m_sessionType.c_str()).
  • export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/opt/local/lib.
  • get openssl via macports with 'sudo port install openssl’.
  • export DYLD_LIBRARY_PATH=/Users/protopop/DD4hep/pcre/lib.
  • install xerces for mac

    make install prefix=/Users/protopop/DD4hep/pcre.Īnd find out that root requires libpcre.dylib. cmake -DCMAKE_INSTALL_PREFIX=/Users/protopop/DD4hep/Geant4 -DGEANT4_USE_GDML=ON -DXERCESC_INCLUDE_DIR=/Users/protopop/DD4hep/xercesc/include -DXERCESC_LIBRARY=/Users/protopop/DD4hep/xercesc/lib/libxerces-c.dylib.configure (after editing ac_default_prefix install path in the script itself) export PATH=$PATH:/Users/protopop/DD4hep/cmake-2.8.12.2/bin.bootstrap -prefix=/Users/protopop/DD4hep Would be great if this could have been done simpler, but after a lot of frustrating trial and error I collected this list of must do’s: ILCSoft is required and did not install on a Mac.Downloaded root binary needs libpcre.dylib.







    Install xerces for mac