danomatika / ofxPd

(maintained) a Pure Data addon for OpenFrameworks using libpd
Other
202 stars 45 forks source link

clang error "-mtune=native" #71

Closed Jakki12 closed 3 years ago

Jakki12 commented 5 years ago

Hey, I am trying to run the pdExampleIOS Project from ofxPd out of Xcode onto my iPhone 6. I am working out of the ios-zip from openframeworks.cc. When I try to start the app, I get this error:

clang: error: the clang compiler does not support '-mtune=native'

When I run the project using the simulator for iPhone 6, it works.

When I go to Build Settings >> Custom Compiler Flags and then delete the "-mtune=native"-Flag, the project compiles to my real iPhone successfully. But I don't know if that is a good thing to do.

danomatika commented 4 years ago

ofxPD does not request this flag it's addons_config.mk, so this is most likely a problem with OF itself, the project generator, etc and not with ofxPd itself.

Jakki12 commented 4 years ago

I don‘t know what the flag is for, but you can remove it at Xcode‘s custom compiler flags and then your project should compile. Best, Jakob

Am 26.11.2019 um 18:32 schrieb Dan Wilcox notifications@github.com:

ofxPD does not request this flag it's addons_config.mk, so this is most likely a problem with OF itself, the project generator, etc and not with ofxPd itself.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.