-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[zed] can not run, not sure it even was installed (clean msys2) #22356
Comments
and what about /ucrt64/bin? after running |
and what about /ucrt64/bin?
нет пути! i tried running zed from the ucrt shell immediately after
"installing" before i knew i got into troubles. But okay, i can do it again
to be sure
```
***@***.*** UCRT64 ~
$ which zed
which: no zed in
(/ucrt64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
***@***.*** UCRT64 ~
$ ls /ucrt64
bin etc include lib share
***@***.*** UCRT64 ~
$ ls /ucrt64/bin
```
so i propose you make a tabula rasa windows virtual box, WITHOUT
rust/cargo/VC++BT/anything. Install there clean bare msys2, again, without
any developer tools, and then try the pacman -S zed
i think that is the case, you wanted to "build world" and there was no
builders available
Message ID: ***@***.***>
… |
currently Zed is available for CLANG64 only: |
Looks like it, i would check if that is runnable later when have time.
But at least it is found.
```
***@***.*** CLANG64 ~
$ which zed
/clang64/bin/zed
***@***.*** CLANG64 ~
$ ls clang64/bin
ls: cannot access 'clang64/bin': No such file or directory
***@***.*** CLANG64 ~
$ ls /clang64/bin
libc++.dll libunwind.dll libzstd.dll pzstd.exe zed.exe zstd.exe
```
I still vote for adding visible output to the package sources, so user
would see it, given this MSYS2 quirk of having MANY parallel
dimensions.
Frankly, without a priori MSYS2 experience this multiverse was not expected...
Something along
```
echo "***************************************************************"
echo WHICH ZED?
echo `which zed`
echo "***************************************************************"
```
And/or always put a symlink into `/usr/bin` for the latest installed thing ?
Then, RM that link on uninstallaion.
_I wonder if MSYS2 has a concept like *alternatives*. So having several installed zeds user could uniformly select one to run by default. I mean, de-installation would remove the symlink, and it is ok, user would be explicitly made known his usual editor is gone, making a "caring" loop across `/*/bin` to find some random other zed to recreate the shortcut could be confusing. But then if user could easily and uniformly query other possible installed zeds and select one as default it could be nice_
|
got a minute and tried to launch it from CLANG64 MSYS
Why? what Here i have a stub video-card merely to have 2 digital cables. Driver is 26.02.2016 / 15.301.1901.0, at very least it should support OpenCL (used it to make RAM-disk inside)... Though GPU-Z shows clear checkboxes for both OpenCL and Vulcan now (but does tick DirectCompute...). Perhaps later i would have to play with drivers, there was some "lesser evil" choice i barely remember. Maybe it exactly was between stable but restricted and unstable but more featured versions. Anyway, if Zed needs Windows Vulcan drivers perhaps it could, again, be documented and maybe even checked from inside pacman scripts? Or is it again that Linux Vulcan runtime had to be installed inside MSYS? Any chances for Zed having more convensional back-ends without Vulcan? BTW, VSCode runs fine and i did never even puzzled myself which back-end it was using, i thought VPU-rendering was solved by browsers long ago before MSIE and Opera went extinct :-) |
can you try to update graphics card driver? |
i would check it, it is not a pressing issue, especially at work surely i did have OpenCL-based RAM-disk, so there must've been another more or less owrking driver. meanwhile is Zed really so "advanced" it can not operate without Vulkan 3D ? can hardly believe it... |
it uses Vulkan for GPUI - their own window system |
You need to install the GPU graphics driver and vulkan SDK, and then you can do the zed command in mysy2 |
Description / Steps to reproduce the issue
Just wanted to take a look at zed, so, assume zero experience
pacman -Suy
until it stopped doing changes, so assuming it is the actual versionBinary Packages
section does not list a thing for UCRT, but then it lists the immediate "literal" for the package, so finally i can run the command that works, or at least pretends to:pacman -S mingw-w64-clang-x86_64-zed
O_o
trying with all the three shells of MSYS2, thinking them perhaps having different UNIX $path or something and it is disallowed to run mingw packages from ucrt shell - all the same
running mingw shell
aye, we at least have some env-vars there...
ls /bin
- no zed-anything there.ls /usr/bin
- neither and it seems to be the same symlinked folderopening github page with pkgfile sources... oh, wow, cargo...
so, for a while i am done with Zed
my premonitions and speculaitons go as that
which zed
or something to make sure you did install the runnable zed.exebut i am not sure what it is inside my newly installed msys2 actually nor how to diag it (and i hate midnight commander too)
Expected behavior
there was any command to run the "installed" editor
Actual behavior
there is nothing to run or no way to know what to run
Verification
Windows Version
MINGW64_NT-10.0-19045 mldev02 3.5.4-0bc1222b.x86_64 2024-09-04 18:28 UTC x86_64 Msys
MINGW environments affected
The text was updated successfully, but these errors were encountered: