RE: [ROOT] How to use third party's shared library in Root/Cint

From: Philippe Canal (pcanal@imapserver3.fnal.gov)
Date: Wed Aug 02 2000 - 00:34:53 MEST


> >rootcint dict.C -c -p engine.h

You are still missing a way to tell rootcint which functions/class
you want to be defined in the dictionary.  For this you need
a linkdef file (see http://root.cern.ch/root/RootCintMan.html
for the details).

Also you can use a new pragma in to get all the functions in 
the engine.h file: #pragma link C++ defined_in  

#ifdef __CINT__
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;

#pragma link C++ function SomeEngineFunction;

// you may have to enter the full pathname on the next line.
#pragma link C++ defined_in engine.h; 

#endif

Philippe.



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:30 MET