<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>Now fighting with demux/mkv/util.cpp:192:79: error: expected ‘)’ before ‘PRId64’</p>
<p>Am I doing something fundamentally wrong since I keep running into error after error?</p>
</blockquote>
<p>No, this is probably the fault of some missing include related to the file in question (relying on implementation-defined behavior). I will submit a patch for it as soon as possible.</p>
</blockquote>
<p>Looking into the issue the relevant headers for PRId64 should be implicitly included:</p>
<pre><code>"util.cpp" --> "util.hpp" --> "mkv.hpp" --> <vlc_common.h> --> <inttypes.h></code></pre>
<p>I did–however–notice that the usage of PRId64 is wrong on the particular line in question, so this problem should be sorted out by an upcoming patch (the value printed is an unsigned in, PRId64 is therefore wrong).</p>
<h3 id="does-the-following-sample-compile-on-your-system">Does the following sample compile on your system?</h3>
<pre><code>#include <inttypes.h>
#include <stdint.h>
#include <stdio.h>

int main()
{
  uint64_t x = INT64_C( 1024 * 42 );

  printf( "x: %" PRId64 "\n", x );

  return 0;
}</code></pre>
<p>If it does not reproduce the behavior you describe further investigation is required in order to diagnose why things are failing. Let me know if you need help.</p>