I have seen lots and lots of issues about missing 'sphinx_config.h', most of them because of wrong folder names like 'sphinxbase-master'. My folder structure is exactly how its supposed to be, and it includes 'sphinx_config.h' as well, so what could it be Nickolay? I'm really stuck on this.
I downloaded the two repos and put them in the folders:
- sphinxbase
- pocketsphinx
I run "./autogen.sh" in sphinxbase and it works fine
I run "./autogen.sh" in pocketsphinx and I get the error that it can't find sphinxbase
checking SWIG version... 4.0.2
checking for SWIG library... /usr/local/Cellar/swig/4.0.2/share/swig/4.0.2
checking for GStreamer... checking for sphinxbase in /Users/toinedeboer/pocketsphinx/../sphinxbase... no
checking for sphinxbase in /Users/toinedeboer/pocketsphinx/../sphinxbase... no
./configure: line 13321: SPHINXBASE_CFLAGS: command not found
./configure: line 13322: SPHINXBASE_LIBS: command not found
checking sphinx_config.h usability... no
checking sphinx_config.h presence... no
checking for sphinx_config.h... no
configure: error: in /Users/toinedeboer/pocketsphinx':
configure: error: SphinxBase was not found on your system.
Seeconfig.log' for more details
Some other stuff I tried besides above:
- runing "./autogen.sh" in pocketsphinx with the following doesn't work either
* with sphinxbase include folder on different locations (the folder that has sphinx_config.h)
* with sphinxbase in pocketsphinx folder
* building sphinxbase (./build_iphone.sh arm64) and using the /bin folders
* etc etc.
I have seen lots and lots of issues about missing 'sphinx_config.h', most of them because of wrong folder names like 'sphinxbase-master'. My folder structure is exactly how its supposed to be, and it includes 'sphinx_config.h' as well, so what could it be Nickolay? I'm really stuck on this.
I downloaded the two repos and put them in the folders:
- sphinxbase
- pocketsphinx
I run "./autogen.sh" in sphinxbase and it works fine
I run "./autogen.sh" in pocketsphinx and I get the error that it can't find sphinxbase
Some other stuff I tried besides above:
- runing "./autogen.sh" in pocketsphinx with the following doesn't work either
* with sphinxbase include folder on different locations (the folder that has sphinx_config.h)
* with sphinxbase in pocketsphinx folder
* building sphinxbase (./build_iphone.sh arm64) and using the /bin folders
* etc etc.
I added the terminal output and the logs to see what happens in detail.
autogen-terminal-output.txt
config.log (pocketsphinx)
config.log (sphinxbase)
Last edit: Toine db 2020-11-20
@nshmyrev Do you have some advice for me to get me started with this build on iOS ?
Last edit: Toine db 2020-11-24
Going on at: https://github.com/cmusphinx/pocketsphinx-ios-demo/issues/24