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

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Mon Sep 02 2002 - 17:24:50 MEST


Hej Ole, 

On Mon, 2 Sep 2002 13:27:02 +0200
Ole Streicher <ole@ifh.de> wrote
concerning "[ROOT] Using a class from a shared lib":
>
> #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++ class pamela::MyRun+;
> 

Check this [1] link. 

> What is wrong with my code?

You need 

 #pragma link C++ namespace YOUR_NS_NAME;

too

Yours, 

 ____ |  Christian Holm Christensen 
  |_| |	 -------------------------------------------------------------
    | |	 Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
     _|	          DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
    _|	          Denmark                    Office: (+45) 353  25 305
 ____|	 Email:   cholm@nbi.dk               Web:    www.nbi.dk/~cholm
 | |
 


[1] http://root.cern.ch/root/roottalk/roottalk02/3511.html



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