I'm following pc-ble-driver compilation steps.
I could run "vcpkg install asio" and "vcpkg install catch2", but "vcpkg install --head spdlog" fails with error:
C:\dev\vobs_nrf_driver-4.1.1\pc-ble-driver-4.1.1\build>vcpkg install --head spdlog
The following packages will be built and installed:
* fmt[core]:x64-windows
spdlog[core]:x64-windows (from HEAD)
Additional packages (*) will be modified to complete this operation.
Starting package 1/2: fmt:x64-windows
Building package fmt[core]:x64-windows...
-- Downloading github.com/.../5.3.0.tar.gz...
-- Extracting source C:/dev/vobs_nrf_driver-4.1.1/vcpkg-master/downloads/fmtlib-fmt-5.3.0.tar.gz
-- Using source at C:/dev/vobs_nrf_driver-4.1.1/vcpkg-master/buildtrees/fmt/src/5.3.0-9fc40447dd
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: C:/dev/vobs_nrf_driver-4.1.1/vcpkg-master/packages/fmt_x64-windows/share/fmt/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package fmt[core]:x64-windows... done
Installing package fmt[core]:x64-windows...
Installing package fmt[core]:x64-windows... done
Elapsed time for package fmt:x64-windows: 19.55 s
Starting package 2/2: spdlog:x64-windows
Building package spdlog[core]:x64-windows from HEAD...
-- Downloading api.github.com/.../v1.x...
-- Skipping hash check for C:/dev/vobs_nrf_driver-4.1.1/vcpkg-master/downloads/temp/gabime-spdlog-v1.x.tar.gz.version.
-- Downloading github.com/.../v1.x.tar.gz...
-- Skipping hash check for C:/dev/vobs_nrf_driver-4.1.1/vcpkg-master/downloads/temp/gabime-spdlog-v1.x.tar.gz.
-- Extracting source C:/dev/vobs_nrf_driver-4.1.1/vcpkg-master/downloads/gabime-spdlog-v1.x.tar.gz
-- Applying patch disable-master-project-check.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Using source at C:/dev/vobs_nrf_driver-4.1.1/vcpkg-master/buildtrees/spdlog/src/head/v1.x-18dd870e02
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
CMake Error at scripts/cmake/vcpkg_fixup_cmake_targets.cmake:45 (message):'C:/dev/vobs_nrf_driver-4.1.1/vcpkg-master/packages/spdlog_x64-windows/debug/lib/cmake/spdlog'
does not exist.
Call Stack (most recent call first):
ports/spdlog/portfile.cmake:22 (vcpkg_fixup_cmake_targets)
scripts/ports.cmake:71 (include)
Error: Building package spdlog:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at github.com/.../issues including:
Package: spdlog:x64-windows
Vcpkg version: 2018.11.23-nohashAdditionally, attach any relevant sections from the log files above.
"vcpkg install spdlog" works, could this be a good workaround?