Hello everyone, This is what my LinkDef file looks like at the moment. #ifdef _CINT_ #pragma link off all globals; #pragma link off all classes; #pragma link off all functions; #pragma link C++ global boutons; #pragma link C++ global boutons2; #pragma link C++ global fcanvhodo1; #pragma link C++ global fcanvhodo2; #pragma link C++ global mainbar; #pragma link C++ function clearscreen; #pragma link C++ function removepads; #pragma link C++ function quit; #pragma link C++ function presenter; #pragma link C++ function evntdisp; #endif If I use the command: rootcint -f essai1Dict.cxx -c essai1.h essai1LinkDef.h I get a whole lot of errors saying that streamers in root classes are not declared. The errors look like this: Class ofstream: Streamer() not declared Class ofstream: ShowMembers() not declared Class TMethod: Streamer() not declared Class TMethod: ShowMembers() not declared Class TTimer: Streamer() not declared Class TTimer: ShowMembers() not declared Class TExMap: Streamer() not declared Class TExMap: ShowMembers() not declared Class TRefCnt: Streamer() not declared Class TRefCnt: ShowMembers() not declared ... Then the compilation just hangs. If I use the same command without the -c option it compiles but then the essai1Dict.cxx looks like this: // // File generated by rootcint at Thu Sep 6 11:48:28 2001. // Do NOT change. Changes will be lost next time file is generated // #include "TClass.h" #include "TBuffer.h" #include "TMemberInspector.h" #include "TError.h" #ifndef G__ROOT #define G__ROOT #endif #include "essai1.h" With nothing else in it and My functions cannot be used. What did I do wrong? Please does anyone know? Thanks a lot, Primrose -- MBANEFO Primirose Interne with M. Paul Force Laboratoire de Physique corpusculaire, Clermont-Ferrand, France
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:59 MET