Message: Error Linking of Examples with Visualization on Mac/Intel Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Error Linking of Examples with Visualization on Mac/Intel 

Keywords: Mac RayTracerX
Forum: Installation and Configuration
Date: 20 May, 2008
From: Dongxu Wang <Dongxu Wang>

I have just installed Geant4.9.0 on Mac OS X 10.5. When I tried the examples provided in Geant, only exampleN01 works, but I got the following error message for all the other examples during linking:

.....
Compiling exampleN02.cc ...
warning: this program uses gets(), which is unsafe.
Using granular libraries ...
Linking exampleN02 ...
Undefined symbols:
  "G4RayTracerX::G4RayTracerX()", referenced from:
      G4VisExecutive::RegisterGraphicsSystems()       in exampleN02.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [/Users/wang/g4work/bin/Darwin-g++/exampleN02] Error 1

I re-installed geant4.9.0 several times, and made sure OpenGL and RayTracerX have been installed, but the problem is still there. Does anybody know how to solve it?

I can post other information and log files about my system, if you need them.

Thanks a lot!

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

1 None: Re: Error Linking of Examples with Visualization on Mac/Intel   (John Allison - 21 May, 2008)
1 None: Re: Error Linking of Examples with Visualization on Mac/Intel   (Dongxu Wang - 21 May, 2008)
(_ None: Re: Error Linking of Examples with Visualization on Mac/Intel   (John Allison - 22 May, 2008)
(_ None: Re: Error Linking of Examples with Visualization on Mac/Intel   (Dongxu Wang - 22 May, 2008)
3 None: SOLVED! Re: Error Linking of Examples with Visualization on Mac/Intel   (Dongxu Wang - 22 May, 2008)
 Add Message Add Message
to: "Error Linking of Examples with Visualization on Mac/Intel"

 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 ]