Problem 2116

Summary: Issues with Geant4 Installation
Product: Geant4 Reporter: rotem.brt
Component: cmakeAssignee: Ben Morgan <Ben.Morgan>
Status: CLOSED INVALID    
Severity: major    
Priority: P4    
Version: 10.5   
Hardware: All   
OS: All   
Attachments: Error list

Description rotem.brt 2019-01-13 15:47:59 CET
Created attachment 532 [details]
Error list

Good morning, 
I tried to install Geant4 and encountered multiple issues while building Geant4 via Visual Studio 2017 on Windows 10:
1. When building project G4processes.dll, I received 2 error messages:
a. ...\Debug\bin\G4processes.dll not found or not built by the last incremental link; performing full link
b. fatal error LNK1189: library limit of 65535 objects exceeded

2. When building other projects, I received many error messages like the following:
LNK1104	cannot open file '..\..\BuildProducts\Debug\lib\G4tracking.lib'	

These errors lead to 20 projects that failed to build. I attached 2 print screens with examples of the error messages.

Can you help me?

Thank you, 
Rotem Barat.
Comment 1 Gabriele Cosmo 2019-01-14 08:02:12 CET
*** Problem 2117 has been marked as a duplicate of this problem. ***
Comment 2 Ben Morgan 2019-01-24 12:00:21 CET
This is a known issue with Debug builds on Windows. The only resolution is to build in either Release or RelWithDebInfo modes. See:

http://geant4-userdoc.web.cern.ch/geant4-userdoc/UsersGuides/InstallationGuide/html/installguide.html#on-windows-platforms