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

add missing path #103

Merged
merged 1 commit into from
Oct 5, 2024
Merged

Conversation

VisenDev
Copy link
Contributor

@VisenDev VisenDev commented Oct 5, 2024

Because the include directory was not in the paths field of build.zig.zon, building ziglua master as a dependency fails because it fails to find the include directory.

Robert@Roberts-MacBook-Pro-2 ~/z/dev (master)> zig build
install
└─ install dev
   └─ zig build-exe dev Debug native
      └─ translate-c failure
error: error: FileNotFound

error: the following command exited with error code 1:
/Users/Robert/zig/0.13.0/files/zig translate-c -lc --listen=- -I /Users/Robert/zig/dev/.zig-cache/i/a8616f6f48aaff0f313d6060ffcb2711/include /Users/Robert/.cache/zig/p/1220e799b85ed395896173008e6567a5614a4842d1e1485ee62e669926c2082bb93c/include/lua_all.h
Build Summary: 11/15 steps succeeded; 1 failed (disable with --summary none)
install transitive failure
└─ install dev transitive failure
   └─ zig build-exe dev Debug native transitive failure
      └─ translate-c failure
error: the following build command failed with exit code 1:
/Users/Robert/zig/dev/.zig-cache/o/2d41ede4755489dfd1bd6b2e94bb5307/build /Users/Robert/zig/0.13.0/files/zig /Users/Robert/zig/dev /Users/Robert/zig/dev/.zig-cache /Users/Robert/.cache/zig --seed 0x8d01faf -Zd86f12b4e4c6389e

@VisenDev
Copy link
Contributor Author

VisenDev commented Oct 5, 2024

Bug introduced in #96

@natecraddock
Copy link
Owner

Ooo good catch. Thanks!

@natecraddock natecraddock merged commit e3a97ad into natecraddock:main Oct 5, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants