Aatch / ramp

RAMP - Rust Arithmetic in Multiple Precision
Apache License 2.0
263 stars 38 forks source link

Cargo build failed #128

Closed emrahsariboz closed 3 years ago

emrahsariboz commented 3 years ago
cargo build
   Compiling proc-macro2 v1.0.27
   Compiling syn v1.0.73
   Compiling memchr v2.4.0
   Compiling libc v0.2.96
   Compiling failure_derive v0.1.8
   Compiling ppv-lite86 v0.2.10
   Compiling getrandom v0.1.16
   Compiling hamming v0.1.3
error: linker `link.exe` not found
  |
  = note: The system cannot find the file specified. (os error 2)

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 or VS 2019 was installed with the Visual C++ option

error: aborting due to previous error

error: linker `link.exe` not found
  |
  = note: The system cannot find the file specified. (os error 2)

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 or VS 2019 was installed with the Visual C++ option

error: aborting due to previous error

error: could not compile `memchr`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: linker `link.exe` not found
  |
  = note: The system cannot find the file specified. (os error 2)

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 or VS 2019 was installed with the Visual C++ option

error: aborting due to previous error

error: linker `link.exe` not found
  |
  = note: The system cannot find the file specified. (os error 2)

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 or VS 2019 was installed with the Visual C++ option

error: aborting due to previous error

error: linker `link.exe` not found
  |
  = note: The system cannot find the file specified. (os error 2)

error: linker `link.exe` not found
  = note: The system cannot find the file specified. (os error 2)
PS C:\Users\Emrah Sariboz\Desktop\Rust\VDF-imports>
PS C:\Users\Emrah Sariboz\Desktop\Rust\VDF-imports> cargo build
   Compiling proc-macro2 v1.0.27  
   Compiling memchr v2.4.0        
   Compiling syn v1.0.73
   Compiling libc v0.2.96
   Compiling failure_derive v0.1.8
   Compiling getrandom v0.1.16    
   Compiling ieee754 v0.2.6       
   Compiling lazy_static v1.4.0
   Compiling miniz_oxide v0.4.4
   Compiling num-traits v0.2.14
error: linker `link.exe` not found
  |
  = note: The system cannot find the file specified. (os error 2)

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 or VS 2019 was installed with the Visual C++ option

error: aborting due to previous error

error: linker `link.exe` not found
  |
  = note: The system cannot find the file specified. (os error 2)

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 or VS 2019 was installed with the Visual C++ option

error: linker `link.exe` not found
  |
  = note: The system cannot find the file specified. (os error 2)

error: aborting due to previous error

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 or VS 2019 was installed with the Visual C++ option

error: aborting due to previous error

error: could not compile `miniz_oxide`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: linker `link.exe` not found
  |
  = note: The system cannot find the file specified. (os error 2)

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 or VS 2019 was installed with the Visual C++ option

error: aborting due to previous error

error: linker `link.exe` not found
  |
  = note: The system cannot find the file specified. (os error 2)

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 or VS 2019 was installed with the Visual C++ option

error: aborting due to previous error

error: linker `link.exe` not found
  |
  = note: The system cannot find the file specified. (os error 2)

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 or VS 2019 was installed with the Visual C++ option

error: aborting due to previous error

error: linker `link.exe` not found
  |
  = note: The system cannot find the file specified. (os error 2)

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 or VS 2019 was installed with the Vissual C++ option

error: aborting due to previous error

error: linker `link.exe` not found
  |
  = note: The system cannot find the file specified. (os error 2)

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 or VS 2019 was installed with the Vissual C++ option

error: aborting due to previous error

error: build failed
Version I use

rustc 1.54.0-nightly (eab201df7 2021-06-09)

Thank you!

emrahsariboz commented 3 years ago

Installed the C++ build core features from Visual studio installer and that solved the issue.