You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"-framework" should apparently be used only on Darwin platforms
arguments order matters. From what I've understood, the _wrap.o object file must appear before the .a archive library, otherwise the linker won't search in the .a archive for the symbols defined in the object file -- which results in _xtract.so incorrectly linked/with undefined symbols
People might also be interested in a modified swig/test.py, compliant with Python 3.5 syntax test.py.txt
Hi, I am trying to get this working with python but when I type "make swig" I get the error
make[1]: Entering directory '/home/wolfie/code/LibXtract/src'
make[1]: 'libxtract.a' is up to date.
make[1]: Leaving directory '/home/wolfie/code/LibXtract/src'
make[1]: Entering directory '/home/wolfie/code/LibXtract/swig'
../include/xtract/libxtract.h:300: Warning 314: 'def' is a python keyword, renaming to '_def'
cc: error: Accelerate: No such file or directory
cc: error: unrecognized command line option ‘-framework’
Makefile:21: recipe for target 'python' failed
make[1]: *** [python] Error 1
make[1]: Leaving directory '/home/wolfie/code/LibXtract/swig'
Makefile:23: recipe for target 'swig' failed
make: *** [swig] Error 2
I modified the makefile to -DUSE_OOURA, and it built, but xtract.py gives me the error:
Traceback (most recent call last):
File "xtract.py", line 28, in
_xtract = swig_import_helper()
File "xtract.py", line 24, in swig_import_helper
_mod = imp.load_module('_xtract', fp, pathname, description)
ImportError: ./_xtract.so: undefined symbol: xtract_free_window
The text was updated successfully, but these errors were encountered: