Hi! I was trying the "hello world" example described here: http://cmusphinx.s
ourceforge.net/wiki/tuturialpocketsphinx
All i've done is ctrl+c --> ctrl+v in my empty eclipse project (only renamed
the source folder for lm, hmm and dict, look here: http://pastebin.com/si6sgZNi). I've
correctly imported all the necessary libraries, inclusions, i've specified
correct paths etc etc in fact eclipse build succesfully Sphinx.exe (windows).
Well, when i launch it, sphinx.exe crashes. Using some printf i've found that
it crashes when calling ps_decode_raw for the first time. Here there's a
screenshot of my workspace folder (so you can see wich files are in there) and
another pastebin with the output till the crash. Hope you can help me!
Regards,
Oh, sorry for the double post but i think this may help.
I'm on Windows 7 Professional SP1, 64bit (x64)
It asked msvcr100.dll dependency. Maybe it requires something else or there's
a problem in my 64bit version?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i've tried with gdb (from command line) and this is the result: http://pastebin.com/1im45MsT
Segmentation Fault (obvious, but why?). I'm sorry but i've never used eclipse
debugger (even visual studio debugger).
If you need more information tell me what should i do! Thank you again,
Tested with fresh windows xp 32bit installation on vmware, installed all
correctly, same crash. I've done all correct, nothing changed from your source
code. Maybe a bug? Have you tried the hello world code?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello.
I have a similar problem. Test program (as any program with source code from
tutorial :-) crashes at runtime when calling ps_decode_raw(). It seems that
it's my fault somewhere, but I can't still uncover it.
Can provide some call stack, maybe it will be useful for me, you and
topicstarter.
With this stacktrace this problem is easy to solve. The reason for the crash
is that sphinxbase and pocketsphinx and your library were built with different
type of runtime. In sphinxbase you should see in project files:
<runtimelibrary>MultiThreadedDLL</runtimelibrary>
You need to make sure that this setting is consistent across all the
components of your application. If it will mismatch, the application will
crash.
Oh, that's just like case described in F.A.Q.
Thank you very much!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-08-25
Hi there has anyone managed to get pocketsphinx running on windows 7 ? im
seriously struggling to get pocketsphinx demos running in visual studio so i
can carry on with my project this set back is holding me back and i need to
get my project completed. need to create a c# wrapper. so that the
pocketsphinx speech recognition can function in a C# environment
please help me :'(
Lauren
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Lauren, I don't know what I can do to help, but one of my development systems
is a bog standard Windows 7 Professional with Visual Studio 2010 Professional,
and PS 0.7 builds just fine. So, there is hope...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi! I was trying the "hello world" example described here: http://cmusphinx.s
ourceforge.net/wiki/tuturialpocketsphinx
All i've done is ctrl+c --> ctrl+v in my empty eclipse project (only renamed
the source folder for lm, hmm and dict, look here:
http://pastebin.com/si6sgZNi). I've
correctly imported all the necessary libraries, inclusions, i've specified
correct paths etc etc in fact eclipse build succesfully Sphinx.exe (windows).
Well, when i launch it, sphinx.exe crashes. Using some printf i've found that
it crashes when calling ps_decode_raw for the first time. Here there's a
screenshot of my workspace folder (so you can see wich files are in there) and
another pastebin with the output till the crash. Hope you can help me!
Regards,
Angelo
folder:
pastebin terminal:
http://pastebin.com/k32P3zk0
p.s: sorry for my worst english!
Oh, sorry for the double post but i think this may help.
I'm on Windows 7 Professional SP1, 64bit (x64)
It asked msvcr100.dll dependency. Maybe it requires something else or there's
a problem in my 64bit version?
Install VS 2010 Express
Done, it crashes anyway. Tested on a 32bit windows 7 it's the same.
When you report about crash please provide the stacktrace. Most likely it's a
trivial issue in your application.
How can i provide the stacktrace? What do you mean with trivial issue? Thank
you for your patience!
i've tried with gdb (from command line) and this is the result:
http://pastebin.com/1im45MsT
Segmentation Fault (obvious, but why?). I'm sorry but i've never used eclipse
debugger (even visual studio debugger).
If you need more information tell me what should i do! Thank you again,
Angelo
p.s: the code i've compiled is linked in the first post, here you are again:
http://pastebin.com/si6sgZNi
nobody can help me?
Tested with fresh windows xp 32bit installation on vmware, installed all
correctly, same crash. I've done all correct, nothing changed from your source
code. Maybe a bug? Have you tried the hello world code?
Hello
Please provide full stacktrace of the crash. It should contain the list of
function in call stack, not one of them.
Hello.
I have a similar problem. Test program (as any program with source code from
tutorial :-) crashes at runtime when calling ps_decode_raw(). It seems that
it's my fault somewhere, but I can't still uncover it.
Can provide some call stack, maybe it will be useful for me, you and
topicstarter.
Hello
With this stacktrace this problem is easy to solve. The reason for the crash
is that sphinxbase and pocketsphinx and your library were built with different
type of runtime. In sphinxbase you should see in project files:
<runtimelibrary>MultiThreadedDLL</runtimelibrary>
You need to make sure that this setting is consistent across all the
components of your application. If it will mismatch, the application will
crash.
@darking90:
You need to learn how to collect stacktraces. That will help you in the
future.
Oh, that's just like case described in F.A.Q.
Thank you very much!
Hi there has anyone managed to get pocketsphinx running on windows 7 ? im
seriously struggling to get pocketsphinx demos running in visual studio so i
can carry on with my project this set back is holding me back and i need to
get my project completed. need to create a c# wrapper. so that the
pocketsphinx speech recognition can function in a C# environment
please help me :'(
Lauren
Lauren, I don't know what I can do to help, but one of my development systems
is a bog standard Windows 7 Professional with Visual Studio 2010 Professional,
and PS 0.7 builds just fine. So, there is hope...