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

Error: failed to splat Microsoft.VC.14.29.16.10.CRT.x64.Desktop.base.vsix #95

Closed
TaregAlsoudani73 opened this issue Aug 12, 2023 · 4 comments

Comments

@TaregAlsoudani73
Copy link

TaregAlsoudani73 commented Aug 12, 2023

I am using MacOS Ventura 13.4.1 on M1 processor.

When splatting, I received a message:

CRT.headers [0s] █████████████████████████████████ 17.50 MiB/17.50 MiB 📦 splatted
CRT.libs.x86_64.desktop [0s] █████████████████████████183.89 MiB/183.89 MiB 📦 splatted
CRT.libs.x86_64.store [0s] ███████████████████████████65.38 MiB/65.38 MiB 📦 splatted
SDK.headers.all.none [0s] ████████████████████████████89.79 MiB/89.79 MiB 📦 splatted
SDK.headers.all.store [0s] ███████████████████████████ 219.85 MiB/219.85 MiB 📦 splatted
SDK.headers.x86_64.none [0s] ██████████████████████████45.17 KiB/45.17 KiB 📦 splatted
SDK.libs.x86_64 [0s] ███████████████████████████████71.15 MiB/71.15 MiB 📦 splatted
SDK.libs.store.all [0s] █████████████████████████████ 36.54 MiB/36.54 MiB 📦 splatted
SDK.ucrt.all [0s] ███████████████████████████████ 121.88 MiB/121.88 MiB 📦 splatted

**Error: failed to splat Microsoft.VC.14.29.16.10.CRT.x64.Desktop.base.vsix

Caused by:
0: unable to symlink from /Users/tareg/xwin/.xwin-cache/splat/crt/lib/x86_64/LIBCMT.lib to libcmt.lib
1: File exists (os error 17)**

@TaregAlsoudani73 TaregAlsoudani73 changed the title cannot open source file "crtdbg.h" (dependency of "iostream") Error: failed to splat Microsoft.VC.14.29.16.10.CRT.x64.Desktop.base.vsix Aug 12, 2023
@evmar
Copy link

evmar commented Jan 28, 2024

I hit this too. It is because MacOS file system is case insensitive.

@evmar
Copy link

evmar commented Jan 28, 2024

It's not clear to me if the 'splat' operation is only handling case, or if it's doing other links beyond case.

@Jake-Shadle
Copy link
Owner

It's only creating symlinks to deal with a multitude of casing issues within the SDK, if you have a case-insensitive file system you need to pass --disable-symlinks so they aren't created. I'd accept a PR to detect this for MacOS if the code was reasonable and didn't pull in dependencies, but this project was never intended to support MacOS (I didn't even know they had case-insensitive file systems) so I won't be doing that myself.

@evmar
Copy link

evmar commented Jan 29, 2024

I think when I read through the docs (and peeked into the code) before, I wasn't clear on the relationship between the 'splat' operation and whether disable-symlinks was solely a case thing or necessary for some other behavior. Rereading it now, I think what confused me is that I read "By default, symlinks are added to both the CRT and WindowsSDK" as saying something like "splat creates symlinks from the output dir to the WindowsSDK", which I now understand it doesn't.

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

3 participants