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

Getting an error when following readme instruction #66

Closed
eastwood opened this issue Jan 31, 2024 · 0 comments
Closed

Getting an error when following readme instruction #66

eastwood opened this issue Jan 31, 2024 · 0 comments

Comments

@eastwood
Copy link

eastwood commented Jan 31, 2024

As a beginner, I'm unable to get zig working following README:

  1. brew install zig
  2. git clone https://github.com/Not-Nik/raylib-zig
  3. cd raylib-zig && ./project-setup test && cd test
  4. zig build run

/build.zig:14:35: error: root struct of file 'raylib-zig.build' has no member named 'getArtifact'
const raylib_artifact = rl.getArtifact(b, target, optimize);
~~^~~~~~~~~~~~
referenced by:
runBuild__anon_6732: /opt/homebrew/Cellar/zig/0.11.0/lib/zig/std/Build.zig:1639:37
remaining reference traces hidden; use '-freference-trace' to see all reference traces

Still working on the fix, but I'm unfamiliar with Zig so raising this in case others have solved or run into this as well.

Running on Mac M1.

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

1 participant