Error Building Sample Project – "Undefined symbols for architecture arm64"

Home Forums OpenEars Error Building Sample Project – "Undefined symbols for architecture arm64"

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

  • Author
    Posts
  • #1025102
    ryanhuman
    Participant

    Hey – this project seems great! I’ve had success downloading it and doing a build for the iPhone6 Simulator, but when I try to build to a device I get an error (pasted below) that suggests it OpenEars isn’t arm64 compatible – contrary to what I’ve read elsewhere. Any advice?

    ld: warning: ignoring file ../OpenEarsDistribution/Framework/OpenEars.framework/OpenEars, missing required architecture arm64 in file ../OpenEarsDistribution/Framework/OpenEars.framework/OpenEars (2 slices)
    Undefined symbols for architecture arm64:
    “_OBJC_CLASS_$_OEAcousticModel”, referenced from:
    objc-class-ref in ViewController.o
    “_OBJC_CLASS_$_OEEventsObserver”, referenced from:
    objc-class-ref in ViewController.o
    “_OBJC_CLASS_$_OEFliteController”, referenced from:
    objc-class-ref in ViewController.o
    “_OBJC_CLASS_$_OEFliteVoice”, referenced from:
    _OBJC_CLASS_$_Slt in Slt(Slt.o)
    “_OBJC_CLASS_$_OELanguageModelGenerator”, referenced from:
    objc-class-ref in ViewController.o
    “_OBJC_CLASS_$_OEPocketsphinxController”, referenced from:
    objc-class-ref in ViewController.o
    “_OBJC_METACLASS_$_OEFliteVoice”, referenced from:
    _OBJC_METACLASS_$_Slt in Slt(Slt.o)
    “_cg_db_val”, referenced from:
    _register_cmu_us_slt in Slt(cmu_us_slt.o)
    “_cg_synth”, referenced from:
    _register_cmu_us_slt in Slt(cmu_us_slt.o)
    “_cmu_lex_init”, referenced from:
    _register_cmu_us_slt in Slt(cmu_us_slt.o)
    “_delete_voice”, referenced from:
    _unregister_cmu_us_slt in Slt(cmu_us_slt.o)
    “_flite_feat_set”, referenced from:
    _register_cmu_us_slt in Slt(cmu_us_slt.o)
    “_flite_feat_set_int”, referenced from:
    _register_cmu_us_slt in Slt(cmu_us_slt.o)
    “_flite_feat_set_string”, referenced from:
    _register_cmu_us_slt in Slt(cmu_us_slt.o)
    “_lexicon_val”, referenced from:
    _register_cmu_us_slt in Slt(cmu_us_slt.o)
    “_new_voice”, referenced from:
    _register_cmu_us_slt in Slt(cmu_us_slt.o)
    “_usenglish_init”, referenced from:
    _register_cmu_us_slt in Slt(cmu_us_slt.o)
    “_uttfunc_val”, referenced from:
    _register_cmu_us_slt in Slt(cmu_us_slt.o)
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    #1025103
    Halle Winkler
    Politepix

    Welcome,

    The sample app builds out of the box without any modifications, so generally something like that can only happen if it has been modified or parts of it have been moved. The safe bet is just to delete it and download a new one and start over, it should work fine.

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