Parity-ethereum: Project doesn't build on Windows VS2017+Nigthly 1.30

Created on 27 Sep 2018  ·  4Comments  ·  Source: openethereum/parity-ethereum

Disclaimer: I read the documentation that says I need to have VS2015 and rustc 1.29, but I think it may be useful for you guys for make it work on latest version instead of obsolete one.

When i'm trying to build it I get following log:

PS C:\Users\Alex\Documents\Repo\parity-ethereum> cargo +nightly-x86_64-pc-windows-msvc build
   Compiling ring v0.12.1 (https://github.com/paritytech/ring#bae475e9)
   Compiling evm v0.1.0 (C:\Users\Alex\Documents\Repo\parity-ethereum\ethcore\evm)
   Compiling wasm v0.1.0 (C:\Users\Alex\Documents\Repo\parity-ethereum\ethcore\wasm)
error: failed to run custom build command for `ring v0.12.1 (https://github.com/paritytech/ring#bae475e9)`
process didn't exit successfully: `C:\Users\Alex\Documents\Repo\parity-ethereum\target\debug\build\ring-4b8f5fc9e045b30e\build-script-build` (exit code: 101)
--- stdout
=::: ::\
ALLUSERSPROFILE: C:\ProgramData
APPDATA: C:\Users\Alex\AppData\Roaming
CARGO: \\?\C:\Users\Alex\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\bin\cargo.exe
CARGO_CFG_DEBUG_ASSERTIONS:
CARGO_CFG_PROC_MACRO:
CARGO_CFG_TARGET_ARCH: x86_64
CARGO_CFG_TARGET_ENDIAN: little
CARGO_CFG_TARGET_ENV: msvc
CARGO_CFG_TARGET_FAMILY: windows
CARGO_CFG_TARGET_FEATURE: crt-static,fxsr,mmx,sse,sse2
CARGO_CFG_TARGET_HAS_ATOMIC: 16,32,64,8,cas,ptr
CARGO_CFG_TARGET_OS: windows
CARGO_CFG_TARGET_POINTER_WIDTH: 64
CARGO_CFG_TARGET_THREAD_LOCAL:
CARGO_CFG_TARGET_VENDOR: pc
CARGO_CFG_WINDOWS:
CARGO_FEATURE_DEFAULT: 1
CARGO_FEATURE_DEV_URANDOM_FALLBACK: 1
CARGO_FEATURE_RSA_SIGNING: 1
CARGO_FEATURE_USE_HEAP: 1
CARGO_HOME: C:\Users\Alex\.cargo
CARGO_MAKEFLAGS: --jobserver-fds=__rust_jobserver_semaphore_10603898 --jobserver-auth=__rust_jobserver_semaphore_10603898
CARGO_MANIFEST_DIR: C:\Users\Alex\.cargo\git\checkouts\ring-5235c7ce74c7ef81\bae475e
CARGO_MANIFEST_LINKS: ring-asm
CARGO_PKG_AUTHORS: Brian Smith <[email protected]>
CARGO_PKG_DESCRIPTION: Safe, fast, small crypto using Rust.
CARGO_PKG_HOMEPAGE:
CARGO_PKG_NAME: ring
CARGO_PKG_VERSION: 0.12.1
CARGO_PKG_VERSION_MAJOR: 0
CARGO_PKG_VERSION_MINOR: 12
CARGO_PKG_VERSION_PATCH: 1
CARGO_PKG_VERSION_PRE:
COMMONPROGRAMFILES: C:\Program Files\Common Files
COMMONPROGRAMFILES(X86): C:\Program Files (x86)\Common Files
COMMONPROGRAMW6432: C:\Program Files\Common Files
COMPUTERNAME: DESKTOP-CA0EFN5
COMSPEC: C:\WINDOWS\system32\cmd.exe
DEBUG: true
DRIVERDATA: C:\Windows\System32\Drivers\DriverData
ETHEREUM_SOCKET: \\.\pipe\geth.ipc
FPS_BROWSER_APP_PROFILE_STRING: Internet Explorer
FPS_BROWSER_USER_PROFILE_STRING: Default
FSHARPINSTALLDIR: C:\Program Files (x86)\Microsoft SDKs\F#\10.1\Framework\v4.0\
GOPATH: C:\Users\Alex\go
GOROOT: C:\Go\
HOMEDRIVE: C:
HOMEPATH: \Users\Alex
HOST: x86_64-pc-windows-msvc
LD_LIBRARY_PATH: C:\Users\Alex\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib
LOCALAPPDATA: C:\Users\Alex\AppData\Local
LOGONSERVER: \\DESKTOP-CA0EFN5
NUMBER_OF_PROCESSORS: 8
NUM_JOBS: 8
ONEDRIVE: C:\Users\Alex\OneDrive
OPENCV_DIR: C:\opencv\artifacts\vc15\install\opencv
OPENCV_LIB: C:\opencv\artifacts\vc15\install\opencv\x64\vc15\lib
OPT_LEVEL: 0
OS: Windows_NT
OUT_DIR: C:\Users\Alex\Documents\Repo\parity-ethereum\target\debug\build\ring-0bdc2a02d8c97650\out
PATH: C:\Users\Alex\Documents\Repo\parity-ethereum\target\debug\deps;C:\Users\Alex\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\bin;C:\Users\Alex\.cargo\bin;C:\Users\Alex\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Python27\;C:\Python27\Scripts;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Git\cmd;C:\Program Files\mingw-w64\mingw64\bin;C:\Program Files (x86)\LINQPad5;C:\Users\Alex\Documents\SolCompiler;C:\Program Files\Geth;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Amazon\AWSCLI\;C:\Users\Alex\.cargo\bin;C:\Users\Alex\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\OpenVPN\bin;C:\Program Files\Microsoft VS Code\bin;C:\opencv\mingw\install\opencv\x64\mingw\bin;C:\Users\Alex\Documents\Repo\cv-rs\mingw\install\opencv\x64\mingw\bin;C:\Users\Alex\Documents\Repo\cv-rs\artifacts\mingw\install\opencv\x64\mingw\bin;C:\Program Files\CMake\bin;;C:\opencv\artifacts\mingw\install\opencv\x64\mingw\bin;C:\Go\bin;C:\Users\Alex\go\bin;C:\opencv\artifacts\vc15\install\opencv\x64\vc15\bin;C:\Users\Alex\.cargo\bin;C:\Users\Alex\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\OpenVPN\bin;C:\Program Files\Microsoft VS Code\bin;C:\Users\Alex\go\bin;C:\Users\Alex\.dotnet\tools
PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL
PROCESSOR_ARCHITECTURE: AMD64
PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 158 Stepping 9, GenuineIntel
PROCESSOR_LEVEL: 6
PROCESSOR_REVISION: 9e09
PROFILE: debug
PROGRAMDATA: C:\ProgramData
PROGRAMFILES: C:\Program Files
PROGRAMFILES(X86): C:\Program Files (x86)
PROGRAMW6432: C:\Program Files
PSMODULEPATH: C:\Users\Alex\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files\WindowsPowerShell\Modules\;C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ResourceManager\AzureResourceManager\;C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ServiceManagement\;C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\Storage\
PUBLIC: C:\Users\Public
RUSTC: rustc
RUSTDOC: rustdoc
RUSTUP_HOME: C:\Users\Alex\.rustup
RUSTUP_TOOLCHAIN: nightly-x86_64-pc-windows-msvc
RUST_RECURSION_COUNT: 1
SESSIONNAME: Console
SYSTEMDRIVE: C:
SYSTEMROOT: C:\WINDOWS
TARGET: x86_64-pc-windows-msvc
TEMP: C:\Users\Alex\AppData\Local\Temp
TMP: C:\Users\Alex\AppData\Local\Temp
USERDOMAIN: DESKTOP-CA0EFN5
USERDOMAIN_ROAMINGPROFILE: DESKTOP-CA0EFN5
USERNAME: Alex
USERPROFILE: C:\Users\Alex
WINDIR: C:\WINDOWS
WIX: C:\Program Files (x86)\WiX Toolset v3.11\
running "yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\x86_64-mont-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\x86_64-mont-nasm.asm"
running "yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\p256-x86_64-asm-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\p256-x86_64-asm-nasm.asm"
running "yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\aes-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\aes-x86_64-nasm.asm"
running "yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\sha512-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\sha512-x86_64-nasm.asm"
running "yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\ghash-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\ghash-x86_64-nasm.asm"
cargo:rustc-link-lib=static=ring-test
running "yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\poly1305-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\poly1305-x86_64-nasm.asm"
running "yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\chacha-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\chacha-x86_64-nasm.asm"
running "yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\aesni-gcm-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\aesni-gcm-x86_64-nasm.asm"
running "yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\x86_64-mont5-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\x86_64-mont5-nasm.asm"
running "yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\aesni-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\aesni-x86_64-nasm.asm"
running "yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\bsaes-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\bsaes-x86_64-nasm.asm"
running "yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\sha256-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\sha256-x86_64-nasm.asm"
running "yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\vpaes-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\vpaes-x86_64-nasm.asm"
running "yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\ecp_nistz256-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\ecp_nistz256-x86_64-nasm.asm"

--- stderr
thread '<unnamed>' panicked at 'failed to execute ["yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\p256-x86_64-asm-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\p256-x86_64-asm-nasm.asm"]: The system cannot find the file specified. (os error 2)', C:\Users\Alex\.cargo\git\checkouts\ring-5235c7ce74c7ef81\bae475e\build.rs:639:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.
thread '<unnamed>' panicked at 'failed to execute ["yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\x86_64-mont-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\x86_64-mont-nasm.asm"]: The system cannot find the file specified. (os error 2)', C:\Users\Alex\.cargo\git\checkouts\ring-5235c7ce74c7ef81\bae475e\build.rs:639:9
thread '<unnamed>' panicked at 'failed to execute ["yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\aes-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\aes-x86_64-nasm.asm"]: The system cannot find the file specified. (os error 2)', C:\Users\Alex\.cargo\git\checkouts\ring-5235c7ce74c7ef81\bae475e\build.rs:639:9
thread '<unnamed>' panicked at 'failed to execute ["yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\sha512-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\sha512-x86_64-nasm.asm"]: The system cannot find the file specified. (os error 2)', C:\Users\Alex\.cargo\git\checkouts\ring-5235c7ce74c7ef81\bae475e\build.rs:639:9
thread '<unnamed>' panicked at 'failed to execute ["yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\ghash-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\ghash-x86_64-nasm.asm"]: The system cannot find the file specified. (os error 2)', C:\Users\Alex\.cargo\git\checkouts\ring-5235c7ce74c7ef81\bae475e\build.rs:639:9
thread '<unnamed>' panicked at 'failed to execute ["yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\poly1305-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\poly1305-x86_64-nasm.asm"]: The system cannot find the file specified. (os error 2)', C:\Users\Alex\.cargo\git\checkouts\ring-5235c7ce74c7ef81\bae475e\build.rs:639:9
thread '<unnamed>' panicked at 'failed to execute ["yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\chacha-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\chacha-x86_64-nasm.asm"]: The system cannot find the file specified. (os error 2)', C:\Users\Alex\.cargo\git\checkouts\ring-5235c7ce74c7ef81\bae475e\build.rs:639:9
thread '<unnamed>' panicked at 'failed to execute ["yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\aesni-gcm-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\aesni-gcm-x86_64-nasm.asm"]: The system cannot find the file specified. (os error 2)', C:\Users\Alex\.cargo\git\checkouts\ring-5235c7ce74c7ef81\bae475e\build.rs:639:9
thread '<unnamed>' panicked at 'failed to execute ["yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\x86_64-mont5-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\x86_64-mont5-nasm.asm"]: The system cannot find the file specified. (os error 2)', C:\Users\Alex\.cargo\git\checkouts\ring-5235c7ce74c7ef81\bae475e\build.rs:639:9
thread '<unnamed>' panicked at 'failed to execute ["yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\aesni-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\aesni-x86_64-nasm.asm"]: The system cannot find the file specified. (os error 2)', C:\Users\Alex\.cargo\git\checkouts\ring-5235c7ce74c7ef81\bae475e\build.rs:639:9
thread '<unnamed>' panicked at 'failed to execute ["yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\bsaes-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\bsaes-x86_64-nasm.asm"]: The system cannot find the file specified. (os error 2)', C:\Users\Alex\.cargo\git\checkouts\ring-5235c7ce74c7ef81\bae475e\build.rs:639:9
thread '<unnamed>' panicked at 'failed to execute ["yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\sha256-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\sha256-x86_64-nasm.asm"]: The system cannot find the file specified. (os error 2)', C:\Users\Alex\.cargo\git\checkouts\ring-5235c7ce74c7ef81\bae475e\build.rs:639:9
thread '<unnamed>' panicked at 'failed to execute ["yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\vpaes-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\vpaes-x86_64-nasm.asm"]: The system cannot find the file specified. (os error 2)', C:\Users\Alex\.cargo\git\checkouts\ring-5235c7ce74c7ef81\bae475e\build.rs:639:9
thread '<unnamed>' panicked at 'failed to execute ["yasm.exe" "-X" "vc" "--dformat=cv8" "--oformat=win64" "--machine=amd64" "-o" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\ecp_nistz256-x86_64-nasm.obj" "C:\\Users\\Alex\\Documents\\Repo\\parity-ethereum\\target\\debug\\build\\ring-0bdc2a02d8c97650\\out\\ecp_nistz256-x86_64-nasm.asm"]: The system cannot find the file specified. (os error 2)', C:\Users\Alex\.cargo\git\checkouts\ring-5235c7ce74c7ef81\bae475e\build.rs:639:9

warning: build failed, waiting for other jobs to finish...
error: build failed
PS C:\Users\Alex\Documents\Repo\parity-ethereum>

I just don't have enough room on my SSD to install yet another VS version, beside several drawbacks of this solution.

Looking forward the fix.

Z1-question 🙋‍♀️

Most helpful comment

Yep, that helped (I only renamed yasm-1.3.0-win64.exe to yasm.exe, because there is nothing about it in the instruction), after I installed all deps it compiled. Thank you.

Thus, I can confirm it does build in VS2017 15.6.6 and cargo 1.31.0-nightly (de314a8b2 2018-09-21)

All 4 comments

@Pzixel

Hey, you need the following dependencies (as stated in the README):

Re-open the issue if you still have issues after installing the required dependencies!

Yep, that helped (I only renamed yasm-1.3.0-win64.exe to yasm.exe, because there is nothing about it in the instruction), after I installed all deps it compiled. Thank you.

Thus, I can confirm it does build in VS2017 15.6.6 and cargo 1.31.0-nightly (de314a8b2 2018-09-21)

@fevo1971 :point_up:

Was this page helpful?
0 / 5 - 0 ratings