Last active
December 2, 2020 10:26
-
-
Save ericoporto/14d901ca385cfd701cd0dbdd10b49dde to your computer and use it in GitHub Desktop.
build on Windows 10 Home
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmd /S /C pushd %TEMP% && git clone https://github.com/Microsoft/vcpkg.git && pushd vcpkg && if not exist vcpkg.exe call bootstrap-vcpkg.bat && vcpkg install libogg:x86-windows-static libtheora:x86-windows-static libvorbis:x86-windows-static && popd && popd && mkdir Lib\Xiph && copy %TEMP%\vcpkg\installed\x86-windows-static\lib\ogg.lib Lib\Xiph\libogg_static.lib && copy %TEMP%\vcpkg\installed\x86-windows-static\lib\theora.lib Lib\Xiph\libtheora_static.lib && copy %TEMP%\vcpkg\installed\x86-windows-static\lib\vorbis.lib Lib\Xiph\libvorbis_static.lib && copy %TEMP%\vcpkg\installed\x86-windows-static\lib\vorbisfile.lib Lib\Xiph\libvorbisfile_static.lib | |
Cloning into 'vcpkg'... | |
remote: Enumerating objects: 65, done. | |
remote: Counting objects: 100% (65/65), done. | |
remote: Compressing objects: 100% (61/61), done. | |
remote: Total 95587 (delta 24), reused 20 (delta 4), pack-reused 95522 | |
Receiving objects: 100% (95587/95587), 28.92 MiB | 5.56 MiB/s, done. | |
Resolving deltas: 100% (59207/59207), done. | |
Checking out files: 100% (5651/5651), done. | |
Building vcpkg.exe ... | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(467,5): warning MSB8029: The Int | |
ermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\er | |
ico\AppData\Local\Temp\vcpkg\toolsrc\windows-bootstrap\vcpkg.vcxproj] | |
pch.cpp | |
archives.cpp | |
checks.cpp | |
chrono.cpp | |
cofffilereader.cpp | |
downloads.cpp | |
enums.cpp | |
files.cpp | |
hash.cpp | |
json.cpp | |
machinetype.cpp | |
parse.cpp | |
strings.cpp | |
stringview.cpp | |
system.cpp | |
system.print.cpp | |
system.process.cpp | |
unicode.cpp | |
binarycaching.cpp | |
binaryparagraph.cpp | |
build.cpp | |
buildenvironment.cpp | |
cmakevars.cpp | |
commands.autocomplete.cpp | |
commands.buildexternal.cpp | |
commands.cache.cpp | |
commands.ci.cpp | |
commands.ciclean.cpp | |
commands.contact.cpp | |
commands.cpp | |
commands.create.cpp | |
commands.dependinfo.cpp | |
commands.edit.cpp | |
commands.env.cpp | |
commands.fetch.cpp | |
commands.format-manifest.cpp | |
commands.hash.cpp | |
commands.info.cpp | |
commands.integrate.cpp | |
commands.list.cpp | |
commands.owns.cpp | |
commands.porthistory.cpp | |
commands.portsdiff.cpp | |
commands.search.cpp | |
commands.setinstalled.cpp | |
commands.upgrade.cpp | |
commands.upload-metrics.cpp | |
commands.version.cpp | |
commands.xvsinstances.cpp | |
configuration.cpp | |
dependencies.cpp | |
export.cpp | |
export.chocolatey.cpp | |
export.ifw.cpp | |
export.prefab.cpp | |
globalstate.cpp | |
help.cpp | |
input.cpp | |
install.cpp | |
platform-expression.cpp | |
metrics.cpp | |
packagespec.cpp | |
paragraphs.cpp | |
portfileprovider.cpp | |
postbuildlint.buildtype.cpp | |
postbuildlint.cpp | |
registries.cpp | |
remove.cpp | |
sourceparagraph.cpp | |
statusparagraph.cpp | |
statusparagraphs.cpp | |
tools.cpp | |
triplet.cpp | |
update.cpp | |
userconfig.cpp | |
vcpkgcmdarguments.cpp | |
vcpkglib.cpp | |
vcpkgpaths.cpp | |
versiondeserializers.cpp | |
versions.cpp | |
versiont.cpp | |
visualstudio.cpp | |
vcpkg.cpp | |
Generating code | |
Previous IPDB not found, fall back to full compilation. | |
All 22664 functions were compiled because no usable IPDB/IOBJ from previous compilation was found. | |
Finished generating code | |
vcpkg.vcxproj -> C:\Users\user\AppData\Local\Temp\vcpkg\toolsrc\windows-bootstrap\msbuild.x86.release\vcpkg.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 the bootstrap-vcpkg script with -disableMetrics, | |
passing --disable-metrics to vcpkg on the command line, | |
or by setting the VCPKG_DISABLE_METRICS environment variable. | |
Read more about vcpkg telemetry at docs/about/privacy.md | |
Computing installation plan... | |
A suitable version of cmake was not found (required v3.18.4). Downloading portable cmake v3.18.4... | |
Downloading cmake... | |
https://github.com/Kitware/CMake/releases/download/v3.18.4/cmake-3.18.4-win32-x86.zip -> C:\Users\user\AppData\Local\Temp\vcpkg\downloads\cmake-3.18.4-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\user\AppData\Local\Temp\vcpkg\downloads\7-zip.commandline.18.1.0.nupkg | |
Extracting 7zip... | |
A suitable version of nuget was not found (required v5.5.1). Downloading portable nuget v5.5.1... | |
Downloading nuget... | |
https://dist.nuget.org/win-x86-commandline/v5.5.1/nuget.exe -> C:\Users\user\AppData\Local\Temp\vcpkg\downloads\22ea847d-nuget.exe | |
The following packages will be built and installed: | |
libogg[core]:x86-windows-static -> 1.3.4#3 | |
libtheora[core]:x86-windows-static -> 1.2.0alpha1-20170719#2 | |
libvorbis[core]:x86-windows-static -> 1.3.7#1 | |
Detecting compiler hash for triplet x86-windows-static... | |
A suitable version of git was not found (required v2.26.2). Downloading portable git v2.26.2... | |
Downloading git... | |
https://github.com/git-for-windows/git/releases/download/v2.26.2.windows.1/PortableGit-2.26.2-32-bit.7z.exe -> C:\Users\user\AppData\Local\Temp\vcpkg\downloads\PortableGit-2.26.2-32-bit.7z.exe | |
Extracting git... | |
A suitable version of powershell-core was not found (required v7.0.3). Downloading portable powershell-core v7.0.3... | |
Downloading powershell-core... | |
https://github.com/PowerShell/PowerShell/releases/download/v7.0.3/PowerShell-7.0.3-win-x86.zip -> C:\Users\user\AppData\Local\Temp\vcpkg\downloads\PowerShell-7.0.3-win-x86.zip | |
Extracting powershell-core... | |
Could not locate cached archive: C:\Users\user\AppData\Local\vcpkg\archives\72\7293d50652c47757e294deb8812fb474819e1ab3.zip | |
Could not locate cached archive: C:\Users\user\AppData\Local\vcpkg\archives\1a\1abc8612a58d493994f0c1c004daf32c9da2499c.zip | |
Could not locate cached archive: C:\Users\user\AppData\Local\vcpkg\archives\74\74d57581a43dd6475d0ffb18ddf6e8682e0a7d98.zip | |
Starting package 1/3: libogg:x86-windows-static | |
Building package libogg[core]:x86-windows-static... | |
-- Using community triplet x86-windows-static. This triplet configuration is not guaranteed to succeed. | |
-- [COMMUNITY] Loading triplet configuration from: C:\Users\user\AppData\Local\Temp\vcpkg\triplets\community\x86-windows-static.cmake | |
-- Downloading https://github.com/xiph/ogg/archive/c8fca6b4a02d695b1ceea39b330d4406001c03ed.tar.gz... | |
-- Extracting source C:/Users/user/AppData/Local/Temp/vcpkg/downloads/xiph-ogg-c8fca6b4a02d695b1ceea39b330d4406001c03ed.tar.gz | |
-- Using source at C:/Users/user/AppData/Local/Temp/vcpkg/buildtrees/libogg/src/06001c03ed-9c4d42d027.clean | |
-- Configuring x86-windows-static | |
-- Building x86-windows-static-dbg | |
-- Building x86-windows-static-rel | |
-- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz... | |
-- Downloading https://repo.msys2.org/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst... | |
-- Using msys root at C:/Users/user/AppData/Local/Temp/vcpkg/downloads/tools/msys2/c809757c94447846 | |
-- Fixing pkgconfig file: C:/Users/user/AppData/Local/Temp/vcpkg/packages/libogg_x86-windows-static/lib/pkgconfig/ogg.pc | |
-- Fixing pkgconfig file: C:/Users/user/AppData/Local/Temp/vcpkg/packages/libogg_x86-windows-static/debug/lib/pkgconfig/ogg.pc | |
-- Installing: C:/Users/user/AppData/Local/Temp/vcpkg/packages/libogg_x86-windows-static/share/libogg/copyright | |
-- Performing post-build validation | |
-- Performing post-build validation done | |
Stored binary cache: C:\Users\user\AppData\Local\vcpkg\archives\72\7293d50652c47757e294deb8812fb474819e1ab3.zip | |
Building package libogg[core]:x86-windows-static... done | |
Installing package libogg[core]:x86-windows-static... | |
Installing package libogg[core]:x86-windows-static... done | |
Elapsed time for package libogg:x86-windows-static: 1.657 min | |
Starting package 2/3: libtheora:x86-windows-static | |
Building package libtheora[core]:x86-windows-static... | |
-- Using community triplet x86-windows-static. This triplet configuration is not guaranteed to succeed. | |
-- [COMMUNITY] Loading triplet configuration from: C:\Users\user\AppData\Local\Temp\vcpkg\triplets\community\x86-windows-static.cmake | |
-- Downloading https://github.com/xiph/theora/archive/fa5707d68c2a4338d58aa8b6afc95539ba89fecb.tar.gz... | |
-- Extracting source C:/Users/user/AppData/Local/Temp/vcpkg/downloads/xiph-theora-fa5707d68c2a4338d58aa8b6afc95539ba89fecb.tar.gz | |
-- Applying patch 0001-fix-uwp.patch | |
-- Using source at C:/Users/user/AppData/Local/Temp/vcpkg/buildtrees/libtheora/src/39ba89fecb-09b81b9348.clean | |
-- Configuring x86-windows-static | |
-- Building x86-windows-static-dbg | |
-- Building x86-windows-static-rel | |
-- Performing post-build validation | |
-- Performing post-build validation done | |
Stored binary cache: C:\Users\user\AppData\Local\vcpkg\archives\1a\1abc8612a58d493994f0c1c004daf32c9da2499c.zip | |
Building package libtheora[core]:x86-windows-static... done | |
Installing package libtheora[core]:x86-windows-static... | |
Installing package libtheora[core]:x86-windows-static... done | |
Elapsed time for package libtheora:x86-windows-static: 51.79 s | |
Starting package 3/3: libvorbis:x86-windows-static | |
Building package libvorbis[core]:x86-windows-static... | |
-- Using community triplet x86-windows-static. This triplet configuration is not guaranteed to succeed. | |
-- [COMMUNITY] Loading triplet configuration from: C:\Users\user\AppData\Local\Temp\vcpkg\triplets\community\x86-windows-static.cmake | |
-- Downloading https://github.com/xiph/vorbis/archive/v1.3.7.tar.gz... | |
-- Extracting source C:/Users/user/AppData/Local/Temp/vcpkg/downloads/xiph-vorbis-v1.3.7.tar.gz | |
-- Applying patch 0001-Dont-export-vorbisenc-functions.patch | |
-- Applying patch 0002-Fixup-pkgconfig-libs.patch | |
-- Using source at C:/Users/user/AppData/Local/Temp/vcpkg/buildtrees/libvorbis/src/v1.3.7-6c4ca9c573.clean | |
-- Configuring x86-windows-static | |
-- Building x86-windows-static-dbg | |
-- Building x86-windows-static-rel | |
-- Using msys root at C:/Users/user/AppData/Local/Temp/vcpkg/downloads/tools/msys2/c809757c94447846 | |
-- Fixing pkgconfig file: C:/Users/user/AppData/Local/Temp/vcpkg/packages/libvorbis_x86-windows-static/lib/pkgconfig/vorbis.pc | |
-- Fixing pkgconfig file: C:/Users/user/AppData/Local/Temp/vcpkg/packages/libvorbis_x86-windows-static/lib/pkgconfig/vorbisenc.pc | |
-- Fixing pkgconfig file: C:/Users/user/AppData/Local/Temp/vcpkg/packages/libvorbis_x86-windows-static/lib/pkgconfig/vorbisfile.pc | |
-- Fixing pkgconfig file: C:/Users/user/AppData/Local/Temp/vcpkg/packages/libvorbis_x86-windows-static/debug/lib/pkgconfig/vorbis.pc | |
-- Fixing pkgconfig file: C:/Users/user/AppData/Local/Temp/vcpkg/packages/libvorbis_x86-windows-static/debug/lib/pkgconfig/vorbisenc.pc | |
-- Fixing pkgconfig file: C:/Users/user/AppData/Local/Temp/vcpkg/packages/libvorbis_x86-windows-static/debug/lib/pkgconfig/vorbisfile.pc | |
-- Performing post-build validation | |
-- Performing post-build validation done | |
Stored binary cache: C:\Users\user\AppData\Local\vcpkg\archives\74\74d57581a43dd6475d0ffb18ddf6e8682e0a7d98.zip | |
Building package libvorbis[core]:x86-windows-static... done | |
Installing package libvorbis[core]:x86-windows-static... | |
Installing package libvorbis[core]:x86-windows-static... done | |
Elapsed time for package libvorbis:x86-windows-static: 38.09 s | |
Total elapsed time: 4.763 min | |
The package libogg:x86-windows-static provides CMake targets: | |
find_package(Ogg CONFIG REQUIRED) | |
target_link_libraries(main PRIVATE Ogg::ogg) | |
The package libtheora:x86-windows-static provides CMake targets: | |
find_package(unofficial-theora CONFIG REQUIRED) | |
target_link_libraries(main PRIVATE unofficial::theora::theora unofficial::theora::theoradec unofficial::theora::theoraenc) | |
The package libvorbis:x86-windows-static provides CMake targets: | |
find_package(Vorbis CONFIG REQUIRED) | |
target_link_libraries(main PRIVATE Vorbis::vorbis Vorbis::vorbisenc Vorbis::vorbisfile) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment