Hi,
now, after two days of try-and-error, there must be someone who knows how to make it right. I downloaded with svn the Sphinxtrainer to my harddisk E:\Sphinx\tutorial\SphinxTrain. On my Windows XP (SP2) machine, Visual Studio 6 with C++ is installed. With a double click on SphinxTrain.dsw I started Visual Studio and with Build->Batch Build->Build All I started the compilation and I got hundreds of warning messages. Here a short snipped of them:
[snip]
E:\Sphinx\tutorial\SphinxTrain\src\libs\libcommon\two_class.c(308) : warning C4244: 'function' : conversion from 'double ' to 'float ', possible loss of data
vector.c
E:\Sphinx\tutorial\SphinxTrain\src\libs\libcommon\vector.c(98) : warning C4244: '/=' : conversion from 'double ' to 'float ', possible loss of data
was_added.c
E:\Sphinx\tutorial\SphinxTrain\src\libs\libcommon\vector.c(157) : warning C4700: local variable 'p' used without having been initialized
Creating library... [snip]
Since, these warning are so many, I must have over-seen something, but I am giving up trying (and am close to crying). For those of you guys who take the time and can give me a short reply, I would be more than gratefull.
Cheers
The Alexander
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sphinx4 is written in Java, so you need a Java Developer Kit (get the latest version from java.sun.com), and I recommend using an IDE like Eclipse or Netbeans (which I use). To build Sphinx4, you'll also need ant (http://ant.apache.org/, which is integrated with Netbeans if you go that way). All this and other information is provided in the Sphinx4 documentation.
Good luck,
Erik
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
now, after two days of try-and-error, there must be someone who knows how to make it right. I downloaded with svn the Sphinxtrainer to my harddisk E:\Sphinx\tutorial\SphinxTrain. On my Windows XP (SP2) machine, Visual Studio 6 with C++ is installed. With a double click on SphinxTrain.dsw I started Visual Studio and with Build->Batch Build->Build All I started the compilation and I got hundreds of warning messages. Here a short snipped of them:
[snip]
E:\Sphinx\tutorial\SphinxTrain\src\libs\libcommon\two_class.c(308) : warning C4244: 'function' : conversion from 'double ' to 'float ', possible loss of data
vector.c
E:\Sphinx\tutorial\SphinxTrain\src\libs\libcommon\vector.c(98) : warning C4244: '/=' : conversion from 'double ' to 'float ', possible loss of data
was_added.c
E:\Sphinx\tutorial\SphinxTrain\src\libs\libcommon\vector.c(157) : warning C4700: local variable 'p' used without having been initialized
Creating library...
[snip]
Since, these warning are so many, I must have over-seen something, but I am giving up trying (and am close to crying). For those of you guys who take the time and can give me a short reply, I would be more than gratefull.
Cheers
The Alexander
For the errors, it is just artefacts of f2c. So don't worry, it is up and running. ;-)
-a
Hi Alexander,
Sphinx4 is written in Java, so you need a Java Developer Kit (get the latest version from java.sun.com), and I recommend using an IDE like Eclipse or Netbeans (which I use). To build Sphinx4, you'll also need ant (http://ant.apache.org/, which is integrated with Netbeans if you go that way). All this and other information is provided in the Sphinx4 documentation.
Good luck,
Erik