Closed sourya-sen closed 5 years ago
Taking -mtune=native out of the C++ compiler flags seems to build the app/project, but unfortunately on the iPad it immediately crashes.
Crash was related to Info.plist not containing a message for microphone usage - but now it works with just taking out -mtune=native
from the C++ build flags. If I can find out from where they originate in the actual ofxPd setup, I can send a pull request, but if anyone else is running into this issue, remove that entry from the other C++ compiler flags section. Also add NSMicrophoneUsageDescription
in the info.plist file else the app will crash.
This is most likely an issue with the Project Generator as ofxPd does not come with pre-generated project files. The "-mtune=native" flag is not set within the addon_config.mk either. You should probably open an issue with the Project Generator repository.
As for the mic description, this is required for all apps using microphone input and there is no (easy) way for the Project Generator to add this automatically. I've simply added info on how to do this to the readme for now.
Thanks - raised the issue with Project Generator repo!
This is the error
clang: error: the clang compiler does not support '-mtune=native'