Message: Re: Analysis with ROOT and cmake Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Analysis with ROOT and cmake 

Forum: Analysis
Re: Question Analysis with ROOT and cmake (David Krapohl)
Date: 13 Jan, 2012
From: David Krapohl <David Krapohl>

Thanks for your replies and sorry for my late answer. Yes, I solved it. I am working with KDevelop4 and got it to run adding this:

set(CMAKE_EXE_LINKER_FLAGS "-L/usr/lib/root -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -pthread -lm -ldl -rdynamic")

SET(CMAKE_MODULE_PATH /opt/geant4/geant4.9.5/cmake/Modules/)
find_package(ROOT)
include_directories(/usr/include/root/)

option(ANALYSIS_HH_ "Build with ROOT" 1)
add_definitions(-DG4UI_USE -DG4VIS_USE -DANALYSIS_HH_)

David

 Add Message Add Message
to: "Re: Analysis with ROOT and cmake"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]