RE: [ROOT] adding a local library

From: Philippe Canal (pcanal@fnal.gov)
Date: Mon Jul 28 2003 - 21:54:30 MEST


Hi,

Well ... this could have several meaning.  What is it that you specifically
are trying to do (and did you read the User's Guide's chapter on the
subject)?

So some solutions:
To just load it
	root [] .L mylib.so
To make ACLiC use it
	root [] gSystem->AddLinkedLibs(" -lmylib ");
Or load the library and make it available at the cint prompt:
	root [] .L mylib.so
	root [] .L revelantHeader.h+

Cheers,
Philippe

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Christopher B.
Lirakis
Sent: Monday, July 28, 2003 2:24 PM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] adding a local library


Hello,
         I am sure that this is possible, but I can't seem to find an
example. Given a library, shared or static, can I tell cint that I want to
be able to access that library? How would I do that?
Regards
Chris

-Christopher B. Lirakis, Phd
-High Performance Computing
-BBN Technologies
-127 John Clarke Rd
-Middletown, RI 02842
-
-(401) 849-2543 (voice) - Front Desk
-(401) 848-3537 (voice) - Direct Line.
-(401) 849-8611 (fax)
-(401) 788-4607 (cell)
-(401) 872-5689 (Pager)
-
- http://www.bbn.com



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET