Re: [ROOT] Problem with 3D histogram

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Sep 12 2003 - 00:46:13 MEST


Hi Christian,

  how do you link your program? Do you use root-config --glibs to get
all the needed libraries? If yes show me how you link.

Cheers, Fons.


On Thu, 2003-09-11 at 23:44, cstrato wrote:
> Dear Rooters
> 
> In my GUI app I want to draw 1D, 2D and 3D histograms.
> 
> As usual, I created first a macro and everything works fine.
> Then I compiled the macro with ACLiC, and everything is ok.
> Finally, I created myapp.h and myapp.cxx files, a linkdef file
> and compiled myapp. Drawing 1D and 2D histograms works fine.
> 
> Sorrowly, the compiled application is no longer able to draw
> 3D histograms, but I get the following error when running myapp:
> 
> Error: class,struct,union or type $TPolyMarker3D not defined  
> FILE:(tmpfile) LINE:1
> Error: class,struct,union or type $TPolyMarker3D not defined  
> FILE:(tmpfile) LINE:1
> Error: Function PaintH3((TH1*)0x2c18ad0,"scat") is not defined in 
> current scope  FILE:(tmpfile) LINE:1
> Possible candidates are...
> filename       line:size busy function type and name  
> *** Interpreter error recovered ***
> 
> Do you know what might be wrong?
> Do I have to link my application with a special library?
> 
> I am using root 3.10/00 from 16 Aug on MacOS X 10.2.4.
> 
> Thank you in advance for your help.
> Best regards
> Christian
> _._._._._._._._._._._._._._._._
> C.h.i.s.t.i.a.n S.t.r.a.t.o.w.a
> V.i.e.n.n.a       A.u.s.t.r.i.a
> _._._._._._._._._._._._._._._._
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET