|Re: PndTracking2 - mvd and stt code with genfit2 [message #16617 is a reply to message #16616]
||Wed, 14 May 2014 13:52
Elisabetta Prencipe (2)
Registered: February 2013
Dear Gianluigi and dear Martin,|
unfortunately the error appear when I just try "make" of the trunk24275, so there is not a lot to learn from it.
Here it is:
[ 56%] Generating G__MvdDict.cxx
Scanning dependencies of target Mvd
[ 56%] Building CXX object mvd/CMakeFiles/Mvd.dir/G__MvdDict.cxx.o
Linking CXX shared library ../lib/libMvd.so
/usr/bin/ld: cannot find -lRecoHits
/usr/bin/ld: cannot find -lgenfit2
/usr/bin/ld: cannot find -ltrackrep
collect2: error: ld returned 1 exit status
make: *** [lib/libMvd.so.0.0.0] Error 1
make: *** [mvd/CMakeFiles/Mvd.dir/all] Error 2
make: *** [all] Error 2
If I comment out mvd from the CMakeList.txt of the trunk24275, then it compiles 100%, and I can simulate and digitize events....but without the mvd....
Of course to comment the mvd out of the CMakeList.txt, it is not a solution. It is just a checking if troubles apper even with other detectors. I get such a problem with mvd mainly; then also dirc amd lmd produce crashes, but only when I run the macros.
In your experience, do you have any idea at which level genfit acts in the mvd code, so I can understand why the compilation is stopped at 56% ? It does not make so much sense to me...
By the way, PndTracking2, in he reconstruction macro, without adding the mvd in the main CMakelist.txt of pandaroot, does not work at all (always in the hypothesis to use genfit2, of course).