[ROOT] gui example

From: Federico Roncarolo (Federico.Roncarolo@cern.ch)
Date: Wed Oct 02 2002 - 09:56:37 MEST


Hello,

I'm trying to compile the gui simple example given in 

http://root.cern.ch/root/hepvis98/newgui.html

I use a makefile I used in many examples (also to compile the example
ROOTSYS/test/guitest.cxx).

During compilation I get the error:

main.o: In function `MyMainFrame::MyMainFrame(TGWindow const *, unsigned
int, unsigned int)':
main.o(.text+0x2e): undefined reference to `MyMainFrame virtual table'
main.o(.text+0x37): undefined reference to `MyMainFrame::TQObject virtual
table'
main.o: In function `main':
main.o(.text+0x5af): undefined reference to
`MyMainFrame::~MyMainFrame(void)'
main.o(.text+0x5e5): undefined reference to
`MyMainFrame::~MyMainFrame(void)'
collect2: ld returned 1 exit status
gmake: *** [main] Error 1

Am I not linking to any library I Normally don't use?

I've RedHat 7.1, root  3.03/08.

Federico



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:12 MET