Menu

Sphinx3 instllation problem

Help
2010-05-14
2012-09-22
  • vijayabharadwaj gsr

    I have downloaded sphinx3-0.8 from cmu sphinx site. I want to install it on
    windows. Read me says you can install it by clicking sphinx3.dsw. But I could
    not find sphinx.dsw in that. Please help me.

     
  • Nickolay V. Shmyrev

    The README instructions were updated in trunk. Basically you need to use VS
    2008 and load sphinx3.sln file with solution sphinx3.

     
  • Vasily Sliouniaev

    The .sln file is missing from version 0.8, however, it is present in the
    currently available nightly build. In addition, VS2008 throws an error when
    compiling s3recognizer: symbol M_PI is undefined.

     
  • Vasily Sliouniaev

    In addition the linker produces errors relating to

    corpus.c when calling build_directory

    and

    dict2pid.c when calling E_DEBUGCONT and E_DEBUG

    I haven't found code definitions for those in the solution and those are just
    some of the build errors, where should I look for the answer?

     
  • Nickolay V. Shmyrev

    M_PI is defined in math.h, E_DEBUG and E_DEBUGCONT are macros from
    sphinxbase/include/err.h

     
  • Nickolay V. Shmyrev

    This issue should be fixed in trunk now. Must appear in nightly build soon

     
  • Vasily Sliouniaev

    Thanks for your reply. It looks like the project builds ok if I fix the M_PI
    problem in release 0.8 and use the .sln file from the current nightly release.

    I still don't understand is what the build_directory linker error in the
    nightly build is related to.

     
  • Nickolay V. Shmyrev

    For build_directory you need to have sphinxbase from nightly which I suppose
    is not the case. There is placeholder
    for build_directory there, but it's still requires some work since win32
    version of this function is not implemented

    #elif defined(_WIN32)
    /* FIXME: Implement this. */
    int
    build_directory(const char *path)
    {
        E_ERROR("build_directory() unimplemented on your platform!\n");
        return -1;
    }
    
     

Log in to post a comment.