Menu

help novice set up Sphinx2 on VC++ Windows

Help
Anonymous
2003-10-11
2012-09-22
  • Anonymous

    Anonymous - 2003-10-11

    Hi,
    I am total complete novice trying to set up Sphinx2 on Windows machine with VC++6. I have followed instructions in /doc/README.win32 by compiling the win32/msdev/libsphinx2 workspace and libsphinx2ad and ...2fe workspaces. Got some warnings, like this one: c:\documents and settings\default\desktop\sphinx2-0.4\include\ad.h(47) : warning C4005: 'AD_BACKEND_WIN32' : macro redefinition
            unknown(0) : see previous definition of 'AD_BACKEND_WIN32'
    but it all compiled.

    Well, so what do I do now? I don't know if I am even going in the right direction here. Could anyone please explain to me what to do next to actually get some kind of program running?

    Also, here is something I have tried: compiling win32\msdev\SphinxExamples\sphinx2_allphone, for instance, and got these errors:
    Linking...
    allphone-test.obj : error LNK2001: unresolved external symbol _fbs_end
    allphone-test.obj : error LNK2001: unresolved external symbol _uttproc_allphone_file
    allphone-test.obj : error LNK2001: unresolved external symbol _fbs_init
    Debug/sphinx2_allphone.exe : fatal error LNK1120: 3 unresolved externals
    Error executing link.exe.

     
    • Christoffer Andersson

      I just started out myself and had some trouble compiling for Win with vc++6 as well.

      Try compiling sphinx2_continuous and sphinx2_ptt.

      Those two programs are the ones used if you try the example .bat files.

      When you finally do get through the compilation try running the sphinx2_test.bat as well to see if everything is working.

      Remember to remove the /GZ compile option in all the projects that you want to compile or you will the the following error:
      unresolved external symbol __chkesp

      Chris

       

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.