Menu

errors building SphinxTrainer

Help
simon
2007-12-12
2012-09-22
  • simon

    simon - 2007-12-12

    Hello all,

    I have been following the tutorial on this link to train Sphinx-4 to my voice. I'm compiling the SphinxTrain code on Visual C++ Express edition. and when I "Batch Build" the files I get lots of warnings; at the end I get the following messege:

    Build log was saved at "file://c:\Documents and Settings\sechev\Desktop\tutorial\SphinxTrain\win32\msdev\programs\agg_seg\Release\BuildLog.htm"
    agg_seg - 1 error(s), 9 warning(s)
    ========== Rebuild All: 12 succeeded, 78 failed, 0 skipped ==========

    It says that 78 failed, should I be concerned about this? thank you for your help

    Simon

     
    • coriscow

      coriscow - 2007-12-13

      Hi Simon,

      I am not an expert but maybe you need to compile Sphinxbase first. In such a case try the release 0.3, because the nightly fails when compiling.

      However, it would be more explanatory if you post some of those 78 errors (several will be repeated)

      Regards,

      Coriscow

       
      • simon

        simon - 2007-12-14

        I found out what the problem was. It turned out to be the compiler. I used the full MS Visual C++ and the errors went awa. YES!!!

         
    • simon

      simon - 2007-12-13

      Thank you for the response Coriscow,

      You are right all the erros I get are basically the same. I get the following two errors and they just keep reapeating; here are the two errrors.

      ------ Build started: Project: mk_s3tmat, Configuration: Release Win32 ------
      Linking...
      LINK : fatal error LNK1181: cannot open input file 'odbc32.lib'
      Build log was saved at "file://c:\Documents and Settings\sechev\Desktop\tutorial\SphinxTrain\win32\msdev\programs\mk_s3tmat\Release\BuildLog.htm"
      mk_s3tmat - 1 error(s), 0 warning(s)

      ------ Build started: Project: mk_mdef_gen, Configuration: Release Win32 ------
      Compiling...
      parse_cmd_ln.c
      C:\Program Files\Microsoft Visual Studio 8\VC\include\base.h(46) : fatal error C1083: Cannot open include file: 'ntos/types.h': No such file or directory
      Build log was saved at "file://c:\Documents and Settings\sechev\Desktop\tutorial\SphinxTrain\win32\msdev\programs\mk_mdef_gen\Release\BuildLog.htm"
      mk_mdef_gen - 1 error(s), 0 warning(s)

      One error is about the 'ntos/types.h' and it is correct becuase I don't have such .h files in the nightly pack. The same goes for the 'odbc32.lib'. What did you mean by downloading the the 0.3 version. I downloaded the SphinxTrain from the this website:
      http://cmusphinx.sourceforge.net/html/download.php#SphinxTrain
      but I could not find a link to the 0.3 version. Maybe if you can provide me with a link I can try it out. Is that what you use? and, does it work for you?

      Thank you,

      Simon

       

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.