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
Android Studio can't compile ofxPd - Maybe be OF config issue #6251
Comments
It seems like It seems to work when I assign the flags like this instead:
|
this is correct, in makefile syntax = overwrites the previous value while += adds to the previous value so that's the correct way to add more than one value. going to close this as i think it's correct as it is but let me know if i'm missing something |
I don’t recall makefile syntax doing the following:
CFLAGS = -DONE -DTWO
resulting in only -DONE affecting the build while dropping anything afterwards, which is the issue at hand.
enohp ym morf tnes
-----------
Dan Wilcox
danomatika.com
robotcowboy.com
… On Nov 26, 2019, at 7:58 PM, arturo ***@***.***> wrote:
Closed #6251.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
oh i see sorry i thought it didn't work when doing
this is a bug in the android build system then |
I'm trying to add ofxPd to project. I'm cross-posting here since the ofxPd developer and I think this could be a core issue. danomatika/ofxPd#70
Reproduction:
Error
C compiler failed while compiling s_libpdmidi.c.
It appears if I add to the build.gradle file
CFlags.addAll(addonCppFlags(abi, ofRoot()))
aftercppFlags.addAll(addonCppFlags(abi, ofRoot()))
this particular error goes away. It does appear that not all CFlags/CPPFlags are getting set though.It's hard to say if the build issue is related to ofxPd or changes in OF. Any insights would help.
The text was updated successfully, but these errors were encountered: