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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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).
StretchTiberius, what's the issue with wave2feat? Why it's not possible to include cmd_ln_defn.h?
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.
Thanks, this issue should be fixed now as well.
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?