Message: detector construction problem in runmanager Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None detector construction problem in runmanager 

Forum: Run Management
Date: 14 Apr, 2009
From: Davinder Siwal <Davinder Siwal>

Hi all

i am tring to write the simulation of a simple geometry crystal everything is fine but in file test1.cc at line no. 50 it is showing up an error which i am trying to solve do you have any idea how i can get rid of this

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2009/04/14/02.01-66654-test1.cc

[root@localhost test1]# make make: Warning: File `/home/davinder/g4work/tmp/Linux-g++/test1/exe/test1.d' has modification time 1.7e+04 s in the future Compiling test1.cc ... test1.cc: In function ‘int main()’: test1.cc:50: error: expected type-specifier before ‘test1DetectorConstruction’ test1.cc:50: error: cannot convert ‘int*’ to ‘G4VUserDetectorConstruction*’ in initialization test1.cc:50: error: expected ‘,’ or ‘;’ before ‘test1DetectorConstruction’ /home/davinder/geant4/clhep/include/CLHEP/Units/PhysicalConstants.h: At global scope: /home/davinder/geant4/clhep/include/CLHEP/Units/PhysicalConstants.h:78: warning: ‘CLHEP::electron_charge’ defined but not used /home/davinder/geant4/clhep/include/CLHEP/Random/Randomize.h:67: warning: ‘CLHEP::HepRandomGenActive’ defined but not used make: *** [/home/davinder/g4work/tmp/Linux-g++/test1/exe/test1.o] Error 1 [root@localhost test1]#

 Add Message Add Message
to: "detector construction problem in runmanager"

 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 ]