Menu

SphinxTrain compiling Error in Windows Vista

Help
2009-04-01
2012-09-22
  • Davide Riva

    Davide Riva - 2009-04-01

    I compile SphinxTrain (I downloaded the nightly build. ) under Visual Studio 2008 but there are two error:

    parse_cmd_ln.c
    c1 : fatal error C1083: Cannot open source file: '........\src\programs\lda_train\parse_cmd_ln.c': No such file or directory
    main.c
    c1 : fatal error C1083: Cannot open source file: '........\src\programs\lda_train\main.c': No such file or directory

    These errors are presented in both RELEASE mode and in DEBUG mode.

    Also the "wave2feat" project in Debug mode cause an error in Optimizer that crash the compiling procedure

     
    • StretchTiberius

      StretchTiberius - 2009-04-01

      Here is what I did:
      Remove the lda_train project from the solution. It should have been removed in last nights build.

      As for "wave2feat":
      Copy the contents of cmd_ln_defn.h into parse_cmd_ln.c where the #include "cmd_ln_defn.h" was (replacing #include "cmd_ln_defn.h").

      Then move the #includes that were just added to parse_cmd_ln.c to the top of the file (outside the function).

       
      • Nickolay V. Shmyrev

        StretchTiberius, what's the issue with wave2feat? Why it's not possible to include cmd_ln_defn.h?

         
        • StretchTiberius

          StretchTiberius - 2009-04-03

          I'm sorry I didn't mention this earlier. I think it has to do with including functions (from the includes in cmd_ln_defn) into the middle of a function (int parse_cmd_ln()). A function definition should not define another function inside of it. Does that seem right?

          It must also be a bug in Visual Studio 2008 as it crashes the compiler crashes rather then outputting an error.

           
          • Nickolay V. Shmyrev

            Thanks, this issue should be fixed now as well.

             
    • Davide Riva

      Davide Riva - 2009-04-02

      Thanks a lot.

      Now all the projects in SphinxTrain has been compiled.

      Only a question: what is ldatrain for? And why has been removed in last nights build?

       

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.