Message: Re: problem installing and registering visualisation graphics systems Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: problem installing and registering visualisation graphics systems 

Forum: Installation and Configuration
Re: Sad problem installing and registering visualisation graphics systems (Faiz Lotfy)
Date: 26 Apr, 2012
From: Ben Morgan <Ben Morgan>

On Wed, 25 Apr 2012 19:16:44 GMT, Faiz Lotfy wrote:
> I also have used different set of configurations; the simplest was:
> cmake -DCMAKE_INSTALL_PREFIX=/opt/G4 -DGEANT4_INSTALL_DATA=ON
> -DCLHEP_ROOT_DIR=/usr/local/lib/clhep ~/g4
> 
> And the full one:
> 
> cmake -DCMAKE_INSTALL_PREFIX=/opt/Geant4 -DGEANT4_INSTALL_DATA=ON
> -DXERCESC_ROOT_DIR=/usr/local/xerces-c-3/ -DGEANT4_USE_QT=ON
> -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_RAYTRACER_X11=ON
> -DGEANT4_USE_XM=ON -DCLHEP_ROOT_DIR=/usr/local/lib/clhep ~/g4

The second one is needed to enable the visualization drivers. Provided the configuration with CMake runs without error and when you do the build there are no errors, then you should have a working install of Geant4.

> All of them compiled well, to the best I know, and once I finish compiling geant4.9.5.p1 and try the eamples (of course I needed to compile geant4.9.5.p1/source/ for some granular library complain) I am always offended with this message (I am trying example N02):
> You have successfully registered the following graphics systems.
> Current available graphics systems are:
>   ASCIITree (ATree)
>   DAWNFILE (DAWNFILE)
>   G4HepRep (HepRepXML)
>   G4HepRepFile (HepRepFile)
>   RayTracer (RayTracer)
>   VRML1FILE (VRML1FILE)
>   VRML2FILE (VRML2FILE)
>   gMocrenFile (gMocrenFile)

How are you building your application? With CMake or with the Geant4 GNUmakefile system? In the former case, example N02 should just work, provided you are pointing it to your actuall install of 9.5.p01. In the case of the GNUmakefiles, have you sourced the geant4make.(c)sh file? It looks like your environment may be missing should needed variables to activate the required drivers when building the application. If you have sourced that script, what G4... variables are in your environment and what are their values?

Cheers,

Ben.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: problem installing and registering visualisation graphics systems   (Faiz Lotfy - 26 Apr, 2012)
(_ None: Re: problem installing and registering visualisation graphics systems   (Faiz Lotfy - 26 Apr, 2012)
(_ None: Re: problem installing and registering visualisation graphics systems   (Faiz Lotfy - 26 Apr, 2012)
(_ Note: Re: problem installing and registering visualisation graphics systems   (Ben Morgan - 27 Apr, 2012)
1 Question: Re: problem installing and registering visualisation graphics systems   (Faiz Lotfy - 27 Apr, 2012)
1 Note: Re: problem installing and registering visualisation graphics systems   (Ben Morgan - 30 Apr, 2012)
2 None: Re: problem installing and registering visualisation graphics systems   (Faiz Lotfy - 28 Apr, 2012)
 Add Message Add Message
to: "Re: problem installing and registering visualisation graphics systems"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]