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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!
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/
Thank you, I'll check that out.