xlab/pocketsphinx-go

Cgo error with recent pocketsphinx

Closed this issue · 1 comments

It seems there have been changes in pocketsphinx which breaks the package. On my Fedora 26 with recent pocketsphinx build (cmusphinx/pocketsphinx@26c6d9d) I get the following error:

➜  pocketsphinx-go git:(master) go run example/gortana/main.go 
# github.com/xlab/pocketsphinx-go/pocketsphinx
pocketsphinx/cgo_helpers.go:1033:29: could not determine kind of name for C.ps_search_iter_t

On my raspberry (cmusphinx/pocketsphinx@05b866c) everything works fine.

I tried to regenerate myself, but I ran into tons of other errors.

It turned out to be a misconfig on my machine. Sorry for the noise.