| Message: Geant4 example A01 Linking Problem | Not Logged In (login) |
|
I am new to Geant4 and I am trying to construct the A01 example, I have compiled the example and used WIRED to see the particle trajectories and so forth.
When I try to start with the An alysis section I get an error in the linking of A01app
I am working on a: MacOS 10.5.5 i686-apple-darwin9 gcc version 4.0.1 JAIDA 3.2.1 AIDAJNI 3.2.1 My Environment is: export G4WORKDIR=/Applications/geant4work export DYLD_LIBRARY_PATH=/Applications/CLHEP/osx105_ia32_gcc401/lib export G4INSTALL=/Applications/geant4.9.1.p03 source /Applications/geant4.9.1.p03/env.sh export JAVA_HOME=/Library/Java/Home export JDK_HOME=/Library/Java/Home export JAIDA_HOME=/Applications/AIDA/JAIDA-3.2.1 source $JAIDA_HOME/bin/aida-setup.sh export AIDAJNI_HOME=/Applications/AIDA/AIDAJNI-3.2.1 export AIDAJNI_LIBS=/Applications/AIDA/AIDAJNI-3.2.1/lib/Darwin-g++ source $AIDAJNI_HOME/bin/Darwin-g++/aidajni-setup.sh export G4ANALYSIS_USE=1 When I type make clean and make the program starts Making dependency and compiling, but when it gets to the linking I get this
Linking A01app ...
ld warning: in /Applications/AIDA/AIDAJNI-3.2.1/lib/Darwin-g++/libAIDAJNI.a, file is not of required architecture
ld warning: in /Applications/AIDA/AIDAJNI-3.2.1/lib/Darwin-g++/libFHJNI.a, file is not of required architecture
Undefined symbols:
"_AIDA_createAnalysisFactory", referenced from:
A01AnalysisManager::A01AnalysisManager()in libA01app.a(A01AnalysisManager.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [/Applications/geant4work/bin/Darwin-g++/A01app] Error 1
Any Ideas of how to solve this! Thank you very much in advance. Lisandro
|
|
to: |