After a checkout from svn repo (revision 1557) I get an error at compilation time. I use openSuSE 10.3 with ACML 4.0.1 multithreaded version and gcc version 4.2.1.
In file included from ../../../itpp/base/matfunc.h:34,
from ../../../itpp/base/math/integration.cpp:32:
../../../itpp/base/math/log_exp.h: In function 'double itpp::trunc_log(double)':
../../../itpp/base/math/log_exp.h:122: error: expected primary-expression before '==' token
../../../itpp/base/math/log_exp.h:122: error: expected primary-expression before '==' token
../../../itpp/base/math/log_exp.h:122: error: expected primary-expression before '==' token
../../../itpp/base/math/log_exp.h:122: error: expected primary-expression before '=' token
../../../itpp/base/math/log_exp.h:123: error: 'The' was not declared in this scope
../../../itpp/base/math/log_exp.h:123: error: expected ;' before 'truncated'
../../../itpp/base/math/integration.cpp:207: error: expected}' at end of input
../../../itpp/base/math/integration.cpp: At global scope:
../../../itpp/base/math/integration.cpp:207: error: expected `}' at end of input
../../../itpp/base/math/misc.h:109: warning: 'itpp::eps' defined but not used
make[4]: *** [libmath_la-integration.lo] Error 1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Adam
My sources weren't clean because have done several local modifications not resolved automatically by svn. After some manual changes, the installation was done with no errors and all tests pass.
Bogdan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately, I cannot reproduce this error on my Gentoo x86 system using GCC 4.2.3. Are you sure that you have a clean sources from SVN without any local modifications? Please also check if you have working <limits> C++ header by including it in a simple C++ program and using for instance "double inf = std::numeric_limits<double>::infinity();" in the code.
BR,
/Adam
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After a checkout from svn repo (revision 1557) I get an error at compilation time. I use openSuSE 10.3 with ACML 4.0.1 multithreaded version and gcc version 4.2.1.
In file included from ../../../itpp/base/matfunc.h:34,
from ../../../itpp/base/math/integration.cpp:32:
../../../itpp/base/math/log_exp.h: In function 'double itpp::trunc_log(double)':
../../../itpp/base/math/log_exp.h:122: error: expected primary-expression before '==' token
../../../itpp/base/math/log_exp.h:122: error: expected primary-expression before '==' token
../../../itpp/base/math/log_exp.h:122: error: expected primary-expression before '==' token
../../../itpp/base/math/log_exp.h:122: error: expected primary-expression before '=' token
../../../itpp/base/math/log_exp.h:123: error: 'The' was not declared in this scope
../../../itpp/base/math/log_exp.h:123: error: expected
;' before 'truncated' ../../../itpp/base/math/integration.cpp:207: error: expected
}' at end of input../../../itpp/base/math/integration.cpp: At global scope:
../../../itpp/base/math/integration.cpp:207: error: expected `}' at end of input
../../../itpp/base/math/misc.h:109: warning: 'itpp::eps' defined but not used
make[4]: *** [libmath_la-integration.lo] Error 1
Hi Adam
My sources weren't clean because have done several local modifications not resolved automatically by svn. After some manual changes, the installation was done with no errors and all tests pass.
Bogdan
Hi Bogdan,
Unfortunately, I cannot reproduce this error on my Gentoo x86 system using GCC 4.2.3. Are you sure that you have a clean sources from SVN without any local modifications? Please also check if you have working <limits> C++ header by including it in a simple C++ program and using for instance "double inf = std::numeric_limits<double>::infinity();" in the code.
BR,
/Adam