|Message: Geant4 compilation in Debug fails due to too many objects||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
I am trying to compile Geant4 with Qt, OpenGL, XERSES-C, in debug mode with Visual Studio 2015 (v14). The compilation fails in Debug mode (but everything is fine in Release or RelWithDebInfo modes). Apparently, a issue that was reported before (and should have been fixed from version 10.3+) is still there.
"LINK : fatal error LNK1189: library limit of 65535 objects exceeded [C:\Users\testeur\Desktop\windows-geant4-installati on-script\build\source\processes\G4processes.vcxproj]"
I attached my full compilation log.
I would like to use Geant4 in Debug mode because it is obviously much more convenient for development. I need to use and debug Geant4 code in a Windows Visual Studio environment (I am already familiar with using Geant4 in Linux but I also want to set up a Windows environment in parallel). I would also like to avoid using "RelWithDebInfo" mode because it can be very tricky to debug in some cases (since it is modifying/optimizing the code).
In principle I don't need to have Geant4 libraries in Debug mode because I don't intend to modify them: I only intend to debug my own code. But, as far as I understood with the MSVC compiler, the user cannot use libraries compiled in Release mode with code compiled in Debug mode; and indeed when I tried to do it, I did not manage to run example B1. (Whereas using Linux (with GCC) I never had a problem using Release Geant4 libraries with my project in Debug mode (even if it is not recommended)).
Thanks in advance for the help.
|Inline Depth:||Outline Depth:||Add message:|