widget errors from ROOT on HP-UX 10

From: David Urner (urner@uxf.npl.uiuc.edu)
Date: Mon Dec 15 1997 - 17:03:02 MET


Hi,

This question was asked before, and I apologize for repost it, but we are not
able to find a solution. We are compiling with the appended makefile, which
is done along the lines for the makefile in the test area. 

	I'm able to load a root file, but then if I try to access a class
like opening a TBrowser for example I always get the error:
	"Error: attempt to add non-widget child "Separator1" to parent "c1" 		
                which supports only widgets"

Any help would be greatly appreciated

			David

ROOTLIBS      = -L$(ROOTSYS)/lib -lNew -lBase -lCint -lClib -lCont -lFunc \
                -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMeta -lMinuit -lNet
\
                -lPostscript -lProof -lTree -lUnix -lZip
ROOTGLIBS     = -lGpad -lGX11 -lMotif -lWidgets -lX3d
ROOTOLIBS     = -lEG -lEGPythia -lEGVenus -lRGL -lRint -lZip
CLIBS = -lcodelibs
LIBS          = -lm $(ROOTLIBS)
GLIBS         = $(ROOTGLIBS)
$(ROOTOLIBS) -L/usr/lib/Motif1.2 -L/usr/lib/X11R5 \
                       -lXm -lXt -lX11 -lm -lPW -ldld
HPLIBS = -L/usr/lib $(LIBS) $(GLIBS)

.cpp.o:
        $(CC) $(CCFLAGS) $(CCDEFINES) ${DBG} $(INCLUDES)   -c $<

${EXECUTABLE}: ${OBJS}
        $(CC) $(CCFLAGS) $(CCDEFINES) ${DBG} -Wl,-E -o $@ ${OBJS} ${HPLI
BS}

Also, there were no unresolved references during the link stage.  The error
messages reference to "c1" seems to indicate to me that the error message is
being written by ROOT, but I cant find any coincidence of  "Error: attempt
to add non-widget" in any of the ROOT source or include files.  Does anyone
know what I'm doing wrong?

William J. Deninger



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:22 MET