-
Notifications
You must be signed in to change notification settings - Fork 7
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
Issue with gcc, clang, and compilation #1
Comments
When using recent clang with a dynamically linked stdc++, the resulting binary cannot be distributed and it's 10.10 or later only (it still should run on your local machine though). As for the architecture, check with if you only compile a 32 bit or 64bit binary, you also have to change the I'm considering add a option to compile a local version with clang, but it may be prudent and more useful to rather add a recipe for homebrew to https://github.com/david0/homebrew-audio/ instead and keep this repo for "official" builds that work on 10.6 or later. |
Many thanks, the vst that was I was attempting to use seemed broken as there was no .dylib file inside. I replaced it with the vst from the .dmg and then used the Which seems right, and upon testing it within Ableton Live 9, Renoise, and also as a plugin within Max 7, the plugin worked. However audio cut out after 10 minutes, so I'm assuming there is a setting within the build scripts I need to change to change the demo mode to release. Any help would be appreciated. Many thanks. |
oops. The demo option was a bug in the last commit. Should be fixed in b223684 |
Ran the compilation scripts, received this message: I added a
Many thanks. |
Hi,
I attempted to run the build scripts on MacOS High Sierra (v10.13.2), and encountered the following issues:
Firstly compilation was stopped due to this error:
clang: error: unsupported option '-static-libgcc'
I attempted to make sure that gcc was used instead of clang by adjusting my .bash_profile so that the gcc command would not automatically run clang, which I checked worked, however the problem still persisted. I believe that the issue is with cmake, and that it automatically uses clang over gcc on my system, however I have no idea how to change this.
So instead, I removed the -static-libgcc flags from the script, and let the program compile using clang, to see if it would still work. This did indeed result in a .dmg and a .pkg file being produced, and I ran them as normal to install the VSTs.
However the VSTs will not appear in any software I own (I have tried in Ableton Live 9, and Renoise), even after rescanning the plugins. Believing the issue may be that only the 32bit version was installed (although I believe Renoise should be able to run 32bit plugins), I checked whether it could be bridged using jBridgeM, yet it couldn't be, it wasn't recognised as a 32bit nor 64bit plugin.
My final test to see what may be wrong was to comment out the part in the doit.sh script which involves compiling the 32bit version, and so the only version that would be compiled would be the 64bit version. This compiled fine, but the deploy and package scripts would not run afterwards, instead they exited out (I believe whilst checking whether a directory existed).
If there is any information or files that would be useful please let me know. I believe the major issue is clang being used instead of gcc but I am unsure. Many thanks.
The text was updated successfully, but these errors were encountered: