julius-speech / julius

Open-Source Large Vocabulary Continuous Speech Recognition Engine
BSD 3-Clause "New" or "Revised" License
1.84k stars 300 forks source link

compiling error #150

Open Weacre opened 4 years ago

Weacre commented 4 years ago

I was trying to compile julius from source code with Visual Studio, but get an error like "../msvc/Release/libsent.lib is not a valid WIN32 application", has anybody got the same issue? ps: I'm running julius on win10 with Visual Studio 2019

dlmiles commented 4 years ago

From VS2017 opening the MSVC/Julius.sln from there you can build the top level project "Julius" this will build most things ok, some items such as Linux specific SDL/GTK based UIs will fail to build:

admintool-gui (this project click on it and click "unload", wants Linux SDL UI) mkfa (this project wants unix bison output for lexer, also click "unload" on this project node) generate (this can be fixed for me with the process below)

If you select "generate/gen_next.c" -> Compile (it should compile the single file it seems to struggle with during full build) If you select top level project "Build" it should finish building.

You should have an output file "msvc/Release/julius.exe" and a number of other EXE in that directory.