AVFoundation install fails

Issue #168 resolved
Egor Ananyev
created an issue

I'm having an issue installing pyobjc, which seems to fail at pyobjc-framework-AVFoundation. Python 64bit, Mac OS 10.9. Below is the error:

building 'AVFoundation._inlines' extension
creating build/temp.macosx-10.9-x86_64-2.7/Modules
clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.macosx-10.9-x86_64-2.7/pyobjc-include -I/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c Modules/_AVFoundation_inlines.m -o build/temp.macosx-10.9-x86_64-2.7/Modules/_AVFoundation_inlines.o -DPyObjC_BUILD_RELEASE=1009 -Wno-deprecated-declarations -isysroot /
Modules/_AVFoundation_inlines.m:11:55: error: use of undeclared identifier 'AVAudioMake3DPoint'
    { "AVAudioMake3DPoint", (PyObjC_Function_Pointer)&AVAudioMake3DPoint },
                                                      ^
Modules/_AVFoundation_inlines.m:12:56: error: use of undeclared identifier 'AVAudioMake3DVector'
    { "AVAudioMake3DVector", (PyObjC_Function_Pointer)&AVAudioMake3DVector },
                                                       ^
Modules/_AVFoundation_inlines.m:13:67: error: use of undeclared identifier 'AVAudioMake3DVectorOrientation'
    { "AVAudioMake3DVectorOrientation", (PyObjC_Function_Pointer)&AVAudioMake3DVectorOrientation },
                                                                  ^
Modules/_AVFoundation_inlines.m:14:68: error: use of undeclared identifier 'AVAudioMake3DAngularOrientation'
    { "AVAudioMake3DAngularOrientation", (PyObjC_Function_Pointer)&AVAudioMake3DAngularOrientation },
                                                                   ^
4 errors generated.
error: command 'clang' failed with exit status 1

----------------------------------------

Command "/usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;file='/private/tmp/pip-build-Wv9oey/pyobjc-framework-AVFoundation/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-xoazEy-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-Wv9oey/pyobjc-framework-AVFoundation/

Comments (4)

  1. Ronald Oussoren repo owner

    Commit 96fe9bcf960e in the default branch should fix this. The branch wil be PyObjC 3.2 once I've finished the 10.12 port and have tested on different OSX releases.

    I'm keeping this issue open because I haven't actually tested on 10.9.

  2. Log in to comment