Message: Re: Error compiling example in Cygwin Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Error compiling example in Cygwin 

Forum: Documentation and Examples
Re: None Error compiling example in Cygwin (Jonathan Porter)
Re: Question Re: Error compiling example in Cygwin (Philip McGeachy)
Date: 21 Dec, 2012
From: Ivana Hrivnacova <Ivana Hrivnacova>

The B1 example automatically executes init.mac or init_vis.mac (if your Geant4 is built with visualization). The error message "******Can not open a macro file <init_vis.mac>" means that you run the example from a directory where this macro is not present. You need to copy this macro (or better all *.mac files) from the example source directory in your working directory.

In Geant4 9.6, this step is automatic when building the examples with CMake.

Best regards,

 Add Message Add Message
to: "Re: Error compiling example in Cygwin"

 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 ]