#Access denied when doing zig fetch

1 messages · Page 1 of 1 (latest)

hollow fern
#

I'm trying to fetch this git repo:
https://github.com/libsdl-org/SDL_image.git
I am doing zig fetch --save git+https://github.com/libsdl-org/SDL_image.git.
And i am getting this error:

error: unable to unpack packfile
    note: unable to create symlink from 'Xcode\macOS\SDL3.framework\Headers' to 'Versions/Current/Headers': AccessDenied
    note: unable to create symlink from 'Xcode\macOS\SDL3.framework\Resources' to 'Versions/Current/Resources': AccessDenied
    note: unable to create symlink from 'Xcode\macOS\SDL3.framework\SDL3.tbd' to 'Versions/Current/SDL3.tbd': AccessDenied
    note: unable to create symlink from 'Xcode\macOS\SDL3.framework\Versions\Current' to 'A': AccessDenied

What can i do about this? Am i doing something wrong?

GitHub

Image decoding for many popular formats for Simple Directmedia Layer. - libsdl-org/SDL_image

jaunty scarab
gloomy jackal
gloomy jackal
hollow fern
hollow fern
gloomy jackal
#

oh you're on windows, that makes sense

#

symlinks aren't allowed on windows

hollow fern
#

🫡

jaunty scarab
gloomy jackal
#

yep

jaunty scarab
#

When was git support added?

gloomy jackal
#

(to be clear, zig fetch only supports git+https)

#

not the weird git protocol, or git over ssh

gloomy jackal
jaunty scarab
gloomy jackal
#

like, pre-0.14 at least