ALLPix / allpix

AllPix is a powerful tool for various simulation goals with pixel detectors, see the Twiki page for more details
https://twiki.cern.ch/twiki/bin/view/Main/AllPix
13 stars 29 forks source link

Compilation error #4

Closed tbisanz closed 8 years ago

tbisanz commented 8 years ago

Hey, I just tried installing the trunk version of allpix and get following error:

Making dependency for file src/SelDict.cc ...
Making dependency for file src/AllPixSetupDigitizers.cc ...
src/AllPixSetupDigitizers.cc:19:40: error: AllPixMedipix3RXDigitizer.hh: No such file or directory
Making dependency for file src/AllPixSetupDigitizers.cc ...
src/AllPixSetupDigitizers.cc:19:40: error: AllPixMedipix3RXDigitizer.hh: No such file or directory
Generating dictionary rootdict...
rootcint -v0 -f SelDict.cc -c -p -I./include \
                AllPix_Hits_WriteToEntuple.h \
                AllPix_Frames_WriteToEntuple.h allpix_dm.h \
                AllPixDigitAnimation.hh LinkDef.h
Compiling AllPixDetectorConstruction.cc ...
In file included from include/AllPixMimosa26Digit.hh:8,
                 from include/AllPixDigitizerInterface.hh:9,
                 from include/AllPixMimosa26Digitizer.hh:9,
                 from src/AllPixDetectorConstruction.cc:74:
include/AllPixDigitInterface.hh:54: error: âvirtual G4int AllPixDigitInterface::GetPixelCounts()â cannot be overloaded
include/AllPixDigitInterface.hh:46: error: with âvirtual G4int AllPixDigitInterface::GetPixelCounts()â
src/AllPixDetectorConstruction.cc: In member function âvirtual G4VPhysicalVolume* AllPixDetectorConstruction::Construct()â:
src/AllPixDetectorConstruction.cc:201: warning: declaration of âm_geoDscâ shadows a member of 'this'
/nfs/dust/atlas/user/bisanz/geant4/geant4.10.01.p02-install/include/Geant4/CLHEP/Units/PhysicalConstants.h: At global scope:
/nfs/dust/atlas/user/bisanz/geant4/geant4.10.01.p02-install/include/Geant4/CLHEP/Units/PhysicalConstants.h:71: warning: âCLHEP::electron_chargeâ defined but not used
make: *** [/afs/desy.de/user/b/bisanz/geant4_workdir/tmp/Linux-g++/allpix/AllPixDetectorConstruction.o] Error 1
mathieubenoit commented 8 years ago

Hi Tobias, the latest commit to master branch fix this error, thanks for reporting and sorry for the delay, Cheers ,

Mathieu