-
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
Fix for a compilation error #4
Comments
What exactly is the error message GCC printed? What GCC version are you using? How did you invoke the make command? I cannot reproduce this with GCC 4.8.2 on Fedora 20 with |
I'm using GCC 4.6.3 on Ubuntu 12.04. I just used the make command in the src folder and I get this error:
By just keeping
In the header and moving
to the line 25 of mdaPiano.cpp I get rid of the error. Anyway thanks for the good work I have a lot of fun playing with this synth! P.S: sorry I'm not used to making patch and the error is easy to remove |
I tried to compile lv2-mdaMetaPiano but met a gcc error because of the initialisation of "samples" in the header mdaPiano.h instead of the constructor in mdaPiano.cpp. So I had to move the following initialisation line out of the header :
Sample samples = (Sample) malloc (NSAMPLES * sizeof(Sample));
It might help someone else.
The text was updated successfully, but these errors were encountered: