Including Save the Wave gives linker error

Home Forums OpenEars Including Save the Wave gives linker error

Tagged: 

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

  • Author
    Posts
  • #1031773
    gregorym
    Participant

    The following OpenEarsHeader.h produces and error:
    “clang: error: linker command failed with exit code 1 (use -v to see invocation)”

    Do I have the wrong over of imports?

    #ifndef OpenEarsHeader_h
    #define OpenEarsHeader_h

    #import <OpenEars/OEPocketsphinxController.h>
    #import <RapidEars/OEPocketsphinxController+RapidEars.h>
    #import <OpenEars/OELanguageModelGenerator.h>
    #import <OpenEars/OEFliteController.h>
    #import <Slt/Slt.h>
    #import <OpenEars/OEEventsObserver.h>
    #import <OpenEars/OELogging.h>
    #import <OpenEars/OEAcousticModel.h>

    #import <SaveThatWave/SaveThatWaveController.h>
    #import <SaveThatWave/OEEventsObserver+SaveThatWave.h>
    #import <RapidEars/OEEventsObserver+RapidEars.h>
    #import <Rejecto/OELanguageModelGenerator+Rejecto.h>

    #endif /* OpenEarsHeader_h */

    #1031774
    gregorym
    Participant

    Also I see this:
    Information:Building target ‘OpenEarsSampleAppSwift’ from ‘OpenEarsSampleAppSwift’ with configuration ‘Debug’ for architecture ‘arm64’ using ‘iOS 10.3′ sdk
    Note:ld: /RapidEars.framework/RapidEars(OEEventsObserver+Rapidears.o)’ does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64

    #1031775
    Halle Winkler
    Politepix

    Hi,

    Bitcode isn’t currently supported, you can turn it off in the build settings. There are a few threads about this here.

    Please search for some of the troubleshooting threads about linker errors for plugins, this has been diagnosed a few times here. Usually a step was missed from the instructions or tutorial, or a step was taken which isn’t in the OpenEars docs and isn’t helpful, from an external source like Stack Overflow. It isn’t related to order of headers.

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