I just cloned from https://github.com/cmusphinx and still didn't find any mention of cont_ad.h
I downloaded from sourceforge (refer to my earlier script). My guess is you got it from github?
Somehow we are just out of sync. In the code base that I installed (and ran with) there isn't any mention of cont_ad.h. Where did you download from?
I suggest you just start over and walk through the tutorial... https://cmusphinx.github.io/wiki/tutorialpocketsphinx/
You're probably not using a complete gcc command line. Refer to this page https://cmusphinx.github.io/wiki/tutorialpocketsphinx/ under the section titled "Basic Usage (hello world)".
Use this (in a bash script) to do a sphinxbase/pocketsphinx build # Get some needed packages: sudo apt-get install -y bison swig # Download sphinxbase: wget https://sourceforge.net/projects/cmusphinx/files/sphinxbase/5prealpha/sphinxbase-5prealpha.tar.gz gunzip sphinxbase-5prealpha.tar.gz tar -xvf sphinxbase-5prealpha.tar mv sphinxbase-5prealpha sphinxbase # Build sphinxbase: cd sphinxbase ./autogen.sh ./configure make sudo make install cd - export LD_LIBRARY_PATH=/usr/local/lib export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig...
You have to build sphinxbase first. Pocketsphinx assumes sphinxbase was built.
Assuming you have a usb microphone plugged into the pi, run "arecord -l" to make sure there is only one audio input device. Then, you can use "-adcdev plughw:N,M on the pocketsphinx_continous command line to make sure you're using the device you think. N,M is the card# and subdevice# in the arecord-l output. HTH