Home › Forums › OpenEars plugins › Is -ObjC linker flag required for RapidEars? › Reply To: Is -ObjC linker flag required for RapidEars?
May 5, 2015 at 6:55 am
#1025582
rikk
Participant
Answering my own question (I think):
I have probed a bit more inside of the OEPocketsphinxController+RapidEars.h and saw that RapidEars is using Objective-C `category’ feature to extend the class. This was a great opportunity for me to learn about the ‘category’ feature of Objective-C.
As I researched more, I found this on Stack Overflow:
http://stackoverflow.com/questions/2567498/objective-c-categories-in-static-library
And doc from Apple:
https://developer.apple.com/library/mac/qa/qa1490/_index.html
ANSWER: Yes, the -ObjC linker flag is indeed required when using any plugins for OpenEars. :-D