Has anybody been able to compile it++ straight out of the box with Visual Studio 2005? I keep getting an error that numeric_limits is not a member of std at the following line (91) in scalfunc.h
1>e:\research\experiments\rtaudio\itpp-3.10.0\itpp\base\scalfunc.h(90) : error C2039: 'numeric_limits' : is not a member of 'std'
1>e:\research\experiments\rtaudio\itpp-3.10.0\itpp\base\scalfunc.h(90) : error C2065: 'numeric_limits' : undeclared identifier
1>e:\research\experiments\rtaudio\itpp-3.10.0\itpp\base\scalfunc.h(90) : error C2062: type 'double' unexpected
1>e:\research\experiments\rtaudio\itpp-3.10.0\itpp\base\scalfunc.h(90) : error C2039: 'epsilon' : is not a member of '`global namespace''
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Has anybody been able to compile it++ straight out of the box with Visual Studio 2005? I keep getting an error that numeric_limits is not a member of std at the following line (91) in scalfunc.h
const double eps = std::numeric_limits<double>::epsilon();
1>e:\research\experiments\rtaudio\itpp-3.10.0\itpp\base\scalfunc.h(90) : error C2039: 'numeric_limits' : is not a member of 'std'
1>e:\research\experiments\rtaudio\itpp-3.10.0\itpp\base\scalfunc.h(90) : error C2065: 'numeric_limits' : undeclared identifier
1>e:\research\experiments\rtaudio\itpp-3.10.0\itpp\base\scalfunc.h(90) : error C2062: type 'double' unexpected
1>e:\research\experiments\rtaudio\itpp-3.10.0\itpp\base\scalfunc.h(90) : error C2039: 'epsilon' : is not a member of '`global namespace''
yup. That works fine.
I was able to get rid of these errors by adding #include <limits> to scalfunc.h
But there is still another error:
1>e:\research\experiments\rtaudio\itpp-3.10.0\itpp\protocol\selective_repeat.cpp(78) : error C2220: warning treated as error - no 'object' file generated
Could you please try the following patch for the second problem (itpp/protocol/selective_repeat.cpp, line 78)?
/ediap
Ops! There is a small bug in the patch above. Here is corrected version:
/ediap