Re: [ROOT] Howto embedded root in my own C/C++ application

From: Elias Athanasopoulos (
Date: Thu Sep 16 2004 - 04:20:57 MEST


On Fri, Sep 17, 2004 at 12:26:04AM +0800, Kuang-Chun Cheng wrote:
> I'm new to ROOT and want to know if it possible to embedded
> ROOT inside my C/C++ application. Any documentation and
> simple example is appreciated. Thanks.

ROOT is written in C++. The easiest way, AFAIK, to link the
ROOT libs in your C++ application, in order to use ROOT's
funtionality is:

% gcc foo.cxx -o foo `root-config --cflags --libs`

University of Athens			I bet the human brain 
Physics Department				is a kludge --Marvin Minsky 


This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET