Message: Undefined symbols: "G4UIXm::G4UIXm(int, char**)" Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Undefined symbols: "G4UIXm::G4UIXm(int, char**)" 

Forum: Installation and Configuration
Date: 30 Jun, 2010
From: Neil Fazel <Neil Fazel>

Playing with the env variables to switch back and forth between Xm and tsch interfaces, I seem to have messed things up. I can't get either interface to work now:

First with Xm, then without Xm:

fnal@neilsmacbook[LWFA][9]> export G4UI_USE_XM=1
fnal@neilsmacbook[LWFA][10]> make clean
Cleaning up ...
fnal@neilsmacbook[LWFA][11]> make
<snip>
Undefined symbols:
  "G4UIXm::G4UIXm(int, char**)", referenced from:
      _main in LWFA.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [/Users/fnal/g4work/bin/Darwin-g++/LWFA] Error 1
fnal@neilsmacbook[LWFA][12]> export G4UI_USE_XM=0
fnal@neilsmacbook[LWFA][13]> export G4UI_NONE=1
fnal@neilsmacbook[LWFA][14]> make clean
Cleaning up ...
fnal@neilsmacbook[LWFA][15]> make
Making dependency for file LWFA.cc ...
LWFA.cc:36:27: error: G4UIterminal.hh: No such file or directory
LWFA.cc:37:23: error: G4UItcsh.hh: No such file or directory
<snip>

The header files are where they're supposed to be. I don't know why it can't find them.

Any idea what I could be doing incorrectly? Here are my XM env variables:

fnal@neilsmacbook[LWFA][16]> env|grep XM

XMFLAGS= -I/usr/OpenMotif/include

XMLIBS= -L/usr/OpenMotif/lib -lXm -lXpm

G4UI_BUILD_XM_SESSION=1

G4VIS_BUILD_OPENGLXM_DRIVER=1

G4UI_USE_XM=0

G4VIS_USE_OPENGLXM=1

Thanks, Neil

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

1 None: Re: Undefined symbols:   (Joseph Perl - 30 Jun, 2010)
(_ More: Re: Undefined symbols:   (Neil Fazel - 30 Jun, 2010)
1 None: Re: Undefined symbols:   (Joseph Perl - 30 Jun, 2010)
2 None: Re: Undefined symbols:   (John Allison - 30 Jun, 2010)
1 Feedback: Re: Undefined symbols:   (Neil Fazel - 30 Jun, 2010)
... 1 Message(s)
 Add Message Add Message
to: "Undefined symbols: "G4UIXm::G4UIXm(int, char**)""

 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 ]