Closed Tuoxu0315 closed 6 months ago
Hi @Tuoxu0315, the C2_function
files are not my own but are Geant4 source code files bundled here for convenience. I suggest checking out more up-to-date releases of Geant4 to see if they've updated those files.
wow,thanks a lot
wow,thanks a lot
Hi @Tuoxu0315, because it's hard to discern sarcasm over text, and because you seem new here, and because I acknowledge my answer wasn't very helpful, and because you seem interested in a field close to my heart, let me offer some additional thoughts:
C2_function
files really do not need to be part of this repo. I added them here because (if I recall correctly) something was weird with the #include
paths on my system and I couldn't include them from their intended location in the source tree. If you're going to be using G4NRF, I'm guessing you already have a working, more modern Geant4 installation with C++17-compatible C2_function
files. You may be able to #include
them properly, or you may need to copy them into your project include/
directory like I did.Hope that helps!
Sorry for the misunderstandingļ¼I have just joined in this field so dont learn a lot. I will try your advice and try to solve this problem.3Q
Dear sir,my g++'s default version is up to C++17 and found that in C2_function.hh/.icc,most lines included "throw()" will cause the make process to crash. Could you pls update the package to avoid such a thing?My great appreciation!