[Rivet] difficulties with compiling Rivet on Mac

Jong Soo Kim jongsoo.kim at adelaide.edu.au
Wed Mar 27 13:23:14 GMT 2013


Hi,

I tried to compile Rivet on my MacBook. The version of the gcc is 4.2.1. It seems to me that isnan is not defined in Axis.h, although it is defined in the cmath header. I just put the compiler error message below

Cheers,

Jong Soo


In file included from ../../include/LWH/Histogram1D.h:10,
                 from ../../include/LWH/HistogramFactory.h:9,
                 from ../../include/LWH/AnalysisFactory.h:10,
                 from RivetAIDA.cc:6:
../../include/LWH/Axis.h: In member function 'virtual int LWH::Axis::coordToIndex(double) const':
../../include/LWH/Axis.h:118: error: 'isnan' was not declared in this scope
  CXX    libRivetTools_la-RivetPaths.lo
../../include/Rivet/Math/MathHeader.hh: At global scope:
../../include/Rivet/Math/MathHeader.hh:44: warning: 'Rivet::MAXINT' defined but not used
make[3]: *** [libRivetTools_la-RivetAIDA.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
eduroam-206-65:rivet jsk$ ./rivet-bootstrap 



More information about the Rivet mailing list