Comments (4)
I fixed the build script, but now getting this:
[nix-shell:~/dev/tetris]$ zig build play
/home/andy/dev/tetris/src/c.zig:1:9: error: C import failed
pub use @cImport({
^
/home/andy/dev/zig/build/lib/zig/libc/include/generic-glibc/bits/local_lim.h:38:10: note: 'linux/limits.h' file not found
#include <linux/limits.h>
^
I know how to fix it. It is a missing header we need to grab from linux.
from tetris.
Fixed in ziglang/zig@8369ddb and now it builds for me.
from tetris.
To answer your question, I think it would be a fun project to do that, and I am amenable to such pull requests, if you will allow me to later change my mind and request that we continue the effort in a new repository so that this one can go back to being a dead simple example.
from tetris.
Sounds great. I’ll stay out of the way until you get 0.4 out the door.
from tetris.
Related Issues (13)
- error: no member named 'rand' in '/usr/lib/zig/std/index.zig' HOT 4
- LLVM error when building the game HOT 2
- `error: use of undeclared identifier '_'` with zig 0.4.0 HOT 2
- build problem HOT 3
- MIT or CC0 license? HOT 1
- Status of this project? HOT 1
- Refactoring discussion HOT 2
- Fails building with zig 0.10 HOT 4
- Broken Youtube link in README and repo description HOT 4
- A warning against using trademarked names
- Can you help provide the dependent versions required to successfully compile tetris? HOT 1
- Unifying similar code for particles and falling blocks HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tetris.