You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like some process is attempting to excecute vcvarsall.bat with invalid arguments, which is stopping the install process. I'm running this on Windows10 in a VS2017 command prompt.
vcpkg install --triplet x64-windows --debug boost-system zlib openssl boost-date-time boost-regex websocketpp
[DEBUG] Using vcpkg-root: C:\Users\aprole\vcpkg
The following packages will be built and installed:
openssl-windows[core]:x64-windows
websocketpp[core]:x64-windows
zlib[core]:x64-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/49: boost-build:x64-windows
Building package boost-build[core]:x64-windows...
[DEBUG] _wpopen(""C:\Users\aprole\vcpkg\downloads\tools\cmake-3.12.4-windows\cmake-3.12.4-win32-x86\bin\cmake.exe" --version 2>&1")
[DEBUG] _pclose() returned 0 after 26334 us
[DEBUG] _wpopen(""C:\Users\aprole\vcpkg\downloads\tools\cmake-3.12.4-windows\cmake-3.12.4-win32-x86\bin\cmake.exe" "-DCMAKE_TRIPLET_FILE=C:/Users/aprole/vcpkg/triplets/x64-windows.cmake" -P "C:/Users/aprole/vcpkg/scripts/get_triplet_environment.cmake" 2>&1")
[DEBUG] _pclose() returned 0 after 26083 us
[DEBUG] Found path: C:\Program Files\Git\cmd\git.exe
[DEBUG] _wpopen(""C:\Users\aprole\vcpkg\downloads\tools\git-2.20.0-windows\cmd\git.exe" --version 2>&1")
[DEBUG] _pclose() returned 0 after 40269 us
[DEBUG] _wpopen(""C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -all -prerelease -legacy -products * -format xml 2>&1")
[DEBUG] _pclose() returned 0 after 36783 us
[DEBUG] CreateProcessW(cmd.exe /c ""C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build\vcvarsall.bat" -vcvars_ver=14.1 amd64 2>&1 <NUL & "C:\Users\aprole\vcpkg\downloads\tools\cmake-3.12.4-windows\cmake-3.12.4-win32-x86\bin\cmake.exe" "-DCMD=BUILD" "-DPORT=boost-build" "-DCURRENT_PORT_DIR=C:/Users/aprole/vcpkg/ports/boost-build" "-DTARGET_TRIPLET=x64-windows" "-DVCPKG_PLATFORM_TOOLSET=v141" "-DVCPKG_USE_HEAD_VERSION=0" "-DDOWNLOADS=C:/Users/aprole/vcpkg/downloads" "-D_VCPKG_NO_DOWNLOADS=0" "-D_VCPKG_DOWNLOAD_TOOL=BUILT_IN" "-DGIT=C:/Users/aprole/vcpkg/downloads/tools/git-2.20.0-windows/cmd/git.exe" "-DFEATURES=core" "-DALL_FEATURES=" -P "C:/Users/aprole/vcpkg/scripts/ports.cmake"")
[ERROR:vcvarsall.bat] Invalid argument found : -vcvars_ver=14.1
[ERROR:~nx0] Error in script usage. The correct usage is:
Syntax:
vcvarsall.bat [arch]
or
vcvarsall.bat [arch] [version]
or
vcvarsall.bat [arch] [platform_type] [version]
where :
[arch]: x86 | amd64 | x86_amd64 | x86_arm | x86_arm64 | amd64_x86 | amd64_arm | amd64_arm64
[platform_type]: {empty} | store | uwp
[version] : full Windows 10 SDK number (e.g. 10.0.10240.0) or "8.1" to use the Windows 8.1 SDK.
The store parameter sets environment variables to support Universal Windows Platform application
development and is an alias for 'uwp'.
Please make sure either Visual Studio or C++ Build SKU is installed.
-- Using cached C:/Users/aprole/vcpkg/downloads/boostorg-build-boost-1.69.0.tar.gz
-- Using source at C:/Users/aprole/vcpkg/buildtrees/boost-build/src/ost-1.69.0-1d1e4d577d
-- Using cached C:/Users/aprole/vcpkg/downloads/boost_LICENSE_1_0.txt
-- Using cached C:/Users/aprole/vcpkg/downloads/boost-1.69.0-boostcpp.jam
-- Installing: C:/Users/aprole/vcpkg/packages/boost-build_x64-windows/share/boost-build/copyright
-- Installing: C:/Users/aprole/vcpkg/packages/boost-build_x64-windows/tools/boost-build/boostcpp.jam
-- Bootstrapping...
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
Command failed: C:/Users/aprole/vcpkg/packages/boost-build_x64-windows/tools/boost-build/bootstrap.bat;msvc
Working Directory: C:/Users/aprole/vcpkg/packages/boost-build_x64-windows/tools/boost-build
Error code: 9009
See logs for more information:
C:\Users\aprole\vcpkg\buildtrees\boost-build\bootstrap-x64-windows-out.log
C:\Users\aprole\vcpkg\buildtrees\boost-build\bootstrap-x64-windows-err.log
[DEBUG] CreateProcessW() returned 1 after 1875106 us
Error: Building package boost-build:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: boost-build:x64-windows
Vcpkg version: 2018.11.23-nohash
Additionally, attach any relevant sections from the log files above.
[DEBUG] ..\src\vcpkg\install.cpp(405)
[DEBUG] Exiting after 2108641 us (2106461 us)
The text was updated successfully, but these errors were encountered:
aprole
changed the title
Error executing vcvars.bat
Error executing vcvarsall.bat
Mar 7, 2019
It looks like some process is attempting to excecute vcvarsall.bat with invalid arguments, which is stopping the install process. I'm running this on Windows10 in a VS2017 command prompt.
vcpkg install --triplet x64-windows --debug boost-system zlib openssl boost-date-time boost-regex websocketpp
[DEBUG] Using vcpkg-root: C:\Users\aprole\vcpkg
The following packages will be built and installed:
boost-date-time[core]:x64-windows
boost-regex[core]:x64-windows
boost-system[core]:x64-windows
openssl[core]:x64-windows
websocketpp[core]:x64-windows
zlib[core]:x64-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/49: boost-build:x64-windows
Building package boost-build[core]:x64-windows...
[DEBUG] _wpopen(""C:\Users\aprole\vcpkg\downloads\tools\cmake-3.12.4-windows\cmake-3.12.4-win32-x86\bin\cmake.exe" --version 2>&1")
[DEBUG] _pclose() returned 0 after 26334 us
[DEBUG] _wpopen(""C:\Users\aprole\vcpkg\downloads\tools\cmake-3.12.4-windows\cmake-3.12.4-win32-x86\bin\cmake.exe" "-DCMAKE_TRIPLET_FILE=C:/Users/aprole/vcpkg/triplets/x64-windows.cmake" -P "C:/Users/aprole/vcpkg/scripts/get_triplet_environment.cmake" 2>&1")
[DEBUG] _pclose() returned 0 after 26083 us
[DEBUG] Found path: C:\Program Files\Git\cmd\git.exe
[DEBUG] _wpopen(""C:\Users\aprole\vcpkg\downloads\tools\git-2.20.0-windows\cmd\git.exe" --version 2>&1")
[DEBUG] _pclose() returned 0 after 40269 us
[DEBUG] _wpopen(""C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -all -prerelease -legacy -products * -format xml 2>&1")
[DEBUG] _pclose() returned 0 after 36783 us
[DEBUG] CreateProcessW(cmd.exe /c ""C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build\vcvarsall.bat" -vcvars_ver=14.1 amd64 2>&1 <NUL & "C:\Users\aprole\vcpkg\downloads\tools\cmake-3.12.4-windows\cmake-3.12.4-win32-x86\bin\cmake.exe" "-DCMD=BUILD" "-DPORT=boost-build" "-DCURRENT_PORT_DIR=C:/Users/aprole/vcpkg/ports/boost-build" "-DTARGET_TRIPLET=x64-windows" "-DVCPKG_PLATFORM_TOOLSET=v141" "-DVCPKG_USE_HEAD_VERSION=0" "-DDOWNLOADS=C:/Users/aprole/vcpkg/downloads" "-D_VCPKG_NO_DOWNLOADS=0" "-D_VCPKG_DOWNLOAD_TOOL=BUILT_IN" "-DGIT=C:/Users/aprole/vcpkg/downloads/tools/git-2.20.0-windows/cmd/git.exe" "-DFEATURES=core" "-DALL_FEATURES=" -P "C:/Users/aprole/vcpkg/scripts/ports.cmake"")
[ERROR:vcvarsall.bat] Invalid argument found : -vcvars_ver=14.1
[ERROR:~nx0] Error in script usage. The correct usage is:
Syntax:
vcvarsall.bat [arch]
or
vcvarsall.bat [arch] [version]
or
vcvarsall.bat [arch] [platform_type] [version]
where :
[arch]: x86 | amd64 | x86_amd64 | x86_arm | x86_arm64 | amd64_x86 | amd64_arm | amd64_arm64
[platform_type]: {empty} | store | uwp
[version] : full Windows 10 SDK number (e.g. 10.0.10240.0) or "8.1" to use the Windows 8.1 SDK.
The store parameter sets environment variables to support Universal Windows Platform application
development and is an alias for 'uwp'.
For example:
vcvarsall.bat x86_amd64
vcvarsall.bat x86_amd64 10.0.10240.0
vcvarsall.bat x86_arm uwp 10.0.10240.0
vcvarsall.bat x86_arm onecore 10.0.10240.0
vcvarsall.bat x64 8.1
vcvarsall.bat x64 store 8.1
Please make sure either Visual Studio or C++ Build SKU is installed.
-- Using cached C:/Users/aprole/vcpkg/downloads/boostorg-build-boost-1.69.0.tar.gz
-- Using source at C:/Users/aprole/vcpkg/buildtrees/boost-build/src/ost-1.69.0-1d1e4d577d
-- Using cached C:/Users/aprole/vcpkg/downloads/boost_LICENSE_1_0.txt
-- Using cached C:/Users/aprole/vcpkg/downloads/boost-1.69.0-boostcpp.jam
-- Installing: C:/Users/aprole/vcpkg/packages/boost-build_x64-windows/share/boost-build/copyright
-- Installing: C:/Users/aprole/vcpkg/packages/boost-build_x64-windows/tools/boost-build/boostcpp.jam
-- Bootstrapping...
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
Command failed: C:/Users/aprole/vcpkg/packages/boost-build_x64-windows/tools/boost-build/bootstrap.bat;msvc
Working Directory: C:/Users/aprole/vcpkg/packages/boost-build_x64-windows/tools/boost-build
Error code: 9009
See logs for more information:
C:\Users\aprole\vcpkg\buildtrees\boost-build\bootstrap-x64-windows-out.log
C:\Users\aprole\vcpkg\buildtrees\boost-build\bootstrap-x64-windows-err.log
Call Stack (most recent call first):
ports/boost-build/portfile.cmake:53 (vcpkg_execute_required_process)
scripts/ports.cmake:71 (include)
[DEBUG] CreateProcessW() returned 1 after 1875106 us
Error: Building package boost-build:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with
.\vcpkg update
, thensubmit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: boost-build:x64-windows
Vcpkg version: 2018.11.23-nohash
Additionally, attach any relevant sections from the log files above.
[DEBUG] ..\src\vcpkg\install.cpp(405)
[DEBUG] Exiting after 2108641 us (2106461 us)
The text was updated successfully, but these errors were encountered: