Can't compile makemkv 1.10.5 oss
Posted: Fri Mar 31, 2017 3:33 am
I tried to compile makemkv 1.10.5 oss as follows;
CFLAGS="-D__STDC_FORMAT_MACROS" ./configure && make
But I got an error;
[...]
libffabi/src/dcadec/interpolator_fixed.cpp: In function 'void interpolate_sub64_fixed(interpolator*, int*, int**, int**, int, bool)':
libffabi/src/dcadec/interpolator_fixed.cpp:162:36: error: 'INT64_C' was not declared in this scope
int64_t res = INT64_C(0);
^
libffabi/src/dcadec/interpolator_fixed.cpp:177:36: error: 'INT64_C' was not declared in this scope
int64_t res = INT64_C(0);
^
In file included from libffabi/src/dcadec/interpolator_float.cpp:22:0:
libffabi/src/dcadec/fixed_math.h: In function 'int64_t round__(int64_t, int)':
libffabi/src/dcadec/fixed_math.h:25:31: error: 'INT64_C' was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function 'int32_t norm__(int64_t, int)':
libffabi/src/dcadec/fixed_math.h:33:41: error: 'INT64_C' was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
In file included from libffabi/src/dcadec/xll_decoder.cpp:21:0:
libffabi/src/dcadec/fixed_math.h: In function 'int64_t round__(int64_t, int)':
libffabi/src/dcadec/fixed_math.h:25:31: error: 'INT64_C' was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function 'int32_t norm__(int64_t, int)':
libffabi/src/dcadec/fixed_math.h:33:41: error: 'INT64_C' was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
libffabi/src/dcadec/xll_decoder.cpp: In function 'void xll_filter_band_data(xll_chset*, int)':
libffabi/src/dcadec/xll_decoder.cpp:618:40: error: 'INT64_C' was not declared in this scope
int64_t err = INT64_C(0);
^
Makefile:74: recipe for target 'out/libmakemkv.so.1.full' failed
make: *** [out/libmakemkv.so.1.full] Error 1
Any Idea?
Thanks,
CFLAGS="-D__STDC_FORMAT_MACROS" ./configure && make
But I got an error;
[...]
libffabi/src/dcadec/interpolator_fixed.cpp: In function 'void interpolate_sub64_fixed(interpolator*, int*, int**, int**, int, bool)':
libffabi/src/dcadec/interpolator_fixed.cpp:162:36: error: 'INT64_C' was not declared in this scope
int64_t res = INT64_C(0);
^
libffabi/src/dcadec/interpolator_fixed.cpp:177:36: error: 'INT64_C' was not declared in this scope
int64_t res = INT64_C(0);
^
In file included from libffabi/src/dcadec/interpolator_float.cpp:22:0:
libffabi/src/dcadec/fixed_math.h: In function 'int64_t round__(int64_t, int)':
libffabi/src/dcadec/fixed_math.h:25:31: error: 'INT64_C' was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function 'int32_t norm__(int64_t, int)':
libffabi/src/dcadec/fixed_math.h:33:41: error: 'INT64_C' was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
In file included from libffabi/src/dcadec/xll_decoder.cpp:21:0:
libffabi/src/dcadec/fixed_math.h: In function 'int64_t round__(int64_t, int)':
libffabi/src/dcadec/fixed_math.h:25:31: error: 'INT64_C' was not declared in this scope
return (a + (INT64_C(1) << (bits - 1))) & ~((INT64_C(1) << bits) - 1);
^
libffabi/src/dcadec/fixed_math.h: In function 'int32_t norm__(int64_t, int)':
libffabi/src/dcadec/fixed_math.h:33:41: error: 'INT64_C' was not declared in this scope
return (int32_t)((a + (INT64_C(1) << (bits - 1))) >> bits);
^
libffabi/src/dcadec/xll_decoder.cpp: In function 'void xll_filter_band_data(xll_chset*, int)':
libffabi/src/dcadec/xll_decoder.cpp:618:40: error: 'INT64_C' was not declared in this scope
int64_t err = INT64_C(0);
^
Makefile:74: recipe for target 'out/libmakemkv.so.1.full' failed
make: *** [out/libmakemkv.so.1.full] Error 1
Any Idea?
Thanks,