Rooters, I'm trying to run the following code: #include <TROOT.h> #include <TApplication.h> #include <TGClient.h> #include <TidGUI.h> extern void InitGui(); VoidFuncPtr_t initfuncs[] = { InitGui, 0 }; TROOT root("Client", "PROTO GUI environement", initfuncs); int main(int argc, char **argv) { TApplication theApp("App", &argc, argv); TidGUI g; theApp.Run(); return 0; } I am able to run it on a computer where ROOT 3.00 is installed. On another computer with ROOT 3.01-03, I get the following error message at the line where I construct the theApp object: Error: class,struct,union or type TGeometry not defined FILE: LINE:0 Error: No symbol TGeometry::Get("TGX11") in current scope FILE: LINE:0 *** Interpreter error recovered *** Error: No symbol TGX11 in current scope FILE: LINE:0 Error: type TGX11 not defined FILE: LINE:0 *** Interpreter error recovered *** Error: class,struct,union or type TGeometry not defined FILE: LINE:0 Error: No symbol TGeometry::Get("TRootGuiFactory") in current scope FILE: LINE:0 *** Interpreter error recovered *** Error: No symbol TRootGuiFactory in current scope FILE: LINE:0 Error: type TRootGuiFactory not defined FILE: LINE:0 *** Interpreter error recovered *** *** Break *** segmentation violation Any suggestions? Thanks, Julien. ----------------------++---------------------- Julien Sylvestre email: julien@ligo.mit.edu phone: 617-253-7878 URL: web.mit.edu/julien/www
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:47 MET