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

Question Error when compiling examples 

Keywords: example compile error ray tracer
Forum: Documentation and Examples
Date: 26 Nov, 2006
From: Lane Holloway <laneh@mail.utexas.edu>

I am currently trying to compile the examples included with Geant 4.8.1.01 on Linux and get this error:

In function `G4VisExecutive::RegisterGraphicsSystems()':

: undefined reference to `G4RayTracerX::G4RayTracerX()'

This occurs on any of the novice examples that use the graphics system.

I've recompiled the Geant libraries and have had the Configure program remake the env.sh file for me.

Based on the error it looks like it is missing the G4RayTracer library, but in the libs directory I do find a libG4RayTracer.a file.

Is there something I am missing as to why I'm getting the undefined reference?

Thanks,

Lane Holloway

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

1 None: Re: Error when compiling examples   (Lane Holloway - 27 Nov, 2006)
 Add Message Add Message
to: "Error when compiling examples"

 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 ]