[CMake] Integrating ROOT into Geant4 application

R0b0t1 r030t1 at gmail.com
Sun Dec 10 16:15:06 EST 2017


On Fri, Dec 8, 2017 at 3:44 PM, Dim, Odera U <Odera_Dim at student.uml.edu> wrote:
> Hi,
>
>
> Thank you for your prompt response. I found downloading 7zip the easier
> route to get the files into a .tar format which would enable them to be sent
> to you. One question which I did not address which you asked is where I
> accesses the Geant4 and ROOT. I downloaded both CERN website and installed
> them on a remote Unix cluster which I have access to. I followed the
> prescribed installation process which is available on the CERN website.
> Although, I have Genat4 complied for Multi-threading I do not use the
> feature yet because my application is still undergoing many modifications. I
> will send the previous email I sent when the initial file got bounced by
> your email server. Cheers.
>

Did you download binaries? If you built the packages from source, how
did you build it? Which options are enabled? Which OS are you using,
and what is the version of your compiler?

I really do need to know all of these things. Look at the type of
information requested in the bug reports below. Further, the people I
know that use ROOT/Geant4 are often forced to target a specific set of
dependencies with specific options enabled simply because ROOT/Geant4
and programs which link against them are very fragile. ROOT is not
"properly" packaged for most distributions, so I'm going to need to
compile it myself, and I need to make sure it matches what you have.

I found some discussions about your issue, which you have likely found:
1) https://github.com/JuliaLang/julia/issues/12644
2) https://root-forum.cern.ch/t/tfile-llvm-symbols-exposed/17816
3) https://github.com/ALLPix/allpix/issues/14
4) https://root-forum.cern.ch/t/llvm-symbols-are-exposed-to-cling-problem/20889/5
6) https://bugs.freedesktop.org/show_bug.cgi?id=93103

It's starting to sound like it will be a good idea to get the
attention of the ROOT developers, and they will want the same
information I am asking you for. Sadly this might leave you waiting.

Something you might want to do on your own (or you can send it to the
list) is to look at the Makefile generated by CMake, and check to make
sure that Cling is not linked in. If it is this is likely an issue
with FindROOT.cmake. If it's not, you can try using a Makefile.

Cheers,
     R0b0t1


More information about the CMake mailing list