Message: Compiling Geant4 with "Debug" breaks due to too many objects Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Compiling Geant4 with "Debug" breaks due to too many objects 

Forum: Installation and Configuration
Date: 20 Jan, 2016
From: Geir Meyer <Geir Meyer>

Hi,

I'm using: Windows7 64, Geant4 10.2.0, Visual Studio 2015, CMAKE 3.4.1

Compiled Geant4 as in "BookInstalGuide.pdf", except using "--config Debug" instead of "--config RelWithDebInfo".

The compilation breaks down with too many objects: (LINK : fatal error LNK1189: library limit of 65535 objects exceeded [F:\dev-lib\geant4\build\10.02.00-vs-2015-no-ui-dbg\source\processes\G4processes.vcxproj])

MSDN suggest to split the library into several libraries each containing less than 65535 objects.

Has anyone managed to build Geant4 with full debug support on Windows?

(this question is related to question 1777)

Regards, Geir Meyer

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

1 Note: Re: Compiling Geant4 with   (Ben Morgan - 25 Jan, 2016)
1 Note: Re: Compiling Geant4 with   (Geir Meyer - 27 Jan, 2016)
1 Feedback: Re: Compiling Geant4 with   (Ben Morgan - 29 Jan, 2016)
2 None: Issues compiling GEANT   (Amhis Yasmine - 29 Jan, 2016)
1 Warning: Re: Issues compiling GEANT   (Ben Morgan - 29 Jan, 2016)
 Add Message Add Message
to: "Compiling Geant4 with "Debug" breaks due to too many objects"

 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 ]