You are trying to link to a wrong file most likely. You need sphinxbase.lib and pocketsphinx.lib. Such problems are easy to resolve if you actually read the docs and try to understand what is going on.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Error LNK2019 unresolved external symbol _cmd_ln_init referenced in function _main
Error LNK2019 unresolved external symbol _ps_args referenced in function _main
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Last edit: bunnybot5555 2017-08-28
Link to pocketsphinx and sphinxbase libraries in project properties.
https://stackoverflow.com/questions/7845886/linking-dll-in-visual-studio
I did that and now I get these errors:
Last edit: bunnybot5555 2017-08-24
You are trying to link to a wrong file most likely. You need sphinxbase.lib and pocketsphinx.lib. Such problems are easy to resolve if you actually read the docs and try to understand what is going on.
When I use the lib files I get: