[Ohrrpgce] [ohrrpgce/ohrrpgce] Android builds broken by datafiles.c (Issue #1222)
Ralph Versteegen
notifications at github.com
Tue Nov 2 04:25:58 PDT 2021
It compiles fine for me. I think I misinterpreted the error you posted as being that you had managed to make datafiles.c a symlink to one of the sourceslice files, but now it looks like actually `generate_datafiles_c` is broken, not converting the bytes of the input to integers. But why does it only break when you attempt to build for android? Probably it's the python version or $LANG you are using when doing that.
```
with open(path, 'rb') as datafile:
data = datafile.read()
...
for offset in range(0, len(data), 40):
row = data[offset : offset + 40]
ret += ' ' + ','.join(str(byte) for byte in row) + ',\n'
```
The problem seems to be `str`
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1222#issuecomment-957351238
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20211102/e944be39/attachment.html>
More information about the Ohrrpgce
mailing list