Menu

Xamarin binding for pocketsphinx trouble.

Help
2016-11-03
2016-11-03
  • Jacek Garbiec

    Jacek Garbiec - 2016-11-03

    Hello, I'm having trouble with xamarin bindings for pocketsphinx.
    Here are the steps I've taken:
    1. Created a bindings project.
    2. Added the no-lib jar from android demo https://github.com/cmusphinx/pocketsphinx-android-demo
    and set the build action to InputJar.
    3.Added the so files from android demo and set the build action to EmbeddedNativeLibrary
    4.When building the solution I get Interface errors, no idea how to correct them.
    I've googling for an answer but no joy.
    Screenshots of the erros and file tree: http://imgur.com/a/L3IHL
    Cheers!

     
    • Nickolay V. Shmyrev

      It is not a good idea to write bindings for Java which are in turn bindings for C library, you need to create bindings for C library directly:

      https://blog.xamarin.com/build-and-debug-c-libraries-in-xamarin-android-apps-with-visual-studio-2015/

       
      • Jacek Garbiec

        Jacek Garbiec - 2016-11-03

        Thank you, I'll check that out.

         

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.