Menu

some demos not installed

Help
2006-11-29
2012-09-22
  • Erik Larsen

    Erik Larsen - 2006-11-29

    I got sphinx4-0.1alpha source and installed via cygwin on WinXP. Everything seems to build just fine, but only a few of the demos are installed (AudioTool, HelloDigits, HelloNGram, HelloWorld, ZipCity). I want to try WavFile but as you can see that is one of the missing ones. How do I get the others?? Everything I see for this projects seems to imply that you should get everything at once.

    Thanks for any suggestions

    Erik

     
    • Erik Larsen

      Erik Larsen - 2006-11-29

      I looked in the demo.xml file, and it actually only contains instructions for building the demos that I have. There is no reference whatsoever to the others (incl. WavFile). I wonder if the demo.xml file was modified...?

      Part of the demo.xml follows below. As I can tell, all the demos I have are the "non-JSAPI" ones. I did unpack the JSAPI file and I have a jsapi.jar in my lib directory, so I don't think that's the problem.

      <target name="all"
      depends="make_lib_dir,
      compile_sphinx_demos"
      description="Compiles and jars the demos"/>

      &lt;target name=&quot;make_lib_dir&quot;&gt;
      &lt;mkdir dir=&quot;${lib_dir}&quot;/&gt;
      &lt;/target&gt;
      
      &lt;!-- Sphinx-4 (non-JSAPI) demos --&gt;
      &lt;target name=&quot;compile_sphinx_demos&quot;
          depends=&quot;compile_sphinx_helloworld,
                   compile_sphinx_hellodigits,
               compile_sphinx_hellongram,
                   compile_zipcity,
                   check_jsapi_jar.isPresent,
                   check_jsapi_jar.isPresent,
                       issue_jsapi_warning&quot;
          description=&quot;Compiles Sphinx-4 demos that do not use JSAPI&quot;/&gt;
      

      The file then contains with instructions for building only these four demos...

      Erik

       
    • Holger Brandl

      Holger Brandl - 2006-11-29

      Hi Erik,

      are you sure that you've processed the "all" task of the demo.xml ant-file?
      Afterwards you should find all requested jars (inlcuding WavFile) in your ${sphinx4}/bin directory.

      Best regards,
      Holger

       

Log in to post a comment.