-
Notifications
You must be signed in to change notification settings - Fork 2
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
building for native M1 #9
Comments
hi, The VCV plugins are normally built on linux with a cross compiler rack-plugin-toochain. At the end the goal should be that the whole plugin should be built inside this tool chain processes. That means that csound and libsoundfile should be compiled using the osx cross compiler.(also for ARM). So the current build is a kind of a hack, as i take my old max book pro to compile it. But i think i will not have the time to realize this soonish. So it would be great if you could provide the ARM build of csound and libsoundfile, then i could check in libs and make an ARM build for the plugin using the cross compiler. |
@docb Thanks for the information, I'll keep hacking here. I think I've got past the static libs themselves, now the plugin fails to load with this error:
Looking further:
Compare to the x86_64 build:
Is something not linking ? Any suggestions where I should be looking and/or what I should be looking for ? |
i guess this is because you have to compile csound differently -- in CMakeLists.txt of csound:
and you should take the csound source on the master branch after Nov 2 e.g. the current one (it should include this commit): |
Thank you ! I now have a working arm64 version of the dbRackCsound plugin, though I am only at the initial testing stage. I added the changes you advised for CMakeLists but the plugin then failed to load because of a missing symbol (_libntl_gettext). I turned off the option for gettext in the Csound build, recompiled, and the plugin loads successfully now. Question: Is gettext needed anywhere by the dbRackCsound plugin ? My only test so far has been to run the default vco2 instrument. I've edited it for dual VCOs, it works as expected. Next tests will work with the processing module. I'm starting with mono instruments and effects. Edit: I made a simple processor with two instances of nreverb. It works fine. :) |
Greetings ! I'm attempting a build of dbRackCsound for my ARM-based Mac Mini M1. I've compiled the appropriate static lib for Csound but I'm having a rough time building a working libsndfile.a (it's a persistent error regarding unresolved FLAC symbols even though the library is compiled with FLAC support). Before proceeding I thought I'd check to see if you're already working on an ARM version and/or if you have any advice regarding the libsndfile/FLAC issue.
Thanks again for the great plugins, all the db stuff is 1st-class music software.
Best regards,
dp
The text was updated successfully, but these errors were encountered: