GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » New update (9/18/2012) not working
Re: New update (9/18/2012) not working [message #13983 is a reply to message #13973] Wed, 19 September 2012 21:00 Go to previous messageGo to previous message
Raghav Kunnawalkam is currently offline  Raghav Kunnawalkam
Messages: 63
Registered: February 2012
Location: Stony Brook, New York
continuous participant
From: *physics.sunysb.edu
Hi

I also have a similar problem with FairLogger.cxx. I tried deleting what i had and updated it with the current version available on svn. Still after doing that it gives me the same error.

raghav:build raghav$ cmake ../
--- Found a Mac OS X System 10.7
--- Found GNU compiler collection
--- Build Type: RelWithDebInfo
--- Compiler Flags: -m64
-- Looking for Root...
-- Looking for Root... - Found /Users/raghav/fairsoft/tools/root/bin/root
-- Looking for Root... - version 5.32/00
-- Looking for Pluto...
-- Looking for Pluto... - found /Users/raghav/fairsoft/generators/lib
-- Looking for Pythia6...
-- Looking for Pythia6... - found /Users/raghav/fairsoft/generators/lib
-- Looking for GEANT3...
-- Looking for GEANT3... - found /Users/raghav/fairsoft/transport/geant3/lib/libgeant321.so
-- Looking for GEANT4...
-- Looking for GEANT4... - found /Users/raghav/fairsoft/transport/geant4/lib
-- Looking for GEANT4 DATA files...
-- Looking for GEANT4VMC...
-- Looking for GEANT4VMC... - found /Users/raghav/fairsoft/transport/geant4_vmc/lib
-- Looking for VGM...
-- Looking for VGM... - found /Users/raghav/fairsoft/transport/vgm/lib
-- Looking for CLHEP...
-- Looking for CLHEP... - found /Users/raghav/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...
-- Looking for Rule Checker... - No Rules found
-- Looking for Rule Checker... - Not found
-- Looking for Boost ...
-- Boost version: 1.48.0
Build the unit tests.
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/raghav/fairroot/build
raghav:build raghav$ make
[ 1%] Generating G__FairToolsDict.cxx
Scanning dependencies of target FairTools
[ 2%] Building CXX object fairtools/CMakeFiles/FairTools.dir/FairLogger.cxx.o
In file included from /Users/raghav/fairroot/fairtools/FairLogger.cxx:8:
In file included from /Users/raghav/fairroot/fairtools/FairLogger.h:22:
In file included from /Users/raghav/fairsoft/tools/root/include/Rtypes.h:24:
/Users/raghav/fairsoft/tools/root/include/RConfig.h:377:13: fatal error: 'TargetConditionals.h' file not
found
# include <TargetConditionals.h>
^
1 error generated.
make[2]: *** [fairtools/CMakeFiles/FairTools.dir/FairLogger.cxx.o] Error 1
make[1]: *** [fairtools/CMakeFiles/FairTools.dir/all] Error 2
make: *** [all] Error 2
raghav:build raghav$

I am pretty sure that there is some mistake regarding where it is looking for the required header files etc...

So i went inside the RConfig.h file and told it where the file TargetConditionals.h file was, it was in /usr/include/TargetConditionals.h .

Now it is telling me this
[ 1%] Building CXX object fairtools/CMakeFiles/FairTools.dir/FairLogger.cxx.o
In file included from /Users/raghav/fairroot/fairtools/FairLogger.cxx:8:
In file included from /Users/raghav/fairroot/fairtools/FairLogger.h:22:
In file included from /Users/raghav/fairsoft/tools/root/include/Rtypes.h:30:
/Users/raghav/fairsoft/tools/root/include/Rtypeinfo.h:32:10: fatal error: 'typeinfo' file not found
#include <typeinfo>
^
1 error generated.
make[2]: *** [fairtools/CMakeFiles/FairTools.dir/FairLogger.cxx.o] Error 1
make[1]: *** [fairtools/CMakeFiles/FairTools.dir/all] Error 2
make: *** [all] Error 2
raghav:build raghav$

This is very confusing because i am not sure which variable needs to be set for it to see these required files.

Any help would be greatly appreciated
Thanks!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Unable to run rutherford example with new update (9/19/12)
Next Topic: fairbase does not compiile properly as is (10-5-12) [SOLVED]
Goto Forum:
  


Current Time: Wed Dec 07 11:09:15 CET 2022

Total time taken to generate the page: 0.01068 seconds