To whoever can help me out, I am using the most recent CVS version of Root 3.05/05 on a PC running RedHat Linux 9. I am attempting to put together a root based gui and, using guitest as an example, I am attempting to call the TGMainFrame constructor. mainGUIframe = new TGMainFrame(gClient->GetRoot(),400,200); Presumably this tells mainGUIframe that the Primary Root program is its parent and that it should be deleted when the program ends. Everything compiles fine, but when I link it I get an error message: : undefined reference to `gClient' I am including the TGClient.h as a header which, as far as I can tell, is where this is delcared. So my questions are: Where should gClient, or fClient (also used in guitest.cxx) be declared? For that matter is there a standard way to ensure that compiled programs have the correct global variables as are provided when using the interpreter? I also looked at guitest.C and the use of signals and slots which I am somewhat familiar with from Qt. Is it possible, as the limitted documentation suggests, to get signals and slots working with a compiled program? If so, how? Is there any documentation for it? Thank you for your time, Nathan Kundtz
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET