Page 1 of 1

Problems compiling 1.9.9 - Gentoo Linux

Posted: Sat Jan 30, 2016 12:35 am
by sarkeizen
Error looks like this

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
Fixed by moving

Code: Select all

#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS 1
#endif


To the beginning of libmkv.cpp

Re: Problems compiling 1.9.9 - Gentoo Linux

Posted: Fri Mar 18, 2016 10:32 pm
by 03-firefly-k64
thank you! i'm two releases behind because i've not looked into the matter. this solved my problem compiling completely