|Message: Can't compile ExampleB1 (basic examples)||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Hello, I have installed gant4 9.5 on my lunx machine (Fedora R12). Everything went well. However, when I try to compile the basic example B1 (or any example for that matter), either using make or Cmake, I get the following error: Making dependency for file exampleB1.cc ... Making dependency for file src/B1SteppingAction.cc ... Making dependency for file src/B1RunAction.cc ... Making dependency for file src/B1PrimaryGeneratorAction.cc ... Making dependency for file src/B1EventAction.cc ... Making dependency for file src/B1DetectorConstruction.cc ... Compiling B1DetectorConstruction.cc ... Compiling B1EventAction.cc ... Compiling B1PrimaryGeneratorAction.cc ... Compiling B1RunAction.cc ... Compiling B1SteppingAction.cc ... Creating shared library /home/jazmin/geant4_workdir/tmp/Linux-g++/exampleB1/libexampleB1.so ... Compiling exampleB1.cc ... Using global libraries ... Linking exampleB1 /home/jazmin/geant4.9.5/geant4.9.5-install/lib64/Geant4-9.5.1/Linux-g++/libG4physicslists.so: undefined reference to `G4QNeutronBuilder::Build()' /home/jazmin/geant4.9.5/geant4.9.5-install/lib64/Geant4-9.5.1/Linux-g++/libG4physicslists.so: undefined reference to `G4QNeutronBuilder::G4QNeutronBuilder()' /home/jazmin/geant4.9.5/geant4.9.5-install/lib64/Geant4-9.5.1/Linux-g++/libG4physicslists.so: undefined reference to `G4FTFPProtonBuilder::G4FTFPProtonBuilder(bool)' collect2: ld returned 1 exit status make: *** [/home/jazmin/geant4_workdir/bin/Linux-g++/exampleB1] Error 1 I think it's probably an environmental variable that's not set, but I can't figure out which one. if I do env | grep G4 I get: env | grep G4 G4INSTALL=/home/jazmin/geant4.9.5/geant4.9.5-install/share/Geant4-9.5.1/geant4make G4INCLUDE=/home/jazmin/geant4.9.5/geant4.9.5-install/include/Geant4 G4LIB=/home/jazmin/geant4.9.5/geant4.9.5-install/lib64/Geant4-9.5.1 G4LIB_BUILD_SHARED=1 G4UI_USE_TCSH=1 G4SYSTEM=Linux-g++ G4WORKDIR=/home/jazmin/geant4_workdir G4LIB_USE_ZLIB=1 The PATH and LD_PATH: echo $PATH PATH=/home/jazmin/geant4_workdir/bin/Linux-g++:/home/jazmin/geant4.9.5/geant4.9.5-install/bin:/mip/bin64:/mip/bin64:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/jazmin/bin echo $LD_LIBRARY_PATH LD_LIBRARY_PATH=/home/jazmin/geant4.9.5/geant4.9.5-install/lib64:/home/jazmin/geant4.9.5/geant4.9.5-install/lib64:/mip/lib64 I would appreciate any help. Thanks Jazmin
|Inline Depth:||Outline Depth:||Add message:|