Message: Re: How to use GNUmake build system when Geant4 was installed with CMake ? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to use GNUmake build system when Geant4 was installed with CMake ? 

Forum: Installation and Configuration
Re: Question How to use GNUmake build system when Geant4 was installed with CMake ? (Rassoul Jamshidzehi)
Re: None Re: How to use GNUmake build system when Geant4 was installed with CMake ? (Michael H. Kelsey)
Date: 17 Jul, 2014
From: Rassoul Jamshidzehi <Rassoul Jamshidzehi>

I'm using geant4.10.00.p02 on Linux Ubuntu 14.04 64bit, terminal .
I'm Writing "source /home/jamshidzehi/geant4.10.00.p02-install/share/Geant4-10.0.2/geant4make/geant4make.sh
" and when i enter gmake the result is :
No command 'gmake' found, did you mean:
 Command 'omake' from package 'omake' (universe)
 Command 'mmake' from package 'mmake' (universe)
 Command 'guake' from package 'guake' (universe)
 Command 'imake' from package 'xutils-dev' (main)
 Command 'make' from package 'make' (main)
 Command 'jmake' from package 'dist' (universe)
 Command 'vmake' from package 'hdf4-tools' (universe)
 Command 'bmake' from package 'bmake' (universe)
 Command 'tmake' from package 'tmake' (main)
 Command 'qmake' from package 'qtchooser' (main)
 Command 'cmake' from package 'cmake' (main)
 Command 'pmake' from package 'bmake' (universe)
 Command 'fmake' from package 'freebsd-buildutils' (universe)
gmake: command not found

& when I use make the result is :
Making dependency for file beamTest.cc ...
Making dependency for file src/BeamTestScoreParameterisation.cc ...
Making dependency for file src/BeamTestRun.cc ...
Making dependency for file src/BeamTestRunAction.cc ...
Making dependency for file src/BeamTestPrimaryGeneratorAction.cc ...
Making dependency for file src/BeamTestPhysicsList.cc ...
Making dependency for file src/BeamTestDetectorConstruction.cc ...
Compiling BeamTestDetectorConstruction.cc ...
In file included from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4ParameterisedNavigation.hh:52:0,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Navigator.hh:65,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4SteppingManager.hh:64,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4TrackingManager.hh:56,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4EventManager.hh:45,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4RunManagerKernel.hh:66,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4RunManager.hh:131,
                 from src/BeamTestDetectorConstruction.cc:37:
/home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4VPVParameterisation.hh:123:18: warning: ‘virtual void G4VPVParameterisation::ComputeDimensions(G4Ellipsoid&, G4int, const G4VPhysicalVolume*) const’ was hidden [-Woverloaded-virtual]
     virtual void ComputeDimensions(G4Ellipsoid &,
                  ^
In file included from src/BeamTestDetectorConstruction.cc:42:0:
include/BeamTestScoreParameterisation.hh:80:8: warning: by ‘BeamTestScoreParameterisation::ComputeDimensions’ [-Woverloaded-virtual]
   void ComputeDimensions (G4Polyhedra&,const G4int,const G4VPhysicalVolume*) const {}
        ^
src/BeamTestDetectorConstruction.cc: In member function ‘void BeamTestDetectorConstruction::DefineMaterials()’:
src/BeamTestDetectorConstruction.cc:82:49: error: ‘g’ was not declared in this scope
   new G4Material("Beryllium", z=4., a=9.012182*g/mole, density=1.8480*g/cm3);
                                                 ^
src/BeamTestDetectorConstruction.cc:82:49: note: suggested alternative:
In file included from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/PhysicalConstants.h:42:0,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.icc:11,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.h:282,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/Rotation.h:29,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.icc:6,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.h:818,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Transform3D.hh:33,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/HepPolyhedron.h:174,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Polyhedron.hh:112,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Box.hh:62,
                 from src/BeamTestDetectorConstruction.cc:31:
/home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/SystemOfUnits.h:172:25: note: ‘CLHEP::g’
   static const double g = gram;
                         ^
src/BeamTestDetectorConstruction.cc:82:51: error: ‘mole’ was not declared in this scope
   new G4Material("Beryllium", z=4., a=9.012182*g/mole, density=1.8480*g/cm3);
                                                   ^
src/BeamTestDetectorConstruction.cc:82:51: note: suggested alternative:
In file included from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/PhysicalConstants.h:42:0,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.icc:11,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.h:282,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/Rotation.h:29,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.icc:6,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.h:818,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Transform3D.hh:33,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/HepPolyhedron.h:174,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Polyhedron.hh:112,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Box.hh:62,
                 from src/BeamTestDetectorConstruction.cc:31:
/home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/SystemOfUnits.h:248:23: note: ‘CLHEP::mole’
   static const double mole = 1.;
                       ^
src/BeamTestDetectorConstruction.cc:82:74: error: ‘cm3’ was not declared in this scope
   new G4Material("Beryllium", z=4., a=9.012182*g/mole, density=1.8480*g/cm3);
                                                                          ^
src/BeamTestDetectorConstruction.cc:82:74: note: suggested alternative:
In file included from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/PhysicalConstants.h:42:0,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.icc:11,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.h:282,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/Rotation.h:29,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.icc:6,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.h:818,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Transform3D.hh:33,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/HepPolyhedron.h:174,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Polyhedron.hh:112,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Box.hh:62,
                 from src/BeamTestDetectorConstruction.cc:31:
/home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/SystemOfUnits.h:91:23: note: ‘CLHEP::cm3’
   static const double cm3 = centimeter3;
                       ^
src/BeamTestDetectorConstruction.cc:92:58: error: ‘mg’ was not declared in this scope
   G4Material* air = new G4Material("Air", density= 1.290*mg/cm3, ncomponents=2);
                                                          ^
src/BeamTestDetectorConstruction.cc:92:58: note: suggested alternative:
In file included from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/PhysicalConstants.h:42:0,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.icc:11,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.h:282,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/Rotation.h:29,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.icc:6,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.h:818,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Transform3D.hh:33,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/HepPolyhedron.h:174,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Polyhedron.hh:112,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Box.hh:62,
                 from src/BeamTestDetectorConstruction.cc:31:
/home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/SystemOfUnits.h:173:24: note: ‘CLHEP::mg’
   static const double mg = milligram;
                        ^
src/BeamTestDetectorConstruction.cc:98:37: error: ‘STP_Temperature’ was not declared in this scope
           ncomponents=1, kStateGas, STP_Temperature,
                                     ^
src/BeamTestDetectorConstruction.cc:98:37: note: suggested alternative:
In file included from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.icc:11:0,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.h:282,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/Rotation.h:29,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.icc:6,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.h:818,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Transform3D.hh:33,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/HepPolyhedron.h:174,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Polyhedron.hh:112,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Box.hh:62,
                 from src/BeamTestDetectorConstruction.cc:31:
/home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/PhysicalConstants.h:124:21: note: ‘CLHEP::STP_Temperature’
 static const double STP_Temperature = 273.15*kelvin;
                     ^
src/BeamTestDetectorConstruction.cc:99:17: error: ‘bar’ was not declared in this scope
           2.e-2*bar);
                 ^
src/BeamTestDetectorConstruction.cc:99:17: note: suggested alternative:
In file included from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/PhysicalConstants.h:42:0,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.icc:11,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.h:282,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/Rotation.h:29,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.icc:6,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.h:818,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Transform3D.hh:33,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/HepPolyhedron.h:174,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Polyhedron.hh:112,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Box.hh:62,
                 from src/BeamTestDetectorConstruction.cc:31:
/home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/SystemOfUnits.h:190:23: note: ‘CLHEP::bar’
   static const double bar = 100000*pascal; // bar = 6.24150 e+8 * MeV/mm3
                       ^
src/BeamTestDetectorConstruction.cc: In member function ‘void BeamTestDetectorConstruction::SetupGeometry()’:
src/BeamTestDetectorConstruction.cc:113:9: error: ‘m’ was not declared in this scope
     2.0*m, 2.0*m, 2.0*m); // Half lengths
         ^
src/BeamTestDetectorConstruction.cc:113:9: note: suggested alternative:
In file included from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/PhysicalConstants.h:42:0,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.icc:11,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.h:282,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/Rotation.h:29,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.icc:6,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.h:818,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Transform3D.hh:33,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/HepPolyhedron.h:174,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Polyhedron.hh:112,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Box.hh:62,
                 from src/BeamTestDetectorConstruction.cc:31:
/home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/SystemOfUnits.h:93:23: note: ‘CLHEP::m’
   static const double m = meter;
                       ^
src/BeamTestDetectorConstruction.cc:136:45: error: ‘deg’ was not declared in this scope
                                          0.*deg, // Starting phi
                                             ^
src/BeamTestDetectorConstruction.cc:136:45: note: suggested alternative:
In file included from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/PhysicalConstants.h:42:0,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.icc:11,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.h:282,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/Rotation.h:29,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.icc:6,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.h:818,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Transform3D.hh:33,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/HepPolyhedron.h:174,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Polyhedron.hh:112,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Box.hh:62,
                 from src/BeamTestDetectorConstruction.cc:31:
/home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/SystemOfUnits.h:116:23: note: ‘CLHEP::deg’
   static const double deg = degree;
                       ^
src/BeamTestDetectorConstruction.cc:181:10: error: ‘cm’ was not declared in this scope
       0.*cm, // Inner radius
          ^
src/BeamTestDetectorConstruction.cc:181:10: note: suggested alternative:
In file included from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/PhysicalConstants.h:42:0,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.icc:11,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.h:282,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/Rotation.h:29,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.icc:6,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.h:818,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Transform3D.hh:33,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/HepPolyhedron.h:174,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Polyhedron.hh:112,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Box.hh:62,
                 from src/BeamTestDetectorConstruction.cc:31:
/home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/SystemOfUnits.h:89:23: note: ‘CLHEP::cm’
   static const double cm = centimeter;
                       ^
src/BeamTestDetectorConstruction.cc: In member function ‘void BeamTestDetectorConstruction::SetupScoring(G4LogicalVolume*)’:
src/BeamTestDetectorConstruction.cc:361:32: error: ‘MeV’ was not declared in this scope
     G4double minEnergy = i*1.2*MeV;
                                ^
src/BeamTestDetectorConstruction.cc:361:32: note: suggested alternative:
In file included from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/PhysicalConstants.h:42:0,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.icc:11,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.h:282,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/Rotation.h:29,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.icc:6,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.h:818,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Transform3D.hh:33,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/HepPolyhedron.h:174,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Polyhedron.hh:112,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Box.hh:62,
                 from src/BeamTestDetectorConstruction.cc:31:
/home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/SystemOfUnits.h:156:23: note: ‘CLHEP::MeV’
   static const double MeV = megaelectronvolt;
                       ^
In file included from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.icc:11:0,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/RotationX.h:282,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Vector/Rotation.h:29,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.icc:6,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Geometry/Transform3D.h:818,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Transform3D.hh:33,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/HepPolyhedron.h:174,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Polyhedron.hh:112,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4Box.hh:62,
                 from src/BeamTestDetectorConstruction.cc:31:
/home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/PhysicalConstants.h: At global scope:
/home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Units/PhysicalConstants.h:79:21: warning: ‘CLHEP::electron_charge’ defined but not used [-Wunused-variable]
 static const double electron_charge = - eplus; // see SystemOfUnits.h
                     ^
In file included from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/Randomize.hh:32:0,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4SteppingManager.hh:62,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4TrackingManager.hh:56,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4EventManager.hh:45,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4RunManagerKernel.hh:66,
                 from /home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/G4RunManager.hh:131,
                 from src/BeamTestDetectorConstruction.cc:37:
/home/jamshidzehi/geant4.10.00.p02-install/include/Geant4/CLHEP/Random/Randomize.h:61:12: warning: ‘CLHEP::HepRandomGenActive’ defined but not used [-Wunused-variable]
 static int HepRandomGenActive = HepRandom::createInstance();
            ^
make: *** [tmp/Linux-g++/beamTest/BeamTestDetectorConstruction.o] Error 1

But other examples that have CMakeLists.txt like B1 , B5 properly work.

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

1 Idea: Re: How to use GNUmake build system when Geant4 was installed with CMake ?   (Michael H. Kelsey - 17 Jul, 2014)
(_ Ok: Re: How to use GNUmake build system when Geant4 was installed with CMake ?   (Rassoul Jamshidzehi - 17 Jul, 2014)
 Add Message Add Message
to: "Re: How to use GNUmake build system when Geant4 was installed with CMake ?"

 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 ]