|Message: Using Geant4 libraries in Eclipse||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)|
I am a technical student at CERN, and I am using a Geant4 installation on a common server ($G4INSTALL = /afs/cern.ch/sw/lcg/external/geant4/9.0/share if anyone is familiar with the system). I have used a script to initialize all environment variables etc, and I am able to compile and run several of the examples (examples with makefiles on the /afs/cern.ch/.... server).
However, I have no idea as to how I can use the precompiled libraries if I want to write a program myself. Preferably, I would like to use Eclipse to write, compile and run Geant4 programs. To run a basic program like this example: http://geant4.web.cern.ch/geant4/G4UsersDocuments/UsersGuides/ForApplicationDeveloper/html/GettingStarted/mainProgram.html#2.1.1 I am unable to include the source files (#include "G4RunManager.hh" and the like).
Could anyone help me on this? Any help would be appreciated. System info:
Eclipse 3.3 with CDT (C/C++ Dev. Tools)
Linux i686 2.6.9-55.0.6.EL.cernsmp (AFS: i386_linux26)
Scientific Linux CERN SLC release 4.5 (Beryllium)
$G4INSTALL = /afs/cern.ch/sw/lcg/external/geant4/9.0/share (i.e. Geant4.9.0)
$CLHEP_BASE_DIR = /afs/cern.ch/sw/lcg/external/clhep/188.8.131.52/slc4_ia32_gcc34 (i.e. CLHEP 184.108.40.206)
g++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6-8)
|Inline Depth:||Outline Depth:||Add message:|