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

Unable to compile on Windows #14977

Open
1 task done
IITuxtmuxII opened this issue Jul 22, 2024 · 6 comments
Open
1 task done

Unable to compile on Windows #14977

IITuxtmuxII opened this issue Jul 22, 2024 · 6 comments
Labels
defect [core label] open source Open source community projects, contributions, etc panic / crash [core label] windows

Comments

@IITuxtmuxII
Copy link

IITuxtmuxII commented Jul 22, 2024

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

After trying to compile on win10 for windows I get this issue and it wont start up.

   Compiling go_to_line v0.1.0 (C:\Users\Paul\Downloads\zed-main\zed-main\crates\go_to_line)
   Compiling outline_panel v0.1.0 (C:\Users\Paul\Downloads\zed-main\zed-main\crates\outline_panel)
   Compiling journal v0.1.0 (C:\Users\Paul\Downloads\zed-main\zed-main\crates\journal)
    Finished `release` profile [optimized + debuginfo] target(s) in 21m 01s
     Running `target\release\zed.exe`
error: process didn't exit successfully: `target\release\zed.exe` (exit code: 0xc000041d)

Environment

Windows 10 l
atest rust

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log
@IITuxtmuxII IITuxtmuxII added admin read Pending admin review defect [core label] triage Maintainer needs to classify the issue labels Jul 22, 2024
@MichaelRehberg
Copy link

MichaelRehberg commented Jul 22, 2024

Seeing the same behaviour on windows 11 23h2 build 22631.3880 with rustc 1.79.0

   Compiling assistant v0.1.0 (C:\development\Git\zed\crates\assistant)
   Compiling repl v0.1.0 (C:\development\Git\zed\crates\repl)
   Compiling collab_ui v0.1.0 (C:\development\Git\zed\crates\collab_ui)
   Compiling welcome v0.1.0 (C:\development\Git\zed\crates\welcome)
   Compiling tab_switcher v0.1.0 (C:\development\Git\zed\crates\tab_switcher)
   Compiling activity_indicator v0.1.0 (C:\development\Git\zed\crates\activity_indicator)
   Compiling language_tools v0.1.0 (C:\development\Git\zed\crates\language_tools)
   Compiling quick_action_bar v0.1.0 (C:\development\Git\zed\crates\quick_action_bar)
    Finished `release` profile [optimized + debuginfo] target(s) in 7m 15s
     Running `target\release\zed.exe`
error: process didn't exit successfully: `target\release\zed.exe` (exit code: 0xffffffff)

@JunkuiZhang
Copy link
Contributor

Seeing the same behaviour on windows 11 23h2 build 22631.3880 with rustc 1.79.0

I am using the same Windows version as you, and it runs without any issues. That's strange.

Screenshot 2024-07-23 173229

@Polygons1
Copy link

Polygons1 commented Jul 23, 2024

 I think that

@JosephTLyons JosephTLyons added panic / crash [core label] windows open source Open source community projects, contributions, etc and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Jul 23, 2024
@JosephTLyons JosephTLyons changed the title hi I currently get this issue? Unable to compile on Windows Jul 23, 2024
@MichaelRehberg
Copy link

Short update from my side:

PS C:\development\Git\zed> cargo run
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.36s
     Running `target\debug\zed.exe`
[2024-07-24T22:59:39+02:00 ERROR fs.rs] Error { kind: Generic("Input watch path is neither a file nor a directory."), paths: [] }
[2024-07-24T22:59:39+02:00 ERROR fs.rs] Error { kind: Generic("Input watch path is neither a file nor a directory."), paths: [] }
[2024-07-24T22:59:39+02:00 ERROR fs.rs] Error { kind: Generic("Input watch path is neither a file nor a directory."), paths: [] }
[2024-07-24T22:59:39+02:00 ERROR blade_graphics::hal::init] No composite alpha flag for transparency: OPAQUE
[2024-07-24T22:59:39+02:00 ERROR blade_graphics::hal::init] No composite alpha flag for transparency: OPAQUE
[2024-07-24T22:59:39+02:00 ERROR blade_graphics::hal::init] No composite alpha flag for transparency: OPAQUE
[2024-07-24T22:59:39+02:00 ERROR fs.rs] Error { kind: Generic("Input watch path is neither a file nor a directory."), paths: [] }
Thread "main" panicked with "GPU error Initialization of an object has failed" at C:\Users\osmre\.cargo\git\checkouts\blade-ea462a0faa3f9995\7e497c5\blade-graphics\src\vulkan\command.rs:446:27
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: <unknown>
   9: git_smart_subtransport_git
  10: <unknown>
  11: <unknown>
  12: <unknown>
  13: <unknown>
  14: <unknown>
  15: <unknown>
  16: <unknown>
  17: <unknown>
  18: <unknown>
  19: <unknown>
  20: <unknown>
  21: <unknown>
  22: <unknown>
  23: <unknown>
  24: <unknown>
  25: <unknown>
  26: <unknown>
  27: <unknown>
  28: <unknown>
  29: DispatchMessageW
  30: CallWindowProcW
  31: wglSwapBuffers
  32: DispatchMessageW
  33: DispatchMessageW
  34: GetClassLongW
  35: KiUserCallbackDispatcher
  36: NtUserDispatchMessage
  37: DispatchMessageW
  38: <unknown>
  39: <unknown>
  40: <unknown>
  41: <unknown>
  42: <unknown>
  43: <unknown>
  44: <unknown>
  45: <unknown>
  46: <unknown>
  47: <unknown>
  48: git_smart_subtransport_git
  49: BaseThreadInitThunk
  50: RtlUserThreadStart

error: process didn't exit successfully: `target\debug\zed.exe` (exit code: 0xffffffff)

Tried updating the graphics driver (avoiding the classic case of an outdated graphics driver!)
No luck with that :-( still get the same error, but maybe that helps to get into the right direction.

@ilya-trifonov
Copy link

Hi! I have the same problem. Do you have a solution?

@just-ero
Copy link

just-ero commented Oct 4, 2024

Similar issue here, but I'm getting

Wasmtime's runtime is being compiled for an architecture that it does not support

when just running cargo run --release. There are more errors, for example in html_to_markdown v0.1.0 and dashmap v5.5.3 with a symbol not being found within its current scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect [core label] open source Open source community projects, contributions, etc panic / crash [core label] windows
Projects
None yet
Development

No branches or pull requests

7 participants