Semantic Issue: heartbeatTimer from OEContinuousModel.h shows Error

Home Forums OpenEars Semantic Issue: heartbeatTimer from OEContinuousModel.h shows Error

Viewing 10 posts - 1 through 10 (of 10 total)

  • Author
    Posts
  • #1025830
    paulranico
    Participant

    Hi,

    I’m new in Open Ears and downloaded the demo version of the RapidEars and NeatSpeech to try to learn and implement it and make it work before purchasing it, I’m on a learning level yet so I’m unfamiliar on some other codes.

    I’ve been following the guide in https://www.politepix.com/openears/tutorial and then there comes an error when I started building it. It says “Property with ‘retain (or strong)’ attribute must be of object type” it is on OpenEars.framework>Headers>OEContinuousModel.h>heartbeatTimer, “@property (nonatomic, strong) dispatch_source_t heartbeatTimer;”

    Can you help me figure what what I am missing.

    Thanks in Advance

    #1025831
    Halle Winkler
    Politepix

    Welcome,

    Something fundamental would be wrong in that case, because you could only get that error if you were building the framework or linking to that header, but that isn’t part of the tutorial. I would recommend starting over with a fresh download.

    #1025833
    paulranico
    Participant

    Hi Halle,

    Thanks for that really quick reply, I have redownloaded and rebuilt the app but it still shows errors. I’m working on an app ported in Unity3d it works with the old implementation of OpenEars. But now, We want to create a realtime recognition, so we have to upgrade API and I haven’t changed any of the codes yet. So It’s a bit confusing why this happens. Somehow, It’s only on the xCode part where it doesn’t build.

    #1025834
    Halle Winkler
    Politepix

    Sorry, this is about the Unity3D implementation, not OpenEars. I don’t support it.

    #1025845
    paulranico
    Participant

    Hi,

    Ok, I’ll try to find it out myself, but for last question/assist can I post the error log that I’m having, I can build a “normal realtime” app but when I try to change the pocketSphinx to “listenRealtime” using rapid sphinx it terminates the app and shows this error

    2015-05-26 16:34:03.436 HELipSync[553:126624] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[OEPocketsphinxController startRealtimeListeningWithLanguageModelAtPath:dictionaryAtPath:acousticModelAtPath:]: unrecognized selector sent to instance 0x18fe40a0’
    *** First throw call stack:
    (0x22599137 0x308d6c77 0x2259e5fd 0x2259c4d9 0x224cb9d8 0xa7f850 0xa802b8 0x448e4 0x94ab68 0x10ed768 0x118f964 0xcd3e60 0xcd3f9c 0xcd2760 0xc1cbf4 0xca53b0 0xab1430 0xaa201c 0xa9e988 0x232cc125 0x2255f15f 0x2255ece1 0x2255cf4b 0x224a89a1 0x224a87b3 0x29c581a9 0x25c33695 0x36bb8 0x36a88)
    libc++abi.dylib: terminating with uncaught exception of type NSException

    do you have any Idea why it happens?

    Thanks so much!

    #1025846
    Halle Winkler
    Politepix

    Most likely the issue is that your project lacks the -ObjC ‘other linker flag’ described in the installation docs.

    #1025847
    paulranico
    Participant

    Yes! it worked! Thank you very much Halle.

    #1025848
    Halle Winkler
    Politepix

    Glad to hear it! You’re welcome.

    #1027259
    Coeur
    Participant

    heartbeatTimer issue occurs if you set your deployment target to iOS 5.1.1.

    Workaround: set deployment target to at least iOS 6.0.

    #1027268
    Halle Winkler
    Politepix

    6.1.1 is the minimum supported version currently.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Semantic Issue: heartbeatTimer from OEContinuousModel.h shows Error’ is closed to new replies.