Building mio_ffmpeg error with Xcode 10

On macOS 10.14.1 with Xcode 10.1 I've attempted to follow the directions in

RV64.app/Contents/src/mio_ffmpeg/README, but unfortunately I'm running into a couple issues.

The first issue is when I run make I get:

../../../Contents/include/TwkAudio/Audio.h:7:10: fatal error: 'limits' file not


#include <limits>


1 warning and 1 error generated.

make: *** [init.o] Error 1

This is resolvable by changing the CXXFlags in the Makefile:

STD_CXXFLAGS = -std=gnu++98 -stdlib=libc++

However when I then run make install, I hit this:

Installed plugin mio_ffmpeg.dylib.

INFO: looking in ../../../Contents/PlugIns/MovieFormats

INFO: loaded ../../../Contents/PlugIns/MovieFormats/mio_r3d.dylib

ERROR: cannot open movie plugin ../../../Contents/PlugIns/MovieFormats/mio_ffmpeg.dylib: dlopen(../../../Contents/PlugIns/MovieFormats/mio_ffmpeg.dylib, 1): Symbol not found: __ZNK5boost15program_options22error_with_option_name23substitute_placeholdersERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE

  Referenced from: ../../../Contents/PlugIns/MovieFormats/mio_ffmpeg.dylib

  Expected in: flat namespace

in ../../../Contents/PlugIns/MovieFormats/mio_ffmpeg.dylib

WARNING: ignoring ../../../Contents/PlugIns/MovieFormats/mio_ffmpeg.dylib

INFO: loaded ../../../Contents/PlugIns/MovieFormats/mio_audiofile.dylib

INFO: loaded ../../../Contents/PlugIns/MovieFormats/mio_libquicktime.dylib

INFO: loaded ../../../Contents/PlugIns/MovieFormats/mio_stdinfb.dylib

INFO: loaded ../../../Contents/PlugIns/MovieFormats/mio_mistika.dylib


It looks like the Makefiles may need some updating? Any guidance would be helpful.

1 条评论

  • 0
    Alexa Zalipyatskikh

    Hi there!

    It looks like your Xcode version is a little too recent to build with RV. Would you mind trying out an earlier version? We have had success building RV 7.2.6 plugins with Command Line Tools (macOS 10.12) for Xcode 8.3.

    You can grab the SDK from here:

    The apple developer site need you to register an account. After you log in, the page will send you directly into the older SDK downloads and is probably the easiest way.

    As a reminder, RV is not licensed to ship with support for this patented codec enabled. If you are willing to take legal responsibility for acquiring a license yourself, then you can follow the directions in the src/mio_ffmpeg/README file included in your RV install to re-compile the ffmpeg-based plugin with support for that codec enabled.