Hello Bertalan, Thank you for your message. I can not say for sure, but I guess string class is not properly loaded yet. In some cases, entry for a class is created but definition is not loaded. Please add #include <string> somewhere and try again. Best Regards, Masaharu Goto >Hi Rooters, > >I have a class which contains member functions with a single argument of >type "string" (not "TString", not "char*"). If I compile the class, >make a shared library, and link it with an application, everything works >fine, I can use these member functions. However, when I load the same >shared library in a ROOT macro, and try to use the member functions, I get >the following error: > >Error: Can't call >ADShotConvert::SetRawFilePath("some string") in current scope >FILE:pbartest.C LINE:50 >Possible candidates are... >filename line:size busy function type and name (in ADShotConvert) >(compiled) 0:0 0 public: void SetRawFilePath(string); >*** Interpreter error recovered *** > >Any idea what can cause this? Other member functions work. > >I'm using v 3.00/06 from AFS under RedHat 6.1 for Intel x86. > >Regards, > >Bertalan
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:49 MET