-
Notifications
You must be signed in to change notification settings - Fork 99
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
DD4hep fails to build with latest Geant4 11 ( 10.7.ref9) #881
Comments
thanks @MarkusFrankATcernch , I am testing the latest DD4hep now |
@smuzaffar Thanks. If this PR solves your problem, please close the issue so that we can forget about it. :-) |
@MarkusFrankATcernch , we still have more build errors [a]. Can youplease also provide a fix for this
|
@smuzaffar These fixes are a bit difficult, because I cannot really compile this myself. |
We are using gent4 11 beta ( https://github.com/cms-externals/geant4/blob/cms/v10.7ref09/CMakeLists.txt#L31 ) . 10.7.ref09 is internal cms name to not confuse the branch with official geant4 11 future release. |
and I see that signature of this function has changed e.g. |
@smuzaffar This is bizarre....
Something looks inconsistent between the G4 website and you snapshot. |
@smuzaffar , @MarkusFrankATcernch , candidate version for 11.0 is available in ~vnivanch/public/geant4.11.0/ Difficulty of migration 10.7 -> 11.0 is in general clean-up of Geant4 interfaces for the next major release. |
thanks @civanch , I have pushed the new ~vnivanch/public/geant4.11.0/ here https://github.com/cms-externals/geant4/tree/cms/v10.7ref09 but I see that https://github.com/cms-externals/geant4/blob/cms/v10.7ref09/source/materials/include/G4MaterialPropertiesTable.hh#L138 still has
so I think we will still get the error I mentioned #881 (comment) |
In the History of Geant4 modifications the author mention that second bool parameter of this method is removed because user should not ask for non-existing property. Instead there is a new method allowing to check if the property exist. Candidate version of Geant4, which I provide above includes all interface modifications, which will be in the new Geant4 11.0. So, can be used to prepare DD4hep code to be compliant with the new Geant4. |
@MarkusFrankATcernch , I see that in DD4hep code |
@smuzaffar I will implement something along your suggestion. |
@smuzaffar I provided a fix to your problem. Please see #884 . |
We are trying to build/test new Geant4 11 ( 10.7.Ref9) version for CMS offline software ( cms-sw/cmsdist#7436 ) but looks like currently DD4Hep does not support/build with it. We are getting the compilation errors 9 see below).
see the full buil log at https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b6c16f/20363/external/dd4hep/v01-18x-b0ba8d9db156bba37a2d9b5cfd320054/log or https://muzaffar.web.cern.ch/dd4hep-geant11.txt
The text was updated successfully, but these errors were encountered: