link.exe not found
Opened this issue · 2 comments
[+] Building Server
Compiling proc-macro2 v1.0.28
Compiling syn v1.0.74
Compiling winapi v0.3.9
Compiling memchr v2.4.0
Compiling futures-core v0.3.16
Compiling proc-macro-hack v0.5.19
Compiling log v0.4.14
Compiling futures-sink v0.3.16
Compiling lazy_static v1.4.0
Compiling winapi v0.2.8
error: linker link.exe
not found
|
= note: program not found
note: the msvc targets depend on the msvc linker but link.exe
was not found
note: please ensure that VS 2013, VS 2015, VS 2017, VS 2019 or VS 2022 was installed with the Visual C++ option
error: could not compile futures-core
due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile log
due to previous error
error: could not compile memchr
due to previous error
error: could not compile proc-macro-hack
due to previous error
error: could not compile syn
due to previous error
error: could not compile proc-macro2
due to previous error
error: could not compile winapi
due to previous error
[-] Server couldn't be copied: [Errno 2] No such file or directory: 'templates/chromepass-server/target/release/chromepass-server.exe'
[+] Building Client
Compiling winapi v0.3.9
Compiling proc-macro2 v1.0.24
Compiling libc v0.2.99
Compiling syn v1.0.64
Compiling serde v1.0.127
Compiling serde_derive v1.0.127
Compiling log v0.4.14
Compiling memchr v2.3.4
error: linker link.exe
not found
|
= note: program not found
note: the msvc targets depend on the msvc linker but link.exe
was not found
note: please ensure that VS 2013, VS 2015, VS 2017, VS 2019 or VS 2022 was installed with the Visual C++ option
error: could not compile log
due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile memchr
due to previous error
error: could not compile syn
due to previous error
error: could not compile serde_derive
due to previous error
error: could not compile serde
due to previous error
error: could not compile libc
due to previous error
error: could not compile proc-macro2
due to previous error
error: could not compile winapi
due to previous error
[-] Client couldn't be copied: [Errno 2] No such file or directory: 'templates/chromepass-build/target/release/chromepass.exe'
[-] Error building the server
[-] Error building the client
Seems like the build tools weren't properly installed. Did you try this inside a VM?
I would recommend uninstalling rustup and reinstalling following the manual installation outlined in the readme. This should be automatic but it seems that for some reason it is failing somewhere.
hi