nbdd0121 / wsld

WSL Daemon - Stable X11 connection and time synchronisation for WSL2
Apache License 2.0
298 stars 24 forks source link

Builld fails on Windows 10 #6

Closed apos closed 3 years ago

apos commented 3 years ago

Hi and happy new year,

just like to inform you, that the build von Win10 fails due to error: "Das System kann die angegebene Datei nicht finden (GER)" -> " cannot find specified file (ENG)"

C:\Users\apos>cargo install --git https://github.com/nbdd0121/x11-over-vsock
    Updating git repository `https://github.com/nbdd0121/x11-over-vsock`
  Installing x11-over-vsock v0.1.0 (https://github.com/nbdd0121/x11-over-vsock#1b531af4)
    Updating crates.io index

[...]

  Downloaded 39 crates (3.0 MB) in 14.37s (largest was `winapi` at 1.2 MB)
   Compiling proc-macro2 v1.0.24
   Compiling winapi v0.3.9

[...]

   Compiling unicode-xid v0.2.1
   Compiling syn v1.0.56
   Compiling log v0.4.11
   Compiling cfg-if v0.1.10
   Compiling cc v1.0.66
   Compiling memchr v2.3.4
   Compiling serde_derive v1.0.118
error: linker `link.exe` not found
  |
  = note: Das System kann die angegebene Datei nicht finden. (os error 2)

[...]

error: failed to compile `x11-over-vsock v0.1.0 (https://github.com/nbdd0121/x11-over-vsock#1b531af4)`, intermediate artifacts can be found at `C:\Users\apos\AppData\Local\Temp\cargo-installZEz75P`

Caused by:
  build failed

I try to find and install the precompiled binaries.

Cheers Axel

nbdd0121 commented 3 years ago

You need to have Visual C++ toolchain installed if you want to compile it yourself.

apos commented 3 years ago

You need to have Visual C++ toolchain installed if you want to compile it yourself.

Could you please alter your (very good) installation instructions. THX