Message: Some examples broken by 10.01.p01 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Some examples broken by 10.01.p01 

Forum: Installation and Configuration
Date: 10 Apr, 2015
From: Bryan Wright <Bryan Wright>

Hi folks,

I'm trying to build geant4.10.01.p01 under Centos 6.5, using -DGEANT4_BUILD_EXAMPLES=ON to build the examples. It looks like the example in examples/advanced/air_shower has broken sometime between 10.00.p02 and 10.01.p01. My guess is that the problem is due to the changes in source/global/management/src/G4PhysicsVector.cc between the two versions.

The error is as follows:

Linking CXX executable ../../../outputs/runtime/Ultra CMakeFiles/Ultra.dir/src/UltraDetectorConstruction.cc.o: In function `UltraDetectorConstruction::ConstructTableMaterials()': UltraDetectorConstruction.cc:(.text+0x644): undefined reference to `fpPVAllocator' UltraDetectorConstruction.cc:(.text+0x835): undefined reference to `fpPVAllocator' UltraDetectorConstruction.cc:(.text+0xb23): undefined reference to `fpPVAllocator' UltraDetectorConstruction.cc:(.text+0xcb4): undefined reference to `fpPVAllocator' UltraDetectorConstruction.cc:(.text+0x123e): undefined reference to `fpPVAllocator' CMakeFiles/Ultra.dir/src/UltraDetectorConstruction.cc.o:UltraDetectorConstruction.cc:(.text+0x1278): more undefined references to `fpPVAllocator' follow collect2: ld returned 1 exit status make[2]: *** [outputs/runtime/Ultra] Error 1 make[1]: *** [examples/advanced/air_shower/CMakeFiles/Ultra.dir/all] Error 2 make: *** [all] Error 2

How should I change the example to accommodate the missing fpVAllocator?

Thanks in advance for any advice.

Bryan

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

1 Idea: Re: Some examples broken by 10.01.p01   (Andrea Dotti - 10 Apr, 2015)
(_ None: Re: Some examples broken by 10.01.p01   (Bryan Wright - 10 Apr, 2015)
(_ Idea: Re: Some examples broken by 10.01.p01   (Andrea Dotti - 10 Apr, 2015)
(_ None: Re: Some examples broken by 10.01.p01   (Bryan Wright - 13 Apr, 2015)
 Add Message Add Message
to: "Some examples broken by 10.01.p01"

 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 ]