Message: Stand-alone executable of Geant4 application Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Stand-alone executable of Geant4 application 

Forum: Installation and Configuration
Date: 05 Feb, 2014
From: Klas Marcks <Klas Marcks>

I'm running Geant4 10.0 on a windows machine (VC++ 10.0). I wonder to what extent it is possible to compile a stand-alone executable of a Geant4 application i.e. create a single exe-file that can be copied and run on a remote machine without installing geant4.

If this is possible I would be grateful for an outline of required steps to take.

I assume I have to install a static version of Geant4 and do some changes to the CMake file of my project. While the former appears to be possible by setting a flag during the installation I'm not sure how to do the latter and if this is enough.

Best Regards

Klas Marcks

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

1 Note: Re: Stand-alone executable of Geant4 application   (Ben Morgan - 06 Feb, 2014)
1 Ok: Re: Stand-alone executable of Geant4 application   (Klas Marcks - 06 Feb, 2014)
2 None: Re: Stand-alone executable of Geant4 application   (Hao Yang - 22 Sep, 2014)
1 None: Re: Stand-alone executable of Geant4 application   (Klas Marcks - 23 Sep, 2014)
 Add Message Add Message
to: "Stand-alone executable of Geant4 application"

 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 ]