Diarreamental
Well-Known Member
- Joined
- Jul 6, 2015
- Messages
- 453
- Solutions
- 1
- Reaction score
- 80
hello otland
i know that this has been asked many times but i has been stuck on this for many hours so i came here to search something related but i didn find the solution.
i have problem installing the nessesaries libraries to compile tfs with vcpkg + msvc 2017
everything goes okey till i use the command to install the libs
here is my console powershell windows
i know that this has been asked many times but i has been stuck on this for many hours so i came here to search something related but i didn find the solution.
i have problem installing the nessesaries libraries to compile tfs with vcpkg + msvc 2017
everything goes okey till i use the command to install the libs
here is my console powershell windows
Code:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Users\diarreamental> cd vcpkg
PS C:\Users\diarreamental\vcpkg> .\bootstrap-vcpkg.bat
Building vcpkg.exe ...
pch.cpp
archives.cpp
checks.cpp
chrono.cpp
cofffilereader.cpp
downloads.cpp
enums.cpp
files.cpp
hash.cpp
machinetype.cpp
strings.cpp
stringview.cpp
system.cpp
system.print.cpp
binaryparagraph.cpp
build.cpp
commands.autocomplete.cpp
commands.buildexternal.cpp
commands.cache.cpp
commands.ci.cpp
commands.contact.cpp
commands.cpp
commands.create.cpp
commands.dependinfo.cpp
commands.edit.cpp
commands.env.cpp
commands.exportifw.cpp
commands.import.cpp
commands.integrate.cpp
commands.list.cpp
commands.owns.cpp
commands.porthistory.cpp
commands.portsdiff.cpp
commands.search.cpp
commands.upgrade.cpp
commands.version.cpp
commands.xvsinstances.cpp
dependencies.cpp
export.cpp
export.chocolatey.cpp
globalstate.cpp
help.cpp
input.cpp
install.cpp
logicexpression.cpp
metrics.cpp
packagespec.cpp
packagespecparseresult.cpp
paragraphparseresult.cpp
paragraphs.cpp
parse.cpp
postbuildlint.buildtype.cpp
postbuildlint.cpp
remove.cpp
sourceparagraph.cpp
statusparagraph.cpp
statusparagraphs.cpp
tools.cpp
triplet.cpp
update.cpp
userconfig.cpp
vcpkgcmdarguments.cpp
vcpkglib.cpp
vcpkgpaths.cpp
versiont.cpp
visualstudio.cpp
vcpkglib.vcxproj -> C:\Users\diarreamental\vcpkg\toolsrc\msbuild.x86.release\vcpkglib.lib
vcpkg.cpp
Generating code
Previous IPDB not found, fall back to full compilation.
All 16089 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
Finished generating code
vcpkg.vcxproj -> C:\Users\diarreamental\vcpkg\toolsrc\msbuild.x86.release\vcpkg.exe
vcpkgmetricsuploader.cpp
Generating code
Previous IPDB not found, fall back to full compilation.
All 5390 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
Finished generating code
vcpkgmetricsuploader.vcxproj -> C:\Users\diarreamental\vcpkg\toolsrc\msbuild.x86.release\vcpkgmetricsuploader.exe
Building vcpkg.exe... done.
Telemetry
---------
vcpkg collects usage data in order to help us improve your experience. The data collected by Microsoft is anonymous. You can opt-out of telemetry by re-running bootstrap-vcpkg.bat with -disableMetrics.
Read more about vcpkg telemetry at docs/about/privacy.md
PS C:\Users\diarreamental\vcpkg> .\bootstrap-vcpkg.ba
.\bootstrap-vcpkg.ba : The term '.\bootstrap-vcpkg.ba' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1
+ .\bootstrap-vcpkg.ba
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (.\bootstrap-vcpkg.ba:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\diarreamental\vcpkg> .\vcpkg integrate install
Applied user-wide integration for this vcpkg root.
All MSBuild C++ projects can now #include any installed libraries.
Linking will be handled automatically.
Installing new libraries will make them instantly available.
CMake projects should use: "-DCMAKE_TOOLCHAIN_FILE=C:/Users/diarreamental/vcpkg/scripts/buildsystems/vcpkg.cmake"
PS C:\Users\diarreamental\vcpkg> vcpkg install boost-iostreams:x64-windows boost-asio:x64-windows boost-system:x64-windows boost
-filesystem:x64-windows boost-variant:x64-windows boost-lockfree:x64-windows luajit:x64-windows libmariadb:x64-windows p
ugixml:x64-windows mpir:x64-windows cryptopp:x64-windows
vcpkg : The term 'vcpkg' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ vcpkg install boost-iostreams:x64-windows boost-asio:x64-windows boos ...
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (vcpkg:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: The command vcpkg was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\vcpkg". See "get-help about_Command_Precedence" for more details.
PS C:\Users\diarreamental\vcpkg> install boost-iostreams:x64-windows boost-asio:x64-windows boost-system:x64-windows boost-files
ystem:x64-windows boost-variant:x64-windows boost-lockfree:x64-windows luajit:x64-windows libmariadb:x64-windows pugixml
:x64-windows mpir:x64-windows cryptopp:x64-windows
install : The term 'install' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ install boost-iostreams:x64-windows boost-asio:x64-windows boost-syst ...
+ ~~~~~~~
+ CategoryInfo : ObjectNotFound: (install:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\diarreamental\vcpkg> .\vcpkg install sdl2 curl
The following packages will be built and installed:
curl[core,ssl,winssl]:x86-windows
sdl2[core]:x86-windows
* zlib[core]:x86-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/3: sdl2:x86-windows
Building package sdl2[core]:x86-windows...
A suitable version of cmake was not found (required v3.14.0). Downloading portable cmake v3.14.0...
Downloading cmake...
https://github.com/Kitware/CMake/releases/download/v3.14.0/cmake-3.14.0-win32-x86.zip -> C:\Users\diarreamental\vcpkg\downloads\cmake-3.14.0-win32-x86.zip
Extracting cmake...
A suitable version of 7zip was not found (required v18.1.0). Downloading portable 7zip v18.1.0...
Downloading 7zip...
https://www.nuget.org/api/v2/package/7-Zip.CommandLine/18.1.0 -> C:\Users\diarreamental\vcpkg\downloads\7-zip.commandline.18.1.0.nupkg
Extracting 7zip...
A suitable version of nuget was not found (required v4.6.2). Downloading portable nuget v4.6.2...
Downloading nuget...
https://dist.nuget.org/win-x86-commandline/v4.6.2/nuget.exe -> C:\Users\diarreamental\vcpkg\downloads\nuget.exe
A suitable version of powershell-core was not found (required v6.2.1). Downloading portable powershell-core v6.2.1...
Downloading powershell-core...
https://github.com/PowerShell/PowerShell/releases/download/v6.2.1/PowerShell-6.2.1-win-x86.zip -> C:\Users\diarreamental\vcpkg\downloads\PowerShell-6.2.1-win-x86.zip
Extracting powershell-core...
Warning: The following VS instances are excluded because the English language pack is unavailable.
C:\Program Files (x86)\Microsoft Visual Studio 12.0\
Please install the English language pack.
-- Downloading https://github.com/SDL-Mirror/SDL/archive/release-2.0.10.tar.gz...
-- Extracting source C:/Users/diarreamental/vcpkg/downloads/SDL-Mirror-SDL-release-2.0.10.tar.gz
-- Applying patch export-symbols-only-in-shared-build.patch
-- Applying patch enable-winrt-cmake.patch
-- Applying patch fix-arm64-headers.patch
-- Applying patch disable-hidapi-for-uwp.patch
-- Applying patch fix-space-in-path.patch
-- Using source at C:/Users/diarreamental/vcpkg/buildtrees/sdl2/src/ase-2.0.10-c1be3add38
-- Downloading https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-win.zip...
-- Downloading https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-win.zip... Failed. Status: 6;"Couldn't resolve host name"
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:175 (message):
Failed to download file.
If you use a proxy, please set the HTTPS_PROXY and HTTP_PROXY environment
variables to "https://user:password@your-proxy-ip-address:port/".
Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues
Call Stack (most recent call first):
scripts/cmake/vcpkg_find_acquire_program.cmake:298 (vcpkg_download_distfile)
scripts/cmake/vcpkg_configure_cmake.cmake:152 (vcpkg_find_acquire_program)
ports/sdl2/portfile.cmake:26 (vcpkg_configure_cmake)
scripts/ports.cmake:94 (include)
Error: Building package sdl2:x86-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: sdl2:x86-windows
Vcpkg version: 2019.09.12-nohash
Additionally, attach any relevant sections from the log files above.
PS C:\Users\diarreamental\vcpkg> vcpkg install boost-iostreams:x64-windows boost-asio:x64-windows boost-system:x64-windows boost
-filesystem:x64-windows boost-variant:x64-windows boost-lockfree:x64-windows luajit:x64-windows libmariadb:x64-windows p
ugixml:x64-windows mpir:x64-windows cryptopp:x64-windows
vcpkg : The term 'vcpkg' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ vcpkg install boost-iostreams:x64-windows boost-asio:x64-windows boos ...
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (vcpkg:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: The command vcpkg was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\vcpkg". See "get-help about_Command_Precedence" for more details.
PS C:\Users\diarreamental\vcpkg> .\vcpkg
Commands:
vcpkg search [pat] Search for packages available to be built
vcpkg install <pkg>... Install a package
vcpkg remove <pkg>... Uninstall a package
vcpkg remove --outdated Uninstall all out-of-date packages
vcpkg list List installed packages
vcpkg update Display list of packages for updating
vcpkg upgrade Rebuild all outdated packages
vcpkg x-history <pkg> Shows the history of CONTROL versions of a package
vcpkg hash <file> [alg] Hash a file by specific algorithm, default SHA512
vcpkg help topics Display the list of help topics
vcpkg help <topic> Display help for a specific topic
vcpkg integrate install Make installed packages available user-wide. Requires admin privileges on first use
vcpkg integrate remove Remove user-wide integration
vcpkg integrate project Generate a referencing nuget package for individual VS project use
vcpkg integrate powershell Enable PowerShell tab-completion
vcpkg export <pkg>... [opt]... Exports a package
vcpkg edit <pkg> Open up a port for editing (uses %%EDITOR%%, default 'code')
vcpkg import <pkg> Import a pre-built library
vcpkg create <pkg> <url>
[archivename] Create a new package
vcpkg owns <pat> Search for files in installed packages
vcpkg depend-info <pkg>... Display a list of dependencies for packages
vcpkg env Creates a clean shell environment for development or compiling.
vcpkg version Display version information
vcpkg contact Display contact information to send feedback
Options:
--triplet <t> Specify the target architecture triplet
(default: %%VCPKG_DEFAULT_TRIPLET%%, see 'vcpkg help triplet')
--overlay-ports=<path> Specify directories to be used when searching for ports
--overlay-triplets=<path> Specify directories containing triplets files
--vcpkg-root <path> Specify the vcpkg root directory
(default: %%VCPKG_ROOT%%)
--x-scripts-root=<path> (Experimental) Specify the scripts root directory
@response_file Specify a response file to provide additional parameters
For more help (including examples) see the accompanying README.md.
PS C:\Users\diarreamental\vcpkg> vcpkg install boost-iostreams:x64-windows boost-asio:x64-windows boost-system:x64-windows boost
-filesystem:x64-windows boost-variant:x64-windows boost-lockfree:x64-windows luajit:x64-windows libmariadb:x64-windows p
ugixml:x64-windows mpir:x64-windows cryptopp:x64-windows
vcpkg : The term 'vcpkg' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ vcpkg install boost-iostreams:x64-windows boost-asio:x64-windows boos ...
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (vcpkg:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: The command vcpkg was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\vcpkg". See "get-help about_Command_Precedence" for more details.
PS C:\Users\diarreamental\vcpkg> vcpkg install boost-iostreams:x64-windows
vcpkg : The term 'vcpkg' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ vcpkg install boost-iostreams:x64-windows
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (vcpkg:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: The command vcpkg was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\vcpkg". See "get-help about_Command_Precedence" for more details.
PS C:\Users\diarreamental\vcpkg>