Menu

error in Decoding sphinx-3 missing util.pl

Help
saad irtza
2010-10-23
2012-09-22
  • saad irtza

    saad irtza - 2010-10-23

    hello.i m using 32-bit windows7 ultimate, sphinxbase-0.6. i m working on urdu
    speech data. i train my data. but unable to decode by using sphinx3-0.6? i
    build sphinx-3 by using MS visual 2008. when i enter perl
    scripts_pl/decode/slave.pl, i get the following error.
    Microsoft Windows Copyright (c) 2009 Microsoft Corporation. All rights
    reserved.
    C:\Users\Saad\Desktop\sphinx\tutorial>cd an4
    C:\Users\Saad\Desktop\sphinx\tutorial\an4>perl scripts_pl\decode\slave.pl
    Can't locate
    C:/Users/Saad/Desktop/sphinx/tutorial/an4/scripts_pl/util/utils.pl in @INC
    (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at etc/sphinx_decode.cfg line
    23.SOMETHING HERE Compilation failed in require at scripts_pl\decode\slave.pl
    line 52.
    plz tell me how to fix?
    thanks

     
  • Nickolay V. Shmyrev

    sphinx3-0.6 is outdated obsolete package, it's not compatible with new
    CMUSphinx tools. You need to use pocketsphinx. Follow the tutorial:

    http://cmusphinx.sourceforge.net/wiki/tutorialam

     
  • saad irtza

    saad irtza - 2010-10-23

    thanks.
    i download pocketsphinx. i compile pocketsphinx.sln by using MS visual 2008.
    but it fail to compile. which version should i use to compile or how to
    compile. ?
    and this command is also not running
    ../SphinxTrain/scripts_pl/setup_SphinxTrain.pl -task an4 .. i compile using MS
    visual 2008 but it says didn't fine .exe file. compile first plz tell me how
    to solve.
    thanks

     
  • Nickolay V. Shmyrev

    which version should i use to compile or how to compile. ?

    You need to use latest pocketsphinx-0.6.1 To compile it you need to follow the
    instructions in the README file. You need to compile sphinxbase first, then
    you need to compile pocketsphinx. It's pretty straightforward process.

    When you have build issues, it's easy to resolve them. You need to learn to
    provide exact build log and build errors, provide more information about
    versoins, steps and issues. That will help to identify your problem and solve
    it. You also need to read the compiler messages and try to understand them,
    the compiler output is very helpful and often contains the way to solve the
    problem.

    For more information read

    http://catb.org/~esr/faqs/smart-questions.html

     
  • saad irtza

    saad irtza - 2010-10-24

    After compiling sphinxbase 0.6.1 by MS visual 2008,I found following messege.
    Compiling...
    main_cepview.c
    ../../include\err.h(65) : fatal error C1083: Cannot open include file:
    'errno.h': No such file or directory
    Build log was saved at "file://c:\Users\Saad\Desktop\sphinx\sphinxbase-0.6.1\s
    phinxbase-0.6.1\win32\sphinx_cepview\Windows Mobile 5.0 Pocket PC SDK
    (ARMV4I)\Release\BuildLog.htm"
    sphinx_cepview - 1 error(s), 0 warning(s)

    profile.c
    C:\Program Files\Windows Mobile 5.0 SDK
    R2\PocketPC\include\ARMV4I\winnt.h(2976) : error C2061: syntax error :
    identifier 'PCONTEXT'
    C:\Program Files\Windows Mobile 5.0 SDK
    R2\PocketPC\include\ARMV4I\winnt.h(2977) : error C2059: syntax error : '}'
    C:\Program Files\Windows Mobile 5.0 SDK
    R2\PocketPC\include\ARMV4I\winbase.h(1414) : error C2061: syntax error :
    identifier 'LPCONTEXT'
    C:\Program Files\Windows Mobile 5.0 SDK
    R2\PocketPC\include\ARMV4I\winbase.h(1414) : error C2059: syntax error : ';'
    C:\Program Files\Windows Mobile 5.0 SDK
    R2\PocketPC\include\ARMV4I\winbase.h(2117) : error C2146: syntax error :
    missing ')' before identifier 'lpContext'
    C:\Program Files\Windows Mobile 5.0 SDK
    R2\PocketPC\include\ARMV4I\winbase.h(2117) : error C2081: 'LPCONTEXT' : name
    in formal parameter list illegal
    C:\Program Files\Windows Mobile 5.0 SDK
    R2\PocketPC\include\ARMV4I\winbase.h(2117) : error C2061: syntax error :
    identifier 'lpContext'
    C:\Program Files\Windows Mobile 5.0 SDK
    R2\PocketPC\include\ARMV4I\winbase.h(2117) : error C2059: syntax error : ';'
    C:\Program Files\Windows Mobile 5.0 SDK
    R2\PocketPC\include\ARMV4I\winbase.h(2118) : error C2059: syntax error : ')'
    C:\Program Files\Windows Mobile 5.0 SDK
    R2\PocketPC\include\ARMV4I\winbase.h(2125) : error C2143: syntax error :
    missing ')' before ''
    C:\Program Files\Windows Mobile 5.0 SDK
    R2\PocketPC\include\ARMV4I\winbase.h(2125) : error C2143: syntax error :
    missing '{' before '
    '
    C:\Program Files\Windows Mobile 5.0 SDK
    R2\PocketPC\include\ARMV4I\winbase.h(2126) : error C2059: syntax error : ')'
    ../../include\err.h(65) : fatal error C1083: Cannot open include file:
    'errno.h': No such file or directory

    how to fix it ?..thanks

     
  • Nickolay V. Shmyrev

    how to fix it ?..thanks

    To compile it you need to follow the instructions in the README file.

    C:\Program Files\Windows Mobile 5.0 SDK
    R2\PocketPC\include\ARMV4I\winbase.h(2125) :

    Don't you think it's strange you are compiling for Windows mobile?

     
  • saad irtza

    saad irtza - 2010-10-25

    thanks alot. It works...

    Best Regards

     

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.