I am trying to come up with a version of the pocketsphinx wrapper library which would work on a Raspberry PI running in a .NetCore C# app.
I know that the official Github repo of PocketSphinx suggests SWIG as the best way to port the library in other languages, but all my attempts to have something working are failing.
I have been able to generate "a" wrapper lib, but when I try to actually use it in my app I always come up with a BadImageFormatException
exception. This makes me think that I am doing something wrong in the process.
Any idea of a way to achieve my goal? A step by step guide about how to do this would be highly appreciated.