Message: Can't compile the novice exampleN01 .Please help me out Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Can't compile the novice exampleN01 .Please help me out 

Keywords: errors for the novice example
Forum: Documentation and Examples
Date: 16 May, 2006
From: <zhao7@purdue.edu>

I am new for Geant , and try to learn and understand it from its novice examples. When I run the gmake command under N01 folder, it shows the following errors. Almost the same errors happen to N02. Can anybody tell me what's wrong with my geant and how to fix it? Is it due to the setup of the environment variables or the installation of CLHEP? I do appreciate your help.

errors:
$cd N01
$gmake
../../../config/architecture.gmk:265: ../../../config/sys/.gmk: No such file or directory
Making dependency for file exampleN01.cc...
/bin/sh: line 1: ../../../tmp//exampleN01/exe/exampleN01.d: No such file or directory
In file included from ../../../source/global/management/include/G4ios.hh:37,
                 from ../../../source/global/management/include/globals.hh:47,
                 from ../../../source/event/include/G4Event.hh:31,
                 from ../../../source/run/include/G4RunManager.hh:85,
                 from exampleN01.cc:37:
../../../source/global/management/include/G4Types.hh:41:32: CLHEP/config/CLHEP.h: No such file or directory
In file included from /usr/include/c++/3.2.2/backward/iostream.h:31,
                 from ../../../source/global/management/include/g4std/iostream:17,
                 from ../../../source/global/management/include/G4ios.hh:49,
                 from ../../../source/global/management/include/globals.hh:47,
                 from ../../../source/event/include/G4Event.hh:31,
                 from ../../../source/run/include/G4RunManager.hh:85,
                 from exampleN01.cc:37:
/usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning: #warning This
file includes at least one deprecated or antiquated header. Please consider usin
g one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples
include substituting the <X> header for the <X.h> header for C++ includes, or <s
stream> instead of the deprecated header <strstream.h>. To disable this warning
use -Wno-deprecated.
.......(delete some similar errors to save some space)
../../../source/global/HEPRandom/include/Randomize.hh:30:36: CLHEP/Random/Randomize.h: No such file or directory
../../../source/global/HEPRandom/include/Randomize.hh:34:37: CLHEP/Random/RandGaussQ.h: No such file or directory
../../../source/global/HEPRandom/include/Randomize.hh:35:37: CLHEP/Random/RandGaussT.h: No such file or directory
../../../source/global/HEPRandom/include/Randomize.hh:36:39: CLHEP/Random/RandPoissonQ.h: No such file or directory
../../../source/global/HEPRandom/include/Randomize.hh:37:39: CLHEP/Random/RandPoissonT.h: No such file or directory
../../../source/global/HEPRandom/include/Randomize.hh:38:37: CLHEP/Random/RandLandau.h: No such file or directory
../../../source/global/HEPRandom/include/Randomize.hh:39:34: CLHEP/Random/RandBit.h: No such file or directory
gmake: *** [../../../tmp//exampleN01/exe/exampleN01.d] Error 1

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

1 More: Re: Can't compile the novice exampleN01 .Please help me out   (Gabriele Cosmo - 12 Jun, 2006)
 Add Message Add Message
to: "Can't compile the novice exampleN01 .Please help me out"

 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 ]