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

Building issues on ARM platforms #55

Closed
szescxz opened this issue Jul 9, 2019 · 2 comments
Closed

Building issues on ARM platforms #55

szescxz opened this issue Jul 9, 2019 · 2 comments

Comments

@szescxz
Copy link

szescxz commented Jul 9, 2019

Following the Linux installation guide in README, the binary file was compiled successfully, however it doesn't work with any beatmaps (even a test beatmap with only one hit object), throwing an error that reads "data was truncated, possibly because it was too big".
Tested on armv7l & aarch64. Other architectures (x86_64 & mips in my case) works fine. Cross-compiling with gcc-arm-linux-gnueabihf doesn't work either.
The Python module (installed with pip install oppai, not the pure Python one) also returns -3.

@Francesco149
Copy link
Owner

interesting. time to debug it on my raspberry pi

@Francesco149
Copy link
Owner

oooh it seems that on arm the EOF character is outside the range of char so the reading loop never detects it. I'll have to make it an int

TIL

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