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

raylib on macos zig 0.14 #176

Open
david-vanderson opened this issue Jan 21, 2025 · 0 comments
Open

raylib on macos zig 0.14 #176

david-vanderson opened this issue Jan 21, 2025 · 0 comments

Comments

@david-vanderson
Copy link
Owner

It looks like raylib has an xcode-specific dependency that doesn't quite work with zig 0.14, so I've disabled raylib on macos for now.

/Users/dvanderson/.cache/zig/p/12208da4dfcd9b53fb367375fb612ec73f38e53015f1ce6ae6d6e8437a637078e170/build.zig:13:14: error: expected type '*Build.Module', found '**Build.Module'
    addPaths(&lib.root_module); // just for testing
             ^~~~~~~~~~~~~~~~
/Users/dvanderson/.cache/zig/p/12208da4dfcd9b53fb367375fb612ec73f38e53015f1ce6ae6d6e8437a637078e170/build.zig:13:14: note: pointer type child '*Build.Module' cannot cast into pointer type child 'Build.Module'
/Users/dvanderson/apps/zig-macos-aarch64-0.14.0-dev.2851+b074fb7dd/lib/std/Build/Module.zig:1:1: note: struct declared here
/// The one responsible for creating this module.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/dvanderson/.cache/zig/p/12208da4dfcd9b53fb367375fb612ec73f38e53015f1ce6ae6d6e8437a637078e170/build.zig:19:22: note: parameter type declared here
pub fn addPaths(mod: *std.Build.Module) void {
                     ^~~~~~~~~~~~~~~~~
referenced by:
    runBuild__anon_69983: /Users/dvanderson/apps/zig-macos-aarch64-0.14.0-dev.2851+b074fb7dd/lib/std/Build.zig:2388:33
    dependencyInner__anon_59142: /Users/dvanderson/apps/zig-macos-aarch64-0.14.0-dev.2851+b074fb7dd/lib/std/Build.zig:2369:29
    9 reference(s) hidden; use '-freference-trace=11' to see all references
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