Problems compiling 1.9.9 - Gentoo Linux
Posted: Sat Jan 30, 2016 12:35 am
Error looks like this
Fixed by moving
To the beginning of libmkv.cpp
Code: Select all
libmatroska::KaxTags&, unsigned int, uint64_t, const char*)':
libmakemkv/src/libmkv.cpp:383:53: error: expected ')' before 'PRIu64'
sprintf_s(buffer,sizeof(buffer),"%" PRIu64,values[i]);
^
libmakemkv/src/libmkv.cpp:391:49: error: expected ')' before 'PRIu64'
sprintf_s(buffer,sizeof(buffer),"%" PRIu64,stat_bytes);
^
make: *** [out/libmakemkv.so.1.full] Error 1
Code: Select all
#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS 1
#endif
To the beginning of libmkv.cpp