Linking problem against armv7 architecture

Home Forums OpenEars Linking problem against armv7 architecture

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

  • Author
    Posts
  • #1025227
    frjimo
    Participant

    Hello,

    I try to add OpenEars framework to my application to provide my users with voice commands. When I run application in Mac, everything is all right.
    When I build my application in my iPhone, I got several errors associated with this message:

    ld: warning: ignoring file /Users/theUser/myProject/Framework/OpenEars.framework/OpenEars, missing required architecture armv7 in file /Users/theUser/myProject/Framework/OpenEars.framework/OpenEars (2 slices)
    Undefined symbols for architecture armv7:
    “_OBJC_CLASS_$_OEEventsObserver”, referenced from:
    objc-class-ref in Speech.o
    “_OBJC_CLASS_$_OEPocketsphinxController”, referenced from:
    objc-class-ref in Speech.o
    “_OBJC_CLASS_$_OEAcousticModel”, referenced from:
    objc-class-ref in Speech.o
    “_OBJC_CLASS_$_OELanguageModelGenerator”, referenced from:
    objc-class-ref in Speech.o
    ld: symbol(s) not found for architecture armv7
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    Any idea?

    #1025228
    Halle Winkler
    Politepix

    Welcome,

    I think you have somehow accidentally rebuilt the framework, and for the Simulator only. I would just start fresh with a new download and make sure not to take any steps to rebuild OpenEars.framework.

    #1025233
    frjimo
    Participant

    Yes! That was the cause! It works! Thank you!

    I removed OpenEars and added new one.

    Thank you very much!

    #1025234
    Halle Winkler
    Politepix

    You’re welcome, glad it helped!

    #1027461
    mahija
    Participant

    Hi,
    I was using the latest one. Still am getting errors like OPenEars framework not found and Slt framework not found.

    And I haven’t found en-IN language.

    Please help me out of this..

    #1027462
    Halle Winkler
    Politepix

    Welcome,

    Sorry, it isn’t possible to help without any error information from Xcode. There is no acoustic model for en-IN.

    #1027463
    mahija
    Participant

    ld: framework not found OpenEars
    ld: framework not found Slt
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    This is what am getting error.

    And in the frame work unable to find the header files…

    Headers placed in Versions->A->Headers

    #1027464
    Halle Winkler
    Politepix

    It doesn’t sound like you followed the tutorial install instructions (they have no instructions about placing the headers anywhere). It is here: https://www.politepix.com/openears/tutorial

    Please start over with a new download and use the instructions in the tutorial, or simply launch the sample app after downloading and unzipping, it will work fine.

    #1027465
    mahija
    Participant

    Sorry for the trouble.. I have followed the steps from tutorial..

    Mistake here is Frameworks didn’t downloaded properly…

    Anyway Thank you so much Halle…

    I should appreciate for your patience..

    Thanks

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.