cython-vst-loader icon indicating copy to clipboard operation
cython-vst-loader copied to clipboard

missing header file "aeffectx.h"

Open RadicalRingtail opened this issue 3 years ago • 2 comments

not sure if this is a bug or if im just missing one of the requirements (currently on macOS 11.0.1, gcc and make are installed)

RadicalRingtail avatar Mar 26 '21 01:03 RadicalRingtail

hi! this project is(was) linux-first, now windows support is being added https://github.com/hq9000/cython-vst-loader/issues/10

at the moment, In PyPI, only linux binaries are provided.

as for the mac, it's on the list.

I think you might try to checkout the original code and try to build that one. The aeffectx.h is coming from VSTSDK which is not included for licencing reasons. When the project is built (currently, for linux only, soon for windows as well) the SDK is downloaded from Steinberg's website.

...assuming you are in a 3.x venv:

git clone [email protected]:hq9000/cython-vst-loader.git
pip install -r requirements.txt
python setup.py build_ext --inplace

(this command will download the SDK that contains the header file in question and build the extension)

If you could attempt to do the steps above and provide the output, that would be cool.

hq9000 avatar Mar 26 '21 04:03 hq9000

Hi,

I tried what you suggested and it seems to be working. I haven't tested the module in my project yet.

macOS: 11.2.3

python: 3.8.2

mv "build/VST3 SDK" build/vstsdk
Compiling cython_vst_loader/vst_loader_wrapper.pyx because it changed.
[1/1] Cythonizing cython_vst_loader/vst_loader_wrapper.pyx
running build_ext
building 'cython_vst_loader.vst_loader_wrapper' extension
creating build/temp.macosx-11.2-x86_64-3.8
creating build/temp.macosx-11.2-x86_64-3.8/cython_vst_loader
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/bzip2/include -I/usr/local/opt/readline/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/bzip2/include -I/usr/local/opt/readline/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/zlib/include -I/usr/local/opt/bzip2/include -I./build/vstsdk/pluginterfaces/vst2.x -I./cython_vst_loader/include -I/Users/Marco/Documents/OneDrive - Queen Mary, University of London/PHD/REPOS/cython-vst-loader/.venv/include -I/Users/Marco/.pyenv/versions/3.8.2/include/python3.8 -c cython_vst_loader/vst_loader_wrapper.c -o build/temp.macosx-11.2-x86_64-3.8/cython_vst_loader/vst_loader_wrapper.o -Wno-unused-function
cython_vst_loader/vst_loader_wrapper.c:8797:3: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
  0, /*tp_print*/
  ^
/Users/Marco/.pyenv/versions/3.8.2/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
    Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
    ^
/Users/Marco/.pyenv/versions/3.8.2/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
cython_vst_loader/vst_loader_wrapper.c:8907:3: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
  0, /*tp_print*/
  ^
/Users/Marco/.pyenv/versions/3.8.2/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
    Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
    ^
/Users/Marco/.pyenv/versions/3.8.2/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
cython_vst_loader/vst_loader_wrapper.c:9017:3: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
  0, /*tp_print*/
  ^
/Users/Marco/.pyenv/versions/3.8.2/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
    Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
    ^
/Users/Marco/.pyenv/versions/3.8.2/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
cython_vst_loader/vst_loader_wrapper.c:9127:3: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
  0, /*tp_print*/
  ^
/Users/Marco/.pyenv/versions/3.8.2/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
    Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
    ^
/Users/Marco/.pyenv/versions/3.8.2/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
cython_vst_loader/vst_loader_wrapper.c:9237:3: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
  0, /*tp_print*/
  ^
/Users/Marco/.pyenv/versions/3.8.2/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
    Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
    ^
/Users/Marco/.pyenv/versions/3.8.2/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
cython_vst_loader/vst_loader_wrapper.c:9347:3: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
  0, /*tp_print*/
  ^
/Users/Marco/.pyenv/versions/3.8.2/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
    Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
    ^
/Users/Marco/.pyenv/versions/3.8.2/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
cython_vst_loader/vst_loader_wrapper.c:9457:3: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
  0, /*tp_print*/
  ^
/Users/Marco/.pyenv/versions/3.8.2/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
    Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
    ^
/Users/Marco/.pyenv/versions/3.8.2/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
cython_vst_loader/vst_loader_wrapper.c:15012:5: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
    0,
    ^
/Users/Marco/.pyenv/versions/3.8.2/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
    Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
    ^
/Users/Marco/.pyenv/versions/3.8.2/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
8 warnings generated.
creating build/lib.macosx-11.2-x86_64-3.8
creating build/lib.macosx-11.2-x86_64-3.8/cython_vst_loader
clang -bundle -undefined dynamic_lookup -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/Users/Marco/.pyenv/versions/3.8.2/lib -L/usr/local/opt/[email protected]/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/bzip2/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/Users/Marco/.pyenv/versions/3.8.2/lib -L/usr/local/opt/[email protected]/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/bzip2/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/bzip2/lib -I/usr/local/opt/zlib/include -I/usr/local/opt/bzip2/include build/temp.macosx-11.2-x86_64-3.8/cython_vst_loader/vst_loader_wrapper.o -o build/lib.macosx-11.2-x86_64-3.8/cython_vst_loader/vst_loader_wrapper.cpython-38-darwin.so
copying build/lib.macosx-11.2-x86_64-3.8/cython_vst_loader/vst_loader_wrapper.cpython-38-darwin.so -> cython_vst_loader

mcomunita avatar Jun 19 '21 16:06 mcomunita