GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] Error while compling pandaroot in macbook pro
[FIXED] Error while compling pandaroot in macbook pro [message #14254] Mon, 03 December 2012 13:39 Go to previous message
Himani Bhatt is currently offline  Himani Bhatt
Messages: 11
Registered: October 2012
Location: Juelich
occasional visitor
From: *ikp.kfa-juelich.de
Hi,

I am trying to install pandaroot in Mac OS X 10.7.5

It did following steps in order to install pandaroot.

1. First I fetch the sep12 via svn and put it in:

/Users/himani/PANDA/sep12
and configure it and giving path to install :

/Users/himani/PANDA/INSTALL/

and this complied without any error.

2. Then I fetch pandaroot in the dir.
/Users/himani/PANDA/INSTALL and in this INSTALL dir now I have following sub dirs:

bin/ etc/ include/ lib/ share/ trunk/

I set the SIMPATH = /Users/himani/PANDA/INSTALL/

3. Then I did

cd trunk
mkdir buildpanda
cd buildpanda
cmake ../

it shows at the end:
Found TEve, so the eventdisplay will be compiled.
-- <MVA_INFO> Building MVA with multiClass.
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/himani/PANDA/INSTALL/trunk/buildpanda


and then I did make which is giving following error:

[ 20%] Building CXX object generators/CMakeFiles/Gen.dir/G__GenDict.cxx.o
In file included from /Users/himani/PANDA/INSTALL/trunk/buildpanda/generators/G__GenDict.cxx:17:
In file included from /Users/himani/PANDA/INSTALL/trunk/buildpanda/generators/G__GenDict.h:40:
In file included from /Users/himani/PANDA/INSTALL/trunk/generators/FairPlutoReactionGenerator.h:31:
In file included from /Users/himani/PANDA/INSTALL/include/pluto/PReaction.h:16:
In file included from /Users/himani/PANDA/INSTALL/include/pluto/PDistributionManager.h:15:
In file included from /Users/himani/PANDA/INSTALL/include/pluto/PStdModels.h:22:
In file included from /Users/himani/PANDA/INSTALL/include/pluto/PDalitzDistribution.h:13:
/Users/himani/PANDA/INSTALL/include/pluto/PBatch.h:194:28: warning: declaration
      shadows a field of 'PBatch' [-Wshadow]
    void SetVarList(char * x) {
                           ^
/Users/himani/PANDA/INSTALL/include/pluto/PBatch.h:136:15: note: previous
      declaration is here
    Double_t *x,*y,*z;  //Axis values for _eval
              ^
1 warning generated.
Linking CXX shared library ../lib/libGen.so
[ 20%] Built target Gen
[ 20%] Generating PndPGenDict.cxx, PndPGenDict.h
Scanning dependencies of target PGen
[ 20%] Building CXX object pgenerators/CMakeFiles/PGen.dir/PndRestGas.cxx.o
In file included from /Users/himani/PANDA/INSTALL/trunk/pgenerators/PndRestGas.cxx:7:
/Users/himani/PANDA/INSTALL/trunk/pgenerators/PndRestGas.h:47:2: warning: 
      control reaches end of non-void function [-Wreturn-type]
        }
        ^
/Users/himani/PANDA/INSTALL/trunk/pgenerators/PndRestGas.cxx:69:1: warning: 
      control reaches end of non-void function [-Wreturn-type]
}
^
2 warnings generated.
[ 20%] Building CXX object pgenerators/CMakeFiles/PGen.dir/PndDpmGenerator.cxx.o
[ 20%] Building CXX object pgenerators/CMakeFiles/PGen.dir/PndEvtGenGenerator.cxx.o
/Users/himani/PANDA/INSTALL/trunk/pgenerators/PndEvtGenGenerator.cxx:116:1: warning: 
      control reaches end of non-void function [-Wreturn-type]
}
^
/Users/himani/PANDA/INSTALL/trunk/pgenerators/PndEvtGenGenerator.cxx:156:3: warning: 
      switch condition has boolean value
  switch (fFileType)
  ^       ~~~~~~~~~
/Users/himani/PANDA/INSTALL/trunk/pgenerators/PndEvtGenGenerator.cxx:336:3: warning: 
      switch condition has boolean value
  switch (fFileType) {
  ^       ~~~~~~~~~
3 warnings generated.
[ 20%] Building CXX object pgenerators/CMakeFiles/PGen.dir/PndDpmDirect.cxx.o
[ 20%] Building CXX object pgenerators/CMakeFiles/PGen.dir/PndBoxGenerator.cxx.o
/Users/himani/PANDA/INSTALL/trunk/pgenerators/PndBoxGenerator.cxx:65:1: warning: 
      control reaches end of non-void function [-Wreturn-type]
}
^
1 warning generated.
[ 20%] Building CXX object pgenerators/CMakeFiles/PGen.dir/PndUrqmdSmmGenerator.cxx.o
[ 20%] Building CXX object pgenerators/CMakeFiles/PGen.dir/PndJRGenerator.cxx.o
[ 20%] Building CXX object pgenerators/CMakeFiles/PGen.dir/PndPythia6Generator.cxx.o
[ 21%] Building CXX object pgenerators/CMakeFiles/PGen.dir/PndPythia8Generator.cxx.o
[ 21%] Building CXX object pgenerators/CMakeFiles/PGen.dir/PndFlatParticleGenerator.cxx.o
/Users/himani/PANDA/INSTALL/trunk/pgenerators/PndFlatParticleGenerator.cxx:76:1: warning: 
      control reaches end of non-void function [-Wreturn-type]
}
^
1 warning generated.
[ 21%] Building CXX object pgenerators/CMakeFiles/PGen.dir/PndFlukaGenerator.cxx.o
/Users/himani/PANDA/INSTALL/trunk/pgenerators/PndFlukaGenerator.cxx:68:1: warning: 
      control reaches end of non-void function [-Wreturn-type]
}
^
1 warning generated.
[ 21%] Building CXX object pgenerators/CMakeFiles/PGen.dir/PndGasGenerator.cxx.o
/Users/himani/PANDA/INSTALL/trunk/pgenerators/PndGasGenerator.cxx:60:1: warning: 
      control reaches end of non-void function [-Wreturn-type]
}
^
1 warning generated.
[ 21%] Building CXX object pgenerators/CMakeFiles/PGen.dir/PndHypBupGenerator.cxx.o
[ 21%] Building CXX object pgenerators/CMakeFiles/PGen.dir/PndGiBuuGenerator.cxx.o
[ 21%] Building CXX object pgenerators/CMakeFiles/PGen.dir/PndGiBuuTrack.cxx.o
[ 21%] Building CXX object pgenerators/CMakeFiles/PGen.dir/PndGiBuuDecayerAbs.cxx.o
[ 21%] Building CXX object pgenerators/CMakeFiles/PGen.dir/PndGiBuuJPsiEE.cxx.o
[ 21%] Building CXX object pgenerators/CMakeFiles/PGen.dir/PndPGenDict.cxx.o
In file included from /Users/himani/PANDA/INSTALL/trunk/buildpanda/pgenerators/PndPGenDict.cxx:17:
In file included from /Users/himani/PANDA/INSTALL/trunk/buildpanda/pgenerators/PndPGenDict.h:34:
/Users/himani/PANDA/INSTALL/trunk/pgenerators/PndRestGas.h:47:2: warning: 
      control reaches end of non-void function [-Wreturn-type]
        }
        ^
1 warning generated.
Linking CXX shared library ../lib/libPGen.so
[ 21%] Built target PGen
Scanning dependencies of target DpmEvtGen
[ 21%] Building Fortran object pgenerators/DpmEvtGen/CMakeFiles/DpmEvtGen.dir/common.f.o
[ 21%] Building Fortran object pgenerators/DpmEvtGen/CMakeFiles/DpmEvtGen.dir/decay.f.o
[ 21%] Building Fortran object pgenerators/DpmEvtGen/CMakeFiles/DpmEvtGen.dir/dpm_gen.f.o
[ 21%] Building Fortran object pgenerators/DpmEvtGen/CMakeFiles/DpmEvtGen.dir/init.f.o
[ 21%] Building Fortran object pgenerators/DpmEvtGen/CMakeFiles/DpmEvtGen.dir/rndmget.f.o
[ 21%] Building Fortran object pgenerators/DpmEvtGen/CMakeFiles/DpmEvtGen.dir/string.f.o
Linking Fortran shared library ../../lib/libDpmEvtGen.so
/usr/bin/libtool: can't locate file for: -lGui
/usr/bin/libtool: file: -lGui is not an object file (not allowed in a library)
/usr/bin/libtool: can't locate file for: -lCore
/usr/bin/libtool: file: -lCore is not an object file (not allowed in a library)
/usr/bin/libtool: can't locate file for: -lCint
/usr/bin/libtool: file: -lCint is not an object file (not allowed in a library)
/usr/bin/libtool: can't locate file for: -lRIO
/usr/bin/libtool: file: -lRIO is not an object file (not allowed in a library)
/usr/bin/libtool: can't locate file for: -lNet
/usr/bin/libtool: file: -lNet is not an object file (not allowed in a library)
/usr/bin/libtool: can't locate file for: -lHist
/usr/bin/libtool: file: -lHist is not an object file (not allowed in a library)
/usr/bin/libtool: can't locate file for: -lGraf
/usr/bin/libtool: file: -lGraf is not an object file (not allowed in a library)
/usr/bin/libtool: can't locate file for: -lGraf3d
/usr/bin/libtool: file: -lGraf3d is not an object file (not allowed in a library)
/usr/bin/libtool: can't locate file for: -lGpad
/usr/bin/libtool: file: -lGpad is not an object file (not allowed in a library)
/usr/bin/libtool: can't locate file for: -lTree
/usr/bin/libtool: file: -lTree is not an object file (not allowed in a library)
/usr/bin/libtool: can't locate file for: -lRint
/usr/bin/libtool: file: -lRint is not an object file (not allowed in a library)
/usr/bin/libtool: can't locate file for: -lPostscript
/usr/bin/libtool: file: -lPostscript is not an object file (not allowed in a library)
/usr/bin/libtool: can't locate file for: -lMatrix
/usr/bin/libtool: file: -lMatrix is not an object file (not allowed in a library)
/usr/bin/libtool: can't locate file for: -lPhysics
/usr/bin/libtool: file: -lPhysics is not an object file (not allowed in a library)
/usr/bin/libtool: can't locate file for: -lMathCore
/usr/bin/libtool: file: -lMathCore is not an object file (not allowed in a library)
/usr/bin/libtool: can't locate file for: -lThread
/usr/bin/libtool: file: -lThread is not an object file (not allowed in a library)
make[2]: *** [lib/libDpmEvtGen.0.0.0.so] Error 1
make[1]: *** [pgenerators/DpmEvtGen/CMakeFiles/DpmEvtGen.dir/all] Error 2
make: *** [all] Error 2
ikp635:buildpanda himani$ 





[Updated on: Thu, 04 July 2013 12:42] by Moderator

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [FIXED] Problems in compiling EvtGenDirect
Next Topic: [FIXED] Not set McMotherIdx
Goto Forum:
  


Current Time: Tue Oct 15 14:11:34 CEST 2024

Total time taken to generate the page: 0.00858 seconds