when testing my classes added to ROOT 2.0 the following problem
has occurred:
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 2.00/00 8 March 1998 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************
CINT/ROOT C/C++ Interpreter version 5.13.42, Jan 23 1998
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
Welcome to the ROOT tutorials
Type ".x demos.C" to get a toolbar from which to execute the demos
Type ".x demoshelp.C" to see the help window
root [0]
Processing ctmac.C...
Error: No symbol ctmac() in current scope FILE: LINE:0
NULL
root [1] .pwd
Current directory: Rint:/
Current style: Default
root [2] .which ctmac
No macro ctmac in path .:~/rootmacros:$ROOTSYS/macros:$ROOTSYS/tutorials
root [3] .which ctmac.C
/afs/cern.ch/user/c/chytrace/public/cn++/./ctmac.C
I have read that some changes were made into base skeleton of starting
code for ROOT apps. My main.C looks like:
--------------
#include "TROOT.h"
#include "TRint.h"
int Error;
extern void InitGui();
VoidFuncPtr_t initfuncs[] = { InitGui, 0 };
TROOT root("Rint","The CARLOOT Interactive Interface", initfuncs);
//______________________________________________________________________________
int main(int argc, char **argv)
{
TRint *theApp = new TRint("Rint", &argc, argv, NULL, 0);
// Init Intrinsics, build all windows, and enter event loop
theApp->Run();
delete theApp;
return(0);
}
-----------------------------------
Should U change something to make the app work ?
BTW the same code works with version 1.
Regards
Radovan