|Message: Re: OpenGL in 4.9.5 [Continued from Visualization forum]||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)|
You will definitely need to update to the cmake build system properly or your simulation won't run correctly (though, as you have discovered, it might run). First, remove "GNUmakefile" from your build directory if it is there (that is part of the old build system and will only confuse things). Then modify cmakelists.txt (more on that in a moment). Then run cmake as per the instructions you found. That should create a file called Makefile in your build directory. In the terminal, navigate to that directory, then run "make".
I am attaching the text of the basic CMakeLists below. I will put things you will potentially need to change in [[ ]] with some comments to help you.
I am also going to repost this in the Installation and Configuration section, since it turns out that is what your issue is. Please post further replies there.
Hope this helps, Joel
On Wed, 25 Jul 2012 20:31:03 GMT, Bethany wrote:
> Hi Joel, Great, glad not to have to figure out why Geant can't find > OpenGL things. How to get it to use it seems preferable. :) > > I will try modifying the example to see if I can get some insight into > different visualization options in there. > > I sort of updated my program to the cmake build system. I happened to > find some instructions for running the examples, and wondered whether I > needed to do a similar thing with my simulation now. I didn't find any > confirmation on that, but tried it anyways...I added a CMakeLists.txt > file (perhaps not quite the actual name) and tried to compile with that. > I'm not quite sure I'm running correctly with that, though it seems to > work. I'm fairly confused about the instructions for building my code > with cmake. Do I have to do this instead of just typing make in my > primary directory for my simulation? Do I have to do anything else to > update this? I don't know anything about cmake except what I find in the > Geant instructions. > > Thanks so much for your help! I feel like I smell success sometime > soonish...I hope...! :) > > ~Bethany
|Inline Depth:||Outline Depth:||Add message:|