The libavcodec error message you mention should be helped by building with USE_FFMPEG=0
If your format needs are minimal, it might be expedient to try adding as many USE_FOO=0 as you possibly can, for all the formats you don't absolutely need. (make help --> should list all the USE_FOO choices) Then you can slowly add them back one by one to discover which ones just don't have the right static libs. > On Apr 28, 2017, at 5:28 PM, Jeff McCarrell <[email protected]> wrote: > > My goal is to build a statically linked oiiotool for macosx. > I don't require all of the image file formats. > I could live with just OpenEXR and JPEG to get started. > > So I tried: > > $ make USE_OPENGL=0 USE_QT=0 USE_PYTHON=0 BUILDSTATIC=1 LINKSTATIC=1 > > and wound up with many linker errors; here is one as an example: > > [ 81%] Linking CXX executable filter_test > Undefined symbols for architecture x86_64: > "_AudioConverterDispose", referenced from: > _ffat_close_decoder in libavcodec.a(audiotoolboxdec.o) > _ffat_close_encoder in libavcodec.a(audiotoolboxenc.o) > > I searched the github issues page looking for 'static' and read some of the > prior issues but didn't see an obvious path forward. > > Can anyone point me in the right direction? > thanks... > > -- jeff > > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org -- Larry Gritz [email protected] _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
