Message: Re: Error when compiling Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: Error when compiling  

Forum: Installation and Configuration
Re: Question Error when compiling "G4OpenGLXViewer.cc" (Oscar Larsson)
Re: None Re: Error when compiling (John Allison)
Date: 22 Sep, 2008
From: Oscar Larsson <Oscar Larsson>

Hi

Thank you for your ideas. I went back an checked and for some reason MesaGL hadn't been installed correctly. After reinstalling it I seemed to get it to run. However, when running a G4simulation the OpenGL window didn't contain any geometry, only tracks from the interacting particles.

I googled the problem and found that this phenomena could occur if my graphics drivers weren't up to date. So I installed the latest drivers for my ATI Radeon Graphics HD 2400 xt from ATIs home page.

After having installed this driver I got the following errors when compiling my G4 source code:

Compiling testvolume.cc ...

Using granular libraries ...

Linking testvolume ...

/home/Nasa/cern/Mesa-7.1/lib/libGL.so: undefined reference to `drmCloseOnce'

/home/Nasa/cern/Mesa-7.1/lib/libGL.so: undefined reference to `XDamageAdd'

/home/Nasa/cern/Mesa-7.1/lib/libGL.so: undefined reference to `drmOpenOnce'

collect2: ld returned end status 1

make: *** [/home/Nasa/g4work/bin/Linux-g++/testvolume] Error 1

Any new helpful thoughts??

And yes, I have an up to date version of libdrm installed (libdrm.2.3.1)

/Oscar

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

1 None: Re: Error when compiling   (Paul Nicholas Colin Gloster - 22 Sep, 2008)
 Add Message Add Message
to: "Re: Error when compiling "

 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 ]