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

mame2016 fails to build in Linux and solution #1691

Open
bugalo opened this issue Oct 24, 2022 · 0 comments
Open

mame2016 fails to build in Linux and solution #1691

bugalo opened this issue Oct 24, 2022 · 0 comments

Comments

@bugalo
Copy link

bugalo commented Oct 24, 2022

mame2016 fails to build in Linux, when using the following command:
NOCLEAN=./libretro-build.sh mame2016

giving the following error:
cc1plus: all warnings being treated as errors

This is because gmake is using Makefile and not Makefile.libretro. This can be fixed by editing the file rules.d/core-rules.sh, line 980, and replacing libretro_mame2016_makefile="Makefile" with libretro_mame2016_makefile="Makefile.libretro" and adding afterwards libretro_mame2016_build_makefile=Makefile.libretro.

mame2016 will then build just fine, provided that python2 is installed. I don't have python2 installed, so I get the following error:
Python is not available in path. Stop.
This error can also be fixed by modifying Makefile.libretro and adding, after line 114 the following two lines:

else ifeq ($(platform), unix)
	PYTHON_EXECUTABLE = python

The build process will then use the available Python.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant