Dear Brett Thank you very much for your answer, which solved my problem. Sorrowly, the final step of my gui does not work, i.e. linking my libraries, as I describe in my next mail to root. Best regards Christian Brett Viren wrote: > cstrato@EUnet.at writes: > > Dear Fons, dear Rooters: > > > > How do I compile the “guitest.C” example in the tutorials > > as standalone program, especially when I separate the > > file into “guitest.h” and “guitest.cxx”? > > Do I need to create a dictionary file? > > Yes. > > > How should the macro look like? > > Take a look at the test/guiviewer* files and the entry for > guiviewerDict at the end of test/Makefile. > > Basically, you need a LinkDef.h file and to generate the dictionary by > runny "rootcint" like: > > rootcint -f guitestCint.cc -c guitest.h guitestLinkdef.h > > Then compile and link the generated guitestCint.cc and your > guitest.cxx. > > -Brett.
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:58 MET