-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
distort example produces .so file rather then .vst #72
Comments
You are doing nothing wrong. See here: http://pastebin.com/j058StjR (edit: change the values for something that works for you) I might make it a proper program ouf of this script and put it in the dplug repo. Note that currently there is multiple caveats associated with using OS X. One user told me plugins don't scan in 10.9 Let me know if it works for you and what is your system. If you use LDC and OSX, you will need a modified dub: dlang/dub#681 |
Build the |
i'm on OS X 10.10.4. I tried to build with a dub built from your branch and got this error: ./vstscript -c ldc
PATH = /Library/Frameworks/Python.framework/Versions/3.5/bin:/Users/andrei/Downloads/go_appengine:/Users/andrei/code/third_party/ldc-0.15.2b1/bin:/usr/local/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/go/bin:/usr/texbin:/usr/local/mysql/bin:/usr/local/DCD/bin:/usr/local/go/bin:/Users/andrei/go/bin
Creating directory distort-~master/Mac-OS-X_64-bit_VST_ldc
*** Building with ldc2, 64-bit arch
*** dub build --build=debug --arch=x86_64 --compiler=ldc2
Performing "debug" build using ldc2 for x86_64.
gfm:core 3.0.4: building configuration "library"...
dplug:core 1.1.30+commit.8.g1e46623: building configuration "library"...
gfm:math 3.0.4: building configuration "library"...
dplug:dsp 1.1.30+commit.8.g1e46623: building configuration "library"...
ae-graphics 0.0.7: building configuration "library"...
dplug:plugin 1.1.30+commit.8.g1e46623: building configuration "library"...
ldc2: for the -march option: may only occur zero or one times!
ldc2 failed with exit code 1.
error: Command 'dub build --build=debug --arch=x86_64 --compiler=ldc2 ' returned 2 |
The problem is that DUB sends multiple If you use LDC and OSX, you need to checkout and build this modified dub: dlang/dub#681 About LDC versions: ldc-0.15.2b1 should be ok but most of my testing was with ldc-0.15.2b2 Note that you can also use DMD to build plugins, which happens to work god knows why. You still need a modified DUB when using DMD. (edit: are you sure you built a DUB from the issue-635-bis branch? you can check it in dub repo with git log and searching for a commit like this: p0nce/dub@2742c74) |
i just built from the issue-635-bis branch and now it works. thank you! |
Probably not an issue with dplug, but do you know why Ableton will recognize it but Logic Pro X won't? It's most likely some setting I'm not selecting within Logic. |
nevermind, just realized Logic doesn't support VST's |
Yes. I haven't looked yet on the AudioUnit SDK. It seems like you need inheritance from C++ classes, that should be doable with enough coffee. Probably won't be done this year. |
I'm on a Mac. Am I doing something wrong?
The text was updated successfully, but these errors were encountered: