|Message: Compiling AnaEx02 with ROOT using Cmake||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Hi there, I am having trouble compiling the AnaEx02 example, specifically using CMake where it fails to find the ROOT package. My ROOTSYS directory is linked correctly (I'm 99% sure), the root-config file is located in the proper bin directory, and the FindROOT.cmake files located in both the ROOT and Geant4 source code seem to be set up properly.
I've looked through old threads asking for help on the same issue, but all of the threads are from several years ago, where it seems that the most recent releases of ROOT and GEANT4 have integrated the solutions provided in those threads. (I've also tried solutions relating to changing CMakeParseArguments code, changing include directories, etc but either nothing changes or things get far worse.)
I'm hesitant to change the source code in any significant way since it seems like this is an issue that must have been rectified by now, and the included Geant4 examples should just work as long as I have everything installed, linked, and sourced properly. So I believe the problem is most likely on my end in some way that I'm not aware of.
Does anyone have any suggestions for how I might go about fixing this? (Or maybe linking me to a previous thread that I might have missed.) Sorry for being somewhat vague here, I can provide more specifics if necessary. (I'm also on a Mac if that makes any difference.)
|Inline Depth:||Outline Depth:||Add message:|