Re: [ROOT] Using a class from a shared lib

From: Ole Streicher (ole.streicher@gmx.de)
Date: Mon Sep 02 2002 - 17:36:06 MEST


Hello Christian!

Christian Holm Christensen writes:
 > Check this [1] link. 

I've read this (ofcourse ;-) )

 > You need #pragma link C++ namespace YOUR_NS_NAME;

Sorry, I forgot to include this when I wrote my mail. It is already in
my LinkDef.h; my complete LinkDef.h is

#ifdef __CINT__
 
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
#pragma link off all typedef;
#pragma link C++ nestedtypedef;
#pragma link C++ nestedclass;
#pragma link C++ namespace my;
#pragma link C++ class my::MyRun+;

#endif

So, I hope that I have been following the recommendations up to
now. But, anyway, I have still problems (namespace of "std::string").

Ole



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:06 MET