| Message: Re: DAWN INSTALLATION | Not Logged In (login) |
On Mon, 30 Mar 2009 06:29:35 GMT, Ritika Garg wrote:
> I want to view a detector geometry which is a simple box.In the Geant4 > User's Guide for Application Developers, the example N01 is the example > that is given for the above.Do I need to install DAWN to view the > geometry? > > I have Mesa installed on the system. > > Also is the following command correct to check if Dawn is installed on > the system: > > rpm -qa | grep DAWN >
DAWN is not packaged like an rpm. It is an application that is installed according to instructions on the DAWN web page, as I said last time. The application is called "dawn". As I said last time, it is unlikely to have been installed, but you can search for it with the "find" command, e.g: find /usr -name dawn If you have Mesa, then you can use it instead of or as well as DAWN. Mesa is an OpenGL emulator. When running Geant4's "./Configure -build", you should give the location of the include files and libraries of Mesa when it asks about OpenGL. Alternatively, you may set environment variables, as suggested in config/architecture.gmk:
# ---------------- OpenGL -------------------- # The user can define his own values of OGLFLAGS and OGLLIBS. # OGLFLAGS gives the directory containing include files. # E.g.: OGLFLAGS := -I$(OGLHOME)/include # OGLLIBS gives the libraries. # E.g.: OGLLIBS := -L$(OGLHOME)/lib -lGLU -lGL # Or : OGLLIBS := -L$(OGLHOME)/lib -lMesaGLU -lMesaGL # OGLHOME is often /usr or /usr/local. In such case, it is not necessary # to specify the path in OGLFLAGS, since added already by default by the # compiler. OGLHOME can also point to a special installation. # If the user does not set his/her own values, system-dependent values # are set below. Most system-dependent code assumes OGLHOME is set. Please consult the Geant4 Installation Guide for how to install Geant4 and the Application Developers Guide for how to run an application.
|
| Inline Depth: | Outline Depth: | Add message: |
|
to: |