Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autogen build on Windows 10/Msys2 MinGW 64 #248

Closed
n0dus opened this issue May 31, 2022 · 2 comments
Closed

Autogen build on Windows 10/Msys2 MinGW 64 #248

n0dus opened this issue May 31, 2022 · 2 comments

Comments

@n0dus
Copy link

n0dus commented May 31, 2022

Building pocketsphinx 5prealpha on Windows 10 using Msys2 system with MinGW 64 gives Makefiles containing the following lines:

SWIG_LIB = C:\msys64\mingw64\bin\Lib
C:/msys64/mingw64/share/swig/4.0.2

Trying to build the system using "make" results in the following error:

Makefile: 312: *** missing separator. Stop.

Replacing the newline by a space fixes the problem.

This issue affects all Makefiles in all CMU Sphinx related projects (also sphinxbase etc.).

@dhdaines
Copy link
Contributor

dhdaines commented Jun 9, 2022

Hi, I just completely changed the build system to use CMake now. It seems to mostly work for me in VSCode and with NMake, haven't tried it with MSYS2 though. If you have a moment to try this PR let me know: #251

@n0dus
Copy link
Author

n0dus commented Jun 9, 2022

I tried PR #250 that included the new CMake system and it worked.
I have used cmake-gui to set up the Makefiles since the built-in cmake of Msys2 tends to not find the correct tool chain.

The Swig problem is effectively gone, also the build process seems much faster. Thanks!

@n0dus n0dus closed this as completed Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants