zig build-lib raylib Debug native: error: error(compilation): clang failed with stderr: In file included from /Users/mark/code/zig-odin-raylib-template/raylib/src/rglfw.c:126:
/Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/src/cocoa_init.m:78:5: error: use of undeclared identifier 'NSString'
/Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/src/cocoa_init.m:78:15: error: use of undeclared identifier 'appName'
/Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/src/cocoa_init.m:79:5: error: use of undeclared identifier 'NSDictionary'
/Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/src/cocoa_init.m:79:19: error: use of undeclared identifier 'bundleInfo'
/Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/src/cocoa_init.m:79:32: error: expected expression
/Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/src/cocoa_init.m:80:5: error: use of undeclared identifier 'NSString'
/Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/src/cocoa_init.m:80:15: error: use of undeclared identifier 'nameKeys'
/Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/src/cocoa_init.m:80:24: error: expected expression
/Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/src/cocoa_init.m:81:5: error: expected expression
/Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/src/cocoa_init.m:89:36: error: use of undeclared identifier 'nameKeys'
/Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/src/cocoa_init.m:89:55: error: use of undeclared identifier 'nameKeys'
/Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/src/cocoa_init.m:91:19: error: use of undeclared identifier 'bundleInfo'
/Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/src/cocoa_init.m:91:30: error: use of undeclared identifier 'nameKeys'
/Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/src/cocoa_init.m:93:13: error: expected expression
/Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/src/cocoa_init.m:96:13: error: use of undeclared identifier 'appName'
/Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/src/cocoa_init.m:101:10: error: use of undeclared identifier 'appName'
/Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/src/cocoa_init.m:105:13: error: use of undeclared identifier 'appName'
/Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/src/cocoa_init.m:105:23: error: expected expression
/Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/src/cocoa_init.m:107:13: error: use of undeclared identifier 'appName'
fatal error: too many errors emitted, stopping now [-ferror-limit=]
zig build-lib raylib Debug native: error: the following command failed with 1 compilation errors:
/Users/mark/.local/bin/zig-macos/zig build-lib -cflags -fno-sanitize=undefined -- /Users/mark/code/zig-odin-raylib-template/raylib/src/rcore.c /Users/mark/code/zig-odin-raylib-template/raylib/src/rshapes.c /Users/mark/code/zig-odin-raylib-template/raylib/src/rtextures.c /Users/mark/code/zig-odin-raylib-template/raylib/src/rtext.c /Users/mark/code/zig-odin-raylib-template/raylib/src/rmodels.c /Users/mark/code/zig-odin-raylib-template/raylib/src/utils.c /Users/mark/code/zig-odin-raylib-template/raylib/src/raudio.c -cflags -fno-sanitize=undefined -D_GNU_SOURCE -- /Users/mark/code/zig-odin-raylib-template/raylib/src/rglfw.c -lc --cache-dir /Users/mark/code/zig-odin-raylib-template/zig-cache --global-cache-dir /Users/mark/.cache/zig --name raylib -static -I /Users/mark/code/zig-odin-raylib-template/raylib/src -I /Users/mark/code/zig-odin-raylib-template/raylib/src/external/glfw/include -D PLATFORM_DESKTOP=1 --listen=-
steps [2/7] run time... dyld[16331]: Library not loaded: /usr/local/opt/llvm@13/lib/libLLVM-C.dylib
Referenced from: <B1C427B0-8FD7-3D51-8F4A-C503325E9012> /Users/mark/code/zig-odin-raylib-template/zig-cache/o/a0a63ebf60120be95dad206be410d5e8/odin
Reason: tried: '/usr/local/opt/llvm@13/lib/libLLVM-C.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/llvm@13/lib/libLLVM-C.dylib' (no such file), '/usr/local/opt/llvm@13/lib/libLLVM-C.dylib' (no such file), '/usr/local/lib/libLLVM-C.dylib' (no such file), '/usr/lib/libLLVM-C.dylib' (no such file, not in dyld cache)
time: command terminated abnormally
0,22 real 0,00 user 0,00 sys
run time: error: the following command terminated unexpectedly:
time /Users/mark/code/zig-odin-raylib-template/zig-cache/o/a0a63ebf60120be95dad206be410d5e8/odin build src -no-entry-point -build-mode:obj -out:zig-out/odinsrc.o
Build Summary: 1/7 steps succeeded; 2 failed (disable with --summary none)
install transitive failure
├─ install raylib transitive failure
│ └─ zig build-lib raylib Debug native 1 errors
└─ install game transitive failure
└─ zig build-exe game Debug native transitive failure
├─ run time failure
└─ zig build-lib raylib Debug native (reused)
/Users/mark/code/zig-odin-raylib-template/raylib/src/rglfw.c:1:1: error: unable to build C object: clang exited with code 1
This is the output:
Any pointers?