Re: [ROOT] Functions in a shared library

From: Manuel Sánchez García (manuel@fpddux.usc.es)
Date: Tue Feb 06 2001 - 19:45:08 MET


Hi,

If I understand correctly what you want to do can be achieved by compiling 
your function code together with the rest of your library. Then to make the 
functions visible in ROOT you can use

#pragma link C++ function yourFunctionName;

in your LinkDef.h

Regards,
	Manuel

On Tuesday 06 February 2001 17:02, Thomas Eberl wrote:
> Dear rooters,
>
> I have written several functions which I usually load into CINT to use
> them on the interpreter level. These functions use classes which I have
> put in a shared library following the instructions in the ROOT manual. I
> wonder now if it is possible to compile my functions and put them also
> into the shared library. Unfortunately, the manual doesn't say anything
> about this. It should be, however, easily possible ?! Could somebody
> give me an example ????
>
> Many thanks and regards
>
> Thomas



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:35 MET