Message: The problem with OPENGLXM Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question The problem with OPENGLXM 

Forum: Installation and Configuration
Date: 02 Dec, 2008
From: <bgastro@pmo.ac.cn>

Dear all,

I have installed geant4.9.0 on Fedora 8 and it works fine with OPENGLX. Then I tried to use OpenGL-Motif driver, so I installed the OpenMotif-2.1.32. After installing, I got the directory OpenMotif-2.1.32 in /usr with 3 sub-directory(/bin, /include, /lib) in /usr/OpenMotif-2.1.32. I went to geant4/geant4.9.0/source and type"gmake clean" so that I can rebuild the geant4. I went to geant4/geant4.9.0 and type "./Configure -build", following the suggestions of SLAC to do the build process. The only difference is that I Enter y when I was asked about OPENGLXM as following:

> G4VIS_BUILD_OPENGLX_DRIVER
> G4VIS_USE_OPENGLX
>
> It is an interface to the de facto standard 3D graphics library,
> OpenGL. It is well suited for real-time fast visualization
> and prototyping. The X11 version of the OpenGL libraries is
> required.
> EOM
> [n] y
>
> G4VIS_BUILD_OPENGLXM_DRIVER
> G4VIS_USE_OPENGLXM
>
> It is an interface to the de facto standard 3D graphics library,
> OpenGL. It is well suited for real-time fast visualization
> and prototyping. The X11 version of the OpenGL libraries and
> the Motif Xm extension is required.
>
> [n] y
>
> You have selected to use OPENGLXM driver.
> But it was not found in expected place.
> Please specify the correct path where Xm is installed in your system.
>
> You can set '-' (without quotation) to CANCEL the XM flag at all:
>/usr/OpenMotif-2.1.32

After build process (it took me a few minutes), i got no error. Now i made the extended example A01 and got the following errors:

>Creating/replacing object files in >/home/baogang/g4work/tmp/Linux-g++/A01app/libA01app.a ...
>ar: creating /home/baogang/g4work/tmp/Linux-g++/A01app/libA01app.a
>Compiling A01app.cc ...
>Using granular libraries ...
>Linking A01app ...
>/home/baogang/g4work/tmp/Linux-g++/A01app/exe/A01app.o: In function >`G4VisExecutive::RegisterGraphicsSystems()':
>A01app.cc:(.text+0x32f): undefined reference to >`G4OpenGLImmediateXm::G4OpenGLImmediateXm()'
>A01app.cc:(.text+0x351): undefined reference to >`G4OpenGLStoredXm::G4OpenGLStoredXm()'
>collect2: ld returned 1 exit status
>make: *** [/home/baogang/g4work/bin/Linux-g++/A01app] Error 1

can any one give some suggestions?

Many thanks in advance.

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

1 None: Re: The problem with OPENGLXM   (John Allison - 03 Dec, 2008)
(_ None: Re: The problem with OPENGLXM   (bgastro@pmo.ac.cn - 03 Dec, 2008)
(_ Question: Re: The problem with OPENGLXM   (bgastro@pmo.ac.cn - 05 Dec, 2008)
 Add Message Add Message
to: "The problem with OPENGLXM"

 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 ]