Menu

Cant get PocketSphinx working on Visual studios

Help
AD
2016-05-24
2016-05-24
  • AD

    AD - 2016-05-24

    Ill try and go into as much detail as possible. Using windows 7 as my OS I downloaded pocket sphinx. I downloaded sphinxbase. I extract both. Putting both individual folders on my desktop. I then open up sphinxbase using visual studios 2012. I build it sucessfully, then close visual studios. I then open pocketsphinx using visual studio 2012 and build it as well. It then says it can't load the pocketsphinx.dll. I understand that I'm suppose to link the dll from spinxbase into pocketsphinxs' bin. However when I access the subfolder of pocketsphinx I can't help but notice that theres already lib and dll files for sphinxbase preloaded into the bin folder of pocketsphinx. Am I supposed to overwrite these. Where exactly am I suppose to put the newly built dll files for sphinxbase? I also get confused for how to link the files in property manager of my project. I've linked dll files before, but for some reason I can't get the linker to work. No matter what i've tried I can't sucessfully build and run pocketsphinx. Can I get a step by step here?

     
    • Nickolay V. Shmyrev

      . I then open pocketsphinx using visual studio 2012 and build it as well. It then says it can't load the pocketsphinx.dll.

      Who says what? You need to be more precise and provide complete information to get help.

       
  • AD

    AD - 2016-05-24

    My visual studio compiler. It gives me an error when I try and build a solution

     
    • Nickolay V. Shmyrev

      You can provide a screenshot and build log from compiler

       
      • AD

        AD - 2016-05-24
         
        • Nickolay V. Shmyrev

          It says "unable to start dll". Please note start, not load as you wrote initially. Being precise saves a lot of your time.

          You are trying to run the dll which is not possible. You should not do that. Instead, you can run pocketsphinx from cmd window providing all the arguments as described by tutorial.

           
          • AD

            AD - 2016-05-24

            I've tried this, I even navigate to the right folder. But the command prompt just gives me an error. I'll provide you a picture http://s33.postimg.org/b2340ggwv/cmd.png

             

            Last edit: AD 2016-05-24
            • Nickolay V. Shmyrev

              You need to try backslashes, you also might prefer to point a proper path: bin\Release\Win32\pocketsphinx_continuous.exe

              Note Win32.

               
              • AD

                AD - 2016-05-24

                I got the command executable to work, thank you. Now what exactly is going on here? Is it loading something up, because its been running for a while now. Or is it some continuous listening stream? I appreciate the help you've given me so far.

                 

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.