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

[Bug] ly does not build on 32-bit debian #667

Open
1 task done
mchaker opened this issue Jul 29, 2024 · 1 comment
Open
1 task done

[Bug] ly does not build on 32-bit debian #667

mchaker opened this issue Jul 29, 2024 · 1 comment
Labels
bug This issue or pull request discusses a bug

Comments

@mchaker
Copy link

mchaker commented Jul 29, 2024

Pre-requisites

  • I have looked for any other duplicate issues

Ly version

1.1.0

Observed behavior

Attempted building ly using zig build, received this error:

image

Expected behavior

I expected ly to build

Steps to reproduce

  1. symlink /usr/lib/x86-linux-gnu/ to /usr/lib/i386-linux-gnu/ since there's a bug in zig
  2. attempt zig build in the ly repo root
  3. receive build errors around 64bit values

Relevant logs

see attached screenshot
@mchaker mchaker added the bug This issue or pull request discusses a bug label Jul 29, 2024
@AnErrupTion
Copy link
Collaborator

AnErrupTion commented Jul 29, 2024

Looks like there are some errors with how the termbox2 C library is translated into Zig by the compiler. Hooray, another Zig bug! xD

With that said, I pushed a commit which reduces the number of errors and is now just down to this weird bug. This is already the 2nd bug I've encountered with the C to Zig transpiler with termbox2 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue or pull request discusses a bug
Projects
None yet
Development

No branches or pull requests

2 participants