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

Unable to build on Ubuntu 22.04.1 #76

Open
guighub opened this issue Dec 5, 2022 · 3 comments
Open

Unable to build on Ubuntu 22.04.1 #76

guighub opened this issue Dec 5, 2022 · 3 comments

Comments

@guighub
Copy link

guighub commented Dec 5, 2022

I followed the Linux building instructions and it failed to build compile after running make --jobs 4 with the following text:

gmake: *** [Makefile:66: n64graphics] Error 127
Traceback (most recent call last):
  File "/home/guiguig/sm64-port-android-base/app/jni/src/./extract_assets.py", line 292, in <module>
    main()
  File "/home/guiguig/sm64-port-android-base/app/jni/src/./extract_assets.py", line 162, in main
    subprocess.check_call(
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gmake', '-s', '-C', 'tools/', 'n64graphics', 'skyconv', 'mio0', 'aifc_decode']' returned non-zero exit status 2.
Makefile:183: *** Failed to extract assets.  Stop.

I tried compiling on Windows and Termux as well but they gave different errors too, Windows failed on running the gradlew.bat command and Termux failed to locate one of the audio libraries.

@Honest-n
Copy link

Honest-n commented Dec 9, 2022

The build instructions for termux are incomplete and I've never successfully mangaged to build for android on anything other than android
You need to install binutils and download krhplatform.h from kronos.
I've added a commit but it has yet to be merged.
See https://github.com/VDavid003/sm64-port-android/blob/653e11d84ffeef9c5c264c78087f0648242274d1/README.md

@guighub
Copy link
Author

guighub commented Dec 10, 2022

On Termux I still get this error:

In file included from src/pc/gfx/gfx_sdl2.c:19:
SDL/include/SDL2/SDL_opengles2.h:35:10: fatal error: 'GLES2/gl2platform.h' file not found
#include <GLES2/gl2platform.h>

@Honest-n
Copy link

Honest-n commented Dec 14, 2022 via email

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

2 participants