Problems compiling 1.9.9 - Gentoo Linux

The place to discuss linux version of MakeMKV
Post Reply
sarkeizen
Posts: 1
Joined: Sat Jan 30, 2016 12:30 am

Problems compiling 1.9.9 - Gentoo Linux

Post 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
03-firefly-k64
Posts: 5
Joined: Fri Mar 20, 2015 9:47 pm

Re: Problems compiling 1.9.9 - Gentoo Linux

Post 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
Post Reply