-
Notifications
You must be signed in to change notification settings - Fork 19
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
Plugins built on Macos show assertion failure: Failed to create NanoVG context #176
Comments
Hello! Do the official binary releases have the same issue, or is it specific to your builds? https://github.com/wolf-plugins/wolf-shaper/releases |
Only my builds. Official releases all fine. My macos version is Sonoma (Macbook Pro M1Pro), wolf-shaper code version is the latest. I try to trace the code and find the function "nvgCreateGL2" returns 0x0 in NanoVG.cpp, line 209. So I wonder if there is something wrong with the DFP framework. |
I don't own a Mac, so it's a bit difficult for me to debug this! With that said, I did update DPF since last release. The latest release uses this commit: https://github.com/DISTRHO/DPF/commits/a4c83bfdc925db48f272e66a006a6630625c3e20/ Here are a few things you could try:
|
Hi
I try to build wolf-shaper plugin (CLAP and VST3) on both WIN and MACOS. The plugins built on WIN work well but the plugins built on MACOS show this assertion failure when loading in DAW software:
"Failed to create NanoVG context, expect a black screen, condition "fContext != nullptr" in file src/NanoVG.cpp, line 332"
It seems like the initiation of NanoVG context failed but I don't know why. Both of the CLAP and VST3 plugins show nothing on the GUI window. I have tested in Bitwig studio and Logic Pro, all failed.
My compile command is "BUILD_VST3=true BUILD_CLAP=true make"
The text was updated successfully, but these errors were encountered: