Thank you, @xDraconian, @wkitty and @AlanT! I tried it and it certainly behaves differently. Did the change above result in an updated script or am I OK with the one I've been using? (I could not find a new script in FGMeta>Next).
Re-running the existing script results in "CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
Command failed: C:/Users/SH/Downloads/fg-from-scratch/vcpkg-git/downloads/tools/msys2/msys64/usr/bin/bash.exe;--noprofile;--norc;-c;make && make install" and an error in building package icu:x64-windows. It shows that vcpkg was updated, but later indicates "ensure you're using the latest portfiles with '.\vcpkg update'".
Also, I don't understand the path used in the following statement, included in the log:
- Code: Select all
Compiling OpenSceneGraph . . .
CMake Error: The source directory "C:/Users/SH/Downloads/fg-from-scratch/openscenegraph-3.4-build/hiv/Downloads/fg-from-scratch/vcpkg-git/installed/x64-windows/lib/zlib.lib" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Error: could not load cache
The path in the statement above makes no sense. "C:\Users\SH\Downloads\fg-from-scratch\openscenegraph-3.4-git" and "C:\Users\SH\Downloads\fg-from-scratch\vcpkg-git\installed\x64-windows\lib/zlib.lib" are two valid paths, but not the "combined" path listed in the statements above.
Here's the log:
- Code: Select all
Updating vcpkg . . .
From https://github.com/Microsoft/vcpkg
b6fe5b5d..c6db2c88 master -> origin/master
* [new branch] dev/codym/5158 -> origin/dev/codym/5158
* [new branch] dev/codym/5162 -> origin/dev/codym/5162
* [new branch] dev/codym/5176 -> origin/dev/codym/5176
* [new branch] dev/philc/tkerwin-master -> origin/dev/philc/tkerwin-master
b60a0f19..d054a1df dev/roschuma/5059 -> origin/dev/roschuma/5059
* [new branch] dev/roschuma/5115 -> origin/dev/roschuma/5115
* [new branch] dev/roschuma/5182 -> origin/dev/roschuma/5182
+ 296bf74f...4b168c4c dev/roschuma/randomize-ci -> origin/dev/roschuma/randomize-ci (forced update)
+ d841f59a...e8e6425c dev/roschuma/upgrades -> origin/dev/roschuma/upgrades (forced update)
ff6bc2d2..b4766c69 dev/viromer/4782 -> origin/dev/viromer/4782
* [new branch] dev/viromer/5122 -> origin/dev/viromer/5122
* [new branch] dev/viromer/5165 -> origin/dev/viromer/5165
Updating b6fe5b5d..c6db2c88
Fast-forward
ports/abseil/CMakeLists.txt | 4 ++--
ports/abseil/CONTROL | 2 +-
ports/abseil/portfile.cmake | 4 ++--
ports/autobahn/CONTROL | 4 ++++
ports/autobahn/portfile.cmake | 30 +++++++++++++++++++++++++++++
ports/azure-c-shared-utility/CONTROL | 3 +++
ports/azure-c-shared-utility/portfile.cmake | 27 ++++++++++++++++++--------
ports/azure-iot-sdk-c/CONTROL | 4 ++++
ports/azure-iot-sdk-c/portfile.cmake | 27 ++++++++++++++++++--------
ports/azure-uamqp-c/CONTROL | 4 ++++
ports/azure-uamqp-c/portfile.cmake | 24 ++++++++++++++++-------
ports/azure-uhttp-c/CONTROL | 4 ++++
ports/azure-uhttp-c/portfile.cmake | 24 ++++++++++++++++-------
ports/azure-umqtt-c/CONTROL | 4 ++++
ports/azure-umqtt-c/portfile.cmake | 24 ++++++++++++++++-------
ports/celero/CONTROL | 2 +-
ports/celero/portfile.cmake | 4 ++--
ports/chakracore/CONTROL | 2 +-
ports/chakracore/portfile.cmake | 4 ++--
ports/cimg/CONTROL | 2 +-
ports/cimg/portfile.cmake | 4 ++--
ports/cppgraphqlgen/CONTROL | 2 +-
ports/cppgraphqlgen/portfile.cmake | 4 ++--
ports/eastl/CONTROL | 2 +-
ports/eastl/portfile.cmake | 4 ++--
ports/exprtk/CONTROL | 2 +-
ports/exprtk/portfile.cmake | 4 ++--
ports/fizz/CONTROL | 4 ++--
ports/fizz/depend-zlib.patch | 20 +++++++++++++++++++
ports/fizz/portfile.cmake | 5 +++--
ports/folly/CONTROL | 2 +-
ports/folly/portfile.cmake | 4 ++--
ports/libsodium/CONTROL | 2 +-
ports/libsodium/portfile.cmake | 4 ++--
ports/libuv/CONTROL | 2 +-
ports/libuv/portfile.cmake | 4 ++--
ports/ms-gsl/CONTROL | 4 ++--
ports/ms-gsl/portfile.cmake | 4 ++--
ports/re2/CONTROL | 2 +-
ports/re2/portfile.cmake | 4 ++--
ports/rs-core-lib/CONTROL | 2 +-
ports/rs-core-lib/portfile.cmake | 4 ++--
ports/sobjectizer/CONTROL | 2 +-
ports/sobjectizer/portfile.cmake | 4 ++--
ports/sqlite-orm/CONTROL | 2 +-
ports/sqlite-orm/portfile.cmake | 4 ++--
ports/strtk/CONTROL | 2 +-
ports/strtk/portfile.cmake | 4 ++--
ports/thrift/CONTROL | 2 +-
ports/thrift/portfile.cmake | 4 ++--
ports/unicorn-lib/CONTROL | 2 +-
ports/unicorn-lib/portfile.cmake | 4 ++--
ports/unicorn/CONTROL | 2 +-
ports/unicorn/portfile.cmake | 4 ++--
ports/wangle/CONTROL | 2 +-
ports/wangle/portfile.cmake | 4 ++--
ports/zeromq/CONTROL | 2 +-
ports/zeromq/portfile.cmake | 4 ++--
58 files changed, 233 insertions(+), 107 deletions(-)
create mode 100644 ports/autobahn/CONTROL
create mode 100644 ports/autobahn/portfile.cmake
create mode 100644 ports/fizz/depend-zlib.patch
Updating external libraries . . .
Using local portfile versions. To update the local portfiles, use `git pull`.
No packages need updating.
All installed packages are up-to-date with the local portfiles.
The following packages are already installed:
boost[core]:x64-windows
cgal[core]:x64-windows
curl[core,ssl,winssl]:x64-windows
jasper[core]:x64-windows
libxml2[core]:x64-windows
openjpeg[core]:x64-windows
openssl[core]:x64-windows
plib[core]:x64-windows
sdl2[core]:x64-windows
tiff[core]:x64-windows
zlib[core]:x64-windows
The following packages will be built and installed:
freeglut[core]:x64-windows
freetype[core]:x64-windows
gdal[core,mysql-libmysql]:x64-windows
glew[core]:x64-windows
* icu[core]:x64-windows
* libmysql[core]:x64-windows
* lz4[core]:x64-windows
openal-soft[core]:x64-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/19: jasper:x64-windows
Package jasper:x64-windows is already installed
Elapsed time for package jasper:x64-windows: 28.22 us
Starting package 2/19: zlib:x64-windows
Package zlib:x64-windows is already installed
Elapsed time for package zlib:x64-windows: 13.68 us
Starting package 3/19: boost:x64-windows
Package boost:x64-windows is already installed
Elapsed time for package boost:x64-windows: 12.83 us
Starting package 4/19: cgal:x64-windows
Package cgal:x64-windows is already installed
Elapsed time for package cgal:x64-windows: 12.4 us
Starting package 5/19: curl:x64-windows
Package curl:x64-windows is already installed
Elapsed time for package curl:x64-windows: 12.83 us
Starting package 6/19: openjpeg:x64-windows
Package openjpeg:x64-windows is already installed
Elapsed time for package openjpeg:x64-windows: 11.97 us
Starting package 7/19: libxml2:x64-windows
Package libxml2:x64-windows is already installed
Elapsed time for package libxml2:x64-windows: 13.26 us
Starting package 8/19: icu:x64-windows
Building package icu[core]:x64-windows...
-- Using cached C:/Users/SH/Downloads/fg-from-scratch/vcpkg-git/downloads/icu4c-61_1-src.tgz
-- Applying patch C:/Users/SH/Downloads/fg-from-scratch/vcpkg-git/ports/icu/disable-escapestr-tool.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch C:/Users/SH/Downloads/fg-from-scratch/vcpkg-git/ports/icu/remove-MD-from-configure.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Acquiring MSYS Packages...
-- Acquiring MSYS Packages... OK
-- Configuring x64-windows-rel
-- Configuring x64-windows-rel done
-- Configuring x64-windows-dbg
-- Configuring x64-windows-dbg done
-- Package x64-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
Command failed: C:/Users/SH/Downloads/fg-from-scratch/vcpkg-git/downloads/tools/msys2/msys64/usr/bin/bash.exe;--noprofile;--norc;-c;make && make install
Working Directory: C:/Users/SH/Downloads/fg-from-scratch/vcpkg-git/buildtrees/icu/x64-windows-rel
See logs for more information:
C:\Users\SH\Downloads\fg-from-scratch\vcpkg-git\buildtrees\icu\build-x64-windows-rel-err.log
Call Stack (most recent call first):
ports/icu/portfile.cmake:132 (vcpkg_execute_required_process)
scripts/ports.cmake:71 (include)
Error: Building package icu: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: icu:x64-windows
Vcpkg version: 2018.11.23-nohash
Additionally, attach any relevant sections from the log files above.
Updating OpenSceneGraph . . .
From https://github.com/openscenegraph/OpenSceneGraph
f223fec92..645515975 OpenSceneGraph-3.6 -> origin/OpenSceneGraph-3.6
cb90d269e..68e4341cb master -> origin/master
Already up to date.
Updating SimGear . . .
From https://git.code.sf.net/p/flightgear/simgear
7981809f..105d63a6 next -> origin/next
Updating 7981809f..105d63a6
Fast-forward
simgear/canvas/elements/CanvasText.cxx | 86 ++++++++++++++++----------
simgear/io/sg_file.cxx | 25 ++++++++
simgear/io/sg_file.hxx | 3 +
simgear/scene/material/Effect.cxx | 13 +++-
simgear/scene/material/TextureBuilder.cxx | 43 ++++++++++---
simgear/scene/material/mat.cxx | 2 +-
simgear/scene/material/mipmap.hxx | 20 +++---
simgear/scene/model/BVHDebugCollectVisitor.hxx | 5 ++
simgear/scene/model/SGReaderWriterXML.cxx | 4 +-
simgear/scene/model/model.cxx | 6 +-
simgear/scene/sky/cloud.cxx | 8 ++-
simgear/scene/tgdb/ReaderWriterSPT.cxx | 2 +-
simgear/scene/util/SGReaderWriterOptions.hxx | 29 +++++++--
simgear/timing/timestamp.cxx | 28 +++++++--
14 files changed, 206 insertions(+), 68 deletions(-)
Updating FlightGear . . .
From https://git.code.sf.net/p/flightgear/flightgear
da65411ef..cbde4c90d next -> origin/next
Updating da65411ef..cbde4c90d
Fast-forward
src/Canvas/FGCanvasSystemAdapter.cxx | 2 +-
src/Cockpit/NavDisplay.cxx | 7 ++++++-
src/Cockpit/wxradar.cxx | 4 ++++
src/FDM/JSBSim/JSBSim.cxx | 20 ++++++++++----------
src/FDM/groundcache.cxx | 10 ++++++----
src/GUI/gui_funcs.cxx | 24 ++++++++++++++----------
src/Main/fg_init.cxx | 6 +++---
src/Scenery/terrain_pgt.cxx | 2 +-
src/Viewer/PUICamera.cxx | 15 ++++++++-------
src/Viewer/PUICamera.hxx | 2 +-
src/Viewer/splash.cxx | 4 ++--
utils/fgqcanvas/applicationcontroller.cpp | 1 +
utils/fgviewer/fgviewer.cxx | 4 ++--
13 files changed, 59 insertions(+), 42 deletions(-)
Updating TerraGear . . .
From https://git.code.sf.net/p/flightgear/terragear
e84b69e..c9d2959 next -> origin/next
Updating e84b69e..c9d2959
Fast-forward
CMakeLists.txt | 12 ++--
CMakeModules/FindSimGear.cmake | 15 ++--
src/Airports/GenAirports850/CMakeLists.txt | 3 +-
src/Airports/GenAirports850/airport.cxx | 44 ++++++------
src/Airports/GenAirports850/airport.hxx | 32 +++++----
src/Airports/GenAirports850/beznode.hxx | 5 +-
src/Airports/GenAirports850/closedpoly.cxx | 66 +++++++-----------
src/Airports/GenAirports850/closedpoly.hxx | 18 ++---
src/Airports/GenAirports850/elevations.cxx | 2 +-
src/Airports/GenAirports850/helipad.hxx | 4 +-
src/Airports/GenAirports850/linearfeature.cxx | 20 +++---
src/Airports/GenAirports850/linearfeature.hxx | 12 ++--
src/Airports/GenAirports850/linked_objects.hxx | 8 ++-
src/Airports/GenAirports850/main.cxx | 4 +-
src/Airports/GenAirports850/object.hxx | 4 +-
src/Airports/GenAirports850/parser.cxx | 87 ++++++++++++-----------
src/Airports/GenAirports850/parser.hxx | 61 +++++++++--------
src/Airports/GenAirports850/runway.hxx | 6 +-
src/Airports/GenAirports850/scheduler.cxx | 19 +++---
src/Airports/GenAirports850/taxiway.hxx | 4 +-
src/Lib/Array/array.cxx | 95 +++++++++++++-------------
src/Lib/Array/array.hxx | 36 +++++-----
src/Lib/terragear/tg_contour.cxx | 2 +-
src/Lib/terragear/tg_surface.cxx | 2 +-
src/Prep/Terra/GreedyInsert.cc | 2 +-
25 files changed, 283 insertions(+), 280 deletions(-)
Compiling OpenSceneGraph . . .
CMake Error: The source directory "C:/Users/SH/Downloads/fg-from-scratch/openscenegraph-3.4-build/hiv/Downloads/fg-from-scratch/vcpkg-git/installed/x64-windows/lib/zlib.lib" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Error: could not load cache
Compiling SimGear . . .
CMake Error: The source directory "C:/Users/SH/Downloads/fg-from-scratch/simgear-build/hiv/Downloads/fg-from-scratch/vcpkg-git/installed/x64-windows/lib/zlib.lib" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Error: could not load cache
Compiling FlightGear . . .
CMake Error: The source directory "C:/Users/SH/Downloads/fg-from-scratch/flightgear-build/hiv/Downloads/fg-from-scratch/vcpkg-git/installed/x64-windows/lib/zlib.lib" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Error: could not load cache
Compiling TerraGear . . .
CMake Error: The source directory "C:/Users/SH/Downloads/fg-from-scratch/terragear-build/hiv/Downloads/fg-from-scratch/Stage/lib/SimGearScene.lib" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Error: could not load cache
The system cannot find the path specified.
0 file(s) copied.
All done!
Any suggestions will be very much appreciated.