Menu

Pocketsphinx-android build failed with an exception

Help
2019-03-25
2019-03-25
  • Oleg Radchenko

    Oleg Radchenko - 2019-03-25

    I'm trying to gradlew build in /pocketsphinx-android and it fails with:

    :pocketsphinx-android admin$ ./gradlew build
    
    > Configure project :
    The setTestClassesDir(File) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the setTestClassesDirs(FileCollection) method instead.
    The getTestClassesDir() method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the getTestClassesDirs() method instead.
    The ConfigurableReport.setDestination(Object) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the method ConfigurableReport.setDestination(File) instead.
    
    > Task :swigPs
    ../pocketsphinx/swig/pocketsphinx.i:64: Error: Unable to find 'iterators.i'
    ../pocketsphinx/swig/pocketsphinx.i:65: Error: Unable to find 'sphinxbase.i'
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':swigPs'.
    > Process 'command 'swig'' finished with non-zero exit value 1
    

    Any suggestions, please?

     
    • Nickolay V. Shmyrev

      You should have sphinxbase in the parent folder together with pocketsphinx. sphinxbase.i must be in ../sphinxbase/swig

       
  • Oleg Radchenko

    Oleg Radchenko - 2019-03-25

    I.e. like this, right?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.