Problem 2116 - Issues with Geant4 Installation
Summary: Issues with Geant4 Installation
Status: CLOSED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: cmake (show other problems)
Version: 10.5
Hardware: All All
: P4 major
Assignee: Ben Morgan
URL:
: 2117 (view as problem list)
Depends on:
Blocks:
 
Reported: 2019-01-13 15:47 CET by rotem.brt
Modified: 2019-01-24 12:00 CET (History)
0 users

See Also:


Attachments
Error list (105.52 KB, image/jpeg)
2019-01-13 15:47 CET, rotem.brt
Details

Note You need to log in before you can comment on or make changes to this problem.
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