Home » PANDA » PandaRoot » Bugs, Fixes, Releases » cmake error in pandaroot installation
Re: cmake error in pandaroot installation [message #7518 is a reply to message #7396] |
Tue, 11 November 2008 10:07 |
Sverre Dørheim
Messages: 23 Registered: October 2008 Location: Munich
|
occasional visitor |
From: *natpool.mwn.de
|
|
I also get part of the error message. The part that it doesnt find the Rule Checker. I tried the fix posted by you and it had no effect. I have the external packages installed(july08 version). CMake is installed from the package system of ubuntu.
Panda-version is the trunk-version downloaded with subversion.
Note: I have in spite of the error also tried to compile pandaroot, which results in compile errors. I will post them after the cmake output.
Here comes the cmake output:
sverre@sverre-laptop:~/pandaroot/buildPanda$ cmake ../trunk
--- Found a Linux ssytem
--- Found GNU compiler collection
--- Build Type: Debug
--- Compiler Flags: -g
-- Looking for Root...
-- Looking for Root... - found /home/sverre/fairsoft/tools/root/bin/root
-- Looking for Root... - version 5.20/00
-- Looking for Pluto...
-- Looking for Pluto... - found /home/sverre/fairsoft/generators/lib
-- Looking for Pythia6...
-- Looking for Pythia6... - found /home/sverre/fairsoft/generators/lib
-- Looking for GEANT3...
-- Looking for GEANT3... - found /home/sverre/fairsoft/transport/geant3/lib/tgt_linuxx8664gcc/libgeant321 .so
-- Looking for GEANT4...
-- Looking for GEANT4... - found /home/sverre/fairsoft/transport/geant4/lib/Linux-g++
-- Looking for GEANT4VMC...
-- Looking for GEANT4VMC... - found /home/sverre/fairsoft/transport/geant4_vmc/lib/tgt_linuxx8664gcc
-- Looking for VGM...
-- Looking for VGM... - found /home/sverre/fairsoft/transport/vgm/lib
-- Looking for CLHEP...
-- Looking for CLHEP... - found /home/sverre/fairsoft/cern/clhep/lib
-- Looking for Java...
-- Looking for Java... - found /usr/bin/java
-- Looking for Perl...
-- Looking for Perl... - found /usr/bin/perl
-- Looking for Rule Checker...
HIER
-- Looking for Rule Checker... - Not found
running /bin/chmod u+x /home/sverre/pandaroot/buildPanda/macro/run/run_sim.sh 2>&1
running /bin/chmod u+x /home/sverre/pandaroot/buildPanda/macro/run/run_sim1.sh 2>&1
-- Configuring done
CMake Warning (dev) at pgenerators/DpmEvtGen/CMakeLists.txt:44 (add_executable):
Policy CMP0003 should be set before this line. Add code such as
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
as early as possible but after the most recent call to
cmake_minimum_required or cmake_policy(VERSION). This warning appears
because target "DpmEvtGen_exe" links to some libraries for which the linker
must search:
EG
and other libraries with known full path:
/home/sverre/pandaroot/buildPanda/lib/libDpmEvtGen.so.0.0.0
CMake is adding directories in the second list to the linker search path in
case they are needed to find libraries from the first list (for backwards
compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable
or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for
more information.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /home/sverre/pandaroot/buildPanda
Make output:
Before this, only some warnings
Linking CXX shared library ../lib/libRho.so
[ 96%] Built target Rho
[ 97%] Generating EventDisplayDict.cxx, EventDisplayDict.h
Error: cannot open file "TEveEventManager.h" /home/sverre/pandaroot/trunk/eventdisplay/FairEventManager.h:11:
Error: class,struct,union or type TEveEventManager not defined /home/sverre/pandaroot/trunk/eventdisplay/FairEventManager.h:17:
Error: Symbol TGListTreeItem is not defined in current scope /home/sverre/pandaroot/trunk/eventdisplay/FairEventManager.h:52:
Error: Symbol fEvent is not defined in current scope /home/sverre/pandaroot/trunk/eventdisplay/FairEventManager.h:52:
Error: cannot open file "TEveTrackPropagator.h" /home/sverre/pandaroot/trunk/eventdisplay/FairMCTracks.h:20:
Error: Symbol TParticle is not defined in current scope /home/sverre/pandaroot/trunk/eventdisplay/FairMCTracks.h:53:
Error: Symbol P is not defined in current scope /home/sverre/pandaroot/trunk/eventdisplay/FairMCTracks.h:53:
Error: Symbol TEveTrackPropagator is not defined in current scope /home/sverre/pandaroot/trunk/eventdisplay/FairMCTracks.h:59:
Error: Symbol fTrPr is not defined in current scope /home/sverre/pandaroot/trunk/eventdisplay/FairMCTracks.h:59:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing /home/sverre/pandaroot/buildPanda/eventdisplay/EventDisplayDict.cxx /home/sverre/pandaroot/buildPanda/eventdisplay/EventDisplayDict.h !!!
Error: /home/sverre/fairsoft/tools/root/bin/rootcint: error loading headers...
make[2]: *** [eventdisplay/EventDisplayDict.cxx] Error 1
make[1]: *** [eventdisplay/CMakeFiles/EventDisplay.dir/all] Error 2
make: *** [all] Error 2
Thanks
Sverre
[Updated on: Tue, 11 November 2008 11:14] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Thu Dec 05 17:32:10 CET 2024
Total time taken to generate the page: 0.00960 seconds
|