-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Hi,
So I've attempted to clone and setup twice now, with the master branch and the dev branch. I am on OSX 10.12.1 (Sierra) with Python 3.5.2. When running setup.py I get a lot of warnings of this sort:
aaf/storage.cpp:12158:33: warning: unused function '__Pyx_PyInt_FromSize_t'
[-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
After the install completes I attempt to do "import aaf" and I get:
dlopen() failed for libcom-api.dylib: <dlopen(libcom-api.dylib, 2): image not found>
dlopen() failed for libcom-api.dylib: <dlopen(libcom-api.dylib, 2): image not found>
Traceback (most recent call last):
File "/Users/Kev/Dropbox/Programming/PyAAF/tests/test_ClassDef.py", line 2, in
import aaf
File "/Users/Kev/anaconda/lib/python3.5/aaf/init.py", line 8, in
core.register_all(path)
File "aaf/core.pyx", line 19, in aaf.core.register_all (aaf/core.cpp:1162)
File "aaf/util.pyx", line 23, in aaf.util.error_check (aaf/util.cpp:1790)
RuntimeError: failed with [-2146302976]: Unknown Error
I fixed that by doing this:
Kev$ export LD_LIBRARY_PATH=/Programming/AAF-devel-libs-x86_64Darwin-1.1.6.0/bin
After that I was able to import AAF (had to copy the "aaf" folder to my Python folder), but each time I try to do aaf.open I get "Segmentation Fault: 11" and Python dies. What did I do wrong here?