Francesco149 / oppai-ng

difficulty and pp calculator for osu!. better, smaller, faster rewrite of https://github.com/Francesco149/oppai
The Unlicense
155 stars 36 forks source link

Building issues on ARM platforms #55

Closed szescxz closed 5 years ago

szescxz commented 5 years ago

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 commented 5 years ago

interesting. time to debug it on my raspberry pi

Francesco149 commented 5 years ago

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