Re: [ROOT] Compiling problem with TGeoChecker

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Jul 23 2002 - 12:35:57 MEST


I've no such errors using icc on the cvs head. Which version of icc do
you have? icc -V? You need icc 6.

Check even the code and see that fGeom is a data member of TGeoChecker.

Cheers, Fons.



On Tue, 2002-07-23 at 11:49, Matt Palmer wrote:
> Hi,
> I've just update root from CVS (10:42 BST 23/7/02) using the command:
> cvs -z3 update -d -P root
> and then tried building root.  I'm using the icc compiler on RedHat 7.1.  
> 
> It fails with the following errors (I've removed identical errors):
> 
> icc -O -Iinclude  -D_REENTRANT -o geompainter/src/TGeoChecker.o -c 
> geompainter/src/TGeoChecker.cxx
> geompainter/src/TGeoChecker.cxx
> geompainter/src/TGeoChecker.cxx(47): error: identifier "fGeom" is undefined
>      fGeom = 0;
>      ^
> 
> geompainter/src/TGeoChecker.cxx(51): error: no instance of overloaded 
> function "TGeoChecker::TGeoChecker" matches the specified type
>   TGeoChecker::TGeoChecker(TGeoManager *geom)
>                ^
> 
> geompainter/src/TGeoChecker.cxx(70): error: class "TGeoChecker" has no member 
> "CheckPoint"
>   void TGeoChecker::CheckPoint(Double_t x, Double_t y, Double_t z, Option_t *)
>                     ^
> 
> geompainter/src/TGeoChecker.cxx(119): error: class "TGeoChecker" has no 
> member "RandomPoints"
>   void TGeoChecker::RandomPoints(TGeoVolume *vol, Int_t npoints, Option_t 
> *option)
>                     ^
>  
> geompainter/src/TGeoChecker.cxx(189): error: class "TGeoChecker" has no 
> member "RandomRays"
>   void TGeoChecker::RandomRays(Int_t nrays, Double_t startx, Double_t starty, 
> Double_t startz)
>                     ^
>  
> geompainter/src/TGeoChecker.cxx(290): error: class "TGeoChecker" has no 
> member "SamplePoints"
>   TGeoNode *TGeoChecker::SamplePoints(Int_t npoints, Double_t &dist, Double_t 
> epsil,
>                          ^
> geompainter/src/TGeoChecker.cxx(404): error: class "TGeoChecker" has no 
> member "Test"
>   void TGeoChecker::Test(Int_t npoints, Option_t *option)
>                     ^
> geompainter/src/TGeoChecker.cxx(450): error: class "TGeoChecker" has no 
> member "TestOverlaps"
>   void TGeoChecker::TestOverlaps(const char* path)
> compilation aborted for geompainter/src/TGeoChecker.cxx (code 2)
> gmake: *** [geompainter/src/TGeoChecker.o] Error 2
> 
> 
> Anyone have any ideas?
> Thanks
> Matt
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



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