you need to link with Motif and not the Athena widgets.
Cheers, Fons.
William J. Deninger wrote:
>
> Hi,
>
> When I run my compiled ROOT on our HP-UX B.10.20, I'm getting the following
> error
> when implementing TCanvas.
>
> root [0] c1 = new TCanvas("c1","c1");
> Error: attempt to add non-widget child "Separator1" to parent "c1" which
> supports only widgets
>
> It sounds like the Athena Widget libraries aren't seen by ROOT, but this
> doesn't occur when I implement TCanvas from the precompiled ROOT retrieved
> from the root web site. Any suggestions for a HP-UX neophyte?
>
> William J. Deninger
> deninger@uiuc.edu
-- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland Phone: +41 22 7679248 E-Mail: Fons.Rademakers@cern.ch Fax: +41 22 7677910