Install instructions for licensed frameworks

Home Forums OpenEars plugins Install instructions for licensed frameworks

Tagged: 

Viewing 1 post (of 1 total)

  • Author
    Posts
  • #1024343
    Halle Winkler
    Politepix

    Here are the new centralized install instructions for the licensed frameworks.

    Before you begin:

    If your licensed frameworks were not produced with the optional Bitcode slice, set your app’s “Enable Bitcode” build setting to “No”.

    NeatSpeech:

    1. Remove the demo framework and the demo Voice folder from your app project so you can be sure that your app is linking to your licensed version.
    2. Under “build settings” for your project and target, make sure that the setting “Framework Search Paths” does not lead to the demo framework or the voices that ship with the demo version.
    3. Make sure that any lines in which you import the framework like this:

    #import <NeatSpeechDemo/OEFliteController+NeatSpeech.h>

    now import the licensed version like this:

    #import <NeatSpeech/OEFliteController+NeatSpeech.h>

    It is necessary to make sure that any view controller that hosts a FliteController+NeatSpeech object now has the ending “.mm” instead of “.m”. So a view controller that you use for speech that was called ViewController.m would need to be renamed to ViewController.mm in order to work with NeatSpeech. If you don’t want to rename your view controller, as an alternative you can add the linker flag -lstdc++ to “Other Linker Flags” under “Build Setting”. If you have any strange results like linking or building errors (functions, methods or objects not found), it is probably because something went wrong with this step.

    The 2.x plugin versions require OpenEars 2.x to function.

    RapidEars:

    1. Remove the demo framework from your app project so you can be sure that your app is linking to your licensed version.
    2. Under “build settings” for your project and target, make sure that the setting “Framework Search Paths” does not lead to the demo framework.
    3. Make sure that any lines in which you import the framework like this:

    #import <RapidEarsDemo/OEPocketsphinxController+RapidEars.h>

    now import the licensed version like this, without the reference to the Demo framework:

    #import <RapidEars/OEPocketsphinxController+RapidEars.h>

    The 2.x plugin versions require OpenEars 2.x to function.

    Rejecto:

    1. Remove the demo framework from your app project so you can be sure that your app is linking to your licensed version.
    2. Under “build settings” for your project and target, make sure that the setting “Framework Search Paths” does not lead to the demo framework.
    3. Make sure that any lines in which you import the framework like this:

    #import <RejectoDemo/OELanguageModelGenerator+Rejecto.h>

    now import the licensed version like this, without the reference to the Demo framework:

    #import <Rejecto/OELanguageModelGenerator+Rejecto.h>

    Please let me know if you have any difficulty installing your framework and I will help you.

    The 2.x plugin versions require OpenEars 2.x to function.

    RuleORama:

    1. Remove the demo framework from your app project so you can be sure that your app is linking to your licensed version.
    2. Under “build settings” for your project and target, make sure that the setting “Framework Search Paths” does not lead to the demo framework.
    3. Make sure that any lines in which you import the framework like this:

    #import <RuleORamaDemo/OELanguageModelGenerator+RuleORama.h>

    now import the licensed version like this, without the reference to the Demo framework:

    #import <RuleORama/OELanguageModelGenerator+RuleORama.h>

    The 2.x plugin versions require OpenEars 2.x to function.

    SaveThatWave:

    1. Remove the demo framework from your app project so you can be sure that your app is linking to your licensed framework after you have dragged it in, and not the demo.
    2. Under “build settings” for your project and target, make sure that the setting “Framework Search Paths” does not lead to the demo framework.
    3. Make sure that any lines in which you import the framework like this:

    #import <SaveThatWaveDemo/SaveThatWaveController.h>

    now import the licensed version like this:

    #import <SaveThatWave/SaveThatWaveController.h>

    i.e. make sure that headers are linked from the version of the framework which does not end with the word “Demo” anywhere that you have imported headers from the demos.

    The 2.x plugin versions require OpenEars 2.x to function.

Viewing 1 post (of 1 total)
  • The topic ‘Install instructions for licensed frameworks’ is closed to new replies.