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

link.exe not found #45

Open
LLSWIMS opened this issue Apr 19, 2022 · 2 comments
Open

link.exe not found #45

LLSWIMS opened this issue Apr 19, 2022 · 2 comments

Comments

@LLSWIMS
Copy link

LLSWIMS commented Apr 19, 2022

[+] 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

@darkarp
Copy link
Owner

darkarp commented Jul 2, 2022

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.

@janiaz708
Copy link

hi

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