From: Soeren S. <swi...@nn...> - 2008-11-26 06:06:27
|
Dear all, trying to compile shogun 0.6.7 (cf. www.shogun-toolbox.org) on an amd64 machine results in error messages like lib/Library_wrap.cxx:14048: error: invalid conversion from ‘const long long int*’ to ‘const int64_t*’ Digging into this I recognize that stdint.i should define int64 to long int but instead defines it as a long long int. (This is on swig 1.3.36). /usr/share/swig1.3/swigarch.i should define SWIGWORDSIZE64 but obviously doesn't so /usr/share/swig1.3/stdint.i defines the wrong type for int64_t. Manually adding a #define SWIGWORDSIZE64 1 in stdtint.i fixes the problem. So whats wrong here? Soeren |