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

Reply via email to