Hi Guys, i was about to make a school project for voice recognition in raspberry pi, i followed step by step the tutorial on the Website, then i got a linker error while building PocketSphinx on VS2013
fatal error LNK1181: cannot open input file 'sphinxbase.lib'
Sphinxbase compiled successfully, but the sphinxbase.lib is still missing
thank you kindly in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You need to make sure you have a proper project layout as pointed in README. Sphinxbase must be in the same folder as pocketsphinx and must be named just "sphinxbase" without version.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for the reply, the github folder for sphinxbase didn't have any version as name, so i deleted it and replaced it with the sourgeforge version for win32, after deleting the version name and making a batch build it works .. but now i have another problem, when i execute in VS2013 it shows me this error :
Unable to start the program : E:\Package\pocketsphinx-5prealpha-win32\bin\debug\pocketsphinx.dll
i copy-pasted the dll from sphinxbase to pocketsphinx bin folder but nothing happened
Last edit: Amine.B 2015-06-21
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i know, it is just confusing i taught it will run automatically the .exe files located in bin folder, i'm just more familiar with known C++ libraries where you just include libraries and link .lib to your project and done., so now when the pocketsphinx.sln is compiled without any errors, i believe that i can use this one as a library and link to my project ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you are about raspberry pi, then you can not use Windows DLLs on it. You have to cross-compile pocketsphinx or compile pocketsphinx on raspberry pi itself.
Our wiki page has information about raspberry pi, you can also find a lot of information about Raspberry Pi development on the web.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Guys, i was about to make a school project for voice recognition in raspberry pi, i followed step by step the tutorial on the Website, then i got a linker error while building PocketSphinx on VS2013
fatal error LNK1181: cannot open input file 'sphinxbase.lib'
Sphinxbase compiled successfully, but the sphinxbase.lib is still missing
thank you kindly in advance
You need to make sure you have a proper project layout as pointed in README. Sphinxbase must be in the same folder as pocketsphinx and must be named just "sphinxbase" without version.
Thank you for the reply, the github folder for sphinxbase didn't have any version as name, so i deleted it and replaced it with the sourgeforge version for win32, after deleting the version name and making a batch build it works .. but now i have another problem, when i execute in VS2013 it shows me this error :
Unable to start the program : E:\Package\pocketsphinx-5prealpha-win32\bin\debug\pocketsphinx.dll
i copy-pasted the dll from sphinxbase to pocketsphinx bin folder but nothing happened
Last edit: Amine.B 2015-06-21
Files with extension dll are libraries, you can not start them. You include them into other applications as a common shared part.
You can start executables. Those have .exe extension. A small crash course on software development could help you with the basics.
i know, it is just confusing i taught it will run automatically the .exe files located in bin folder, i'm just more familiar with known C++ libraries where you just include libraries and link .lib to your project and done., so now when the pocketsphinx.sln is compiled without any errors, i believe that i can use this one as a library and link to my project ?
If you are about raspberry pi, then you can not use Windows DLLs on it. You have to cross-compile pocketsphinx or compile pocketsphinx on raspberry pi itself.
Our wiki page has information about raspberry pi, you can also find a lot of information about Raspberry Pi development on the web.
Yes it is about Raspberry PI, i found that i can use VisualGDB to cross compile it, i'll take a look on the wiki page.
Thank you for the information