microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.07k stars 6.36k forks source link

[uvw] build failure #25682

Closed hihig2001 closed 2 years ago

hihig2001 commented 2 years ago

Host Environment

To Reproduce 'vcpkg.json' with uvw dependency.

Failure logs

1> [CMake] CMake Error at C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:824 (_find_package): 1> [CMake] Could not find a package configuration file provided by "unofficial-libuv" 1> [CMake] with any of the following names: 1> [CMake] 1> [CMake] unofficial-libuvConfig.cmake 1> [CMake] unofficial-libuv-config.cmake 1> [CMake] 1> [CMake] Add the installation prefix of "unofficial-libuv" to CMAKE_PREFIX_PATH or 1> [CMake] set "unofficial-libuv_DIR" to a directory containing one of the above 1> [CMake] files. If "unofficial-libuv" provides a separate development package or 1> [CMake] SDK, be sure it has been installed. 1> [CMake] Call Stack (most recent call first): 1> [CMake] out/build/windows-msvc-debug-hard-mode/vcpkg_installed/x64-windows/share/uvw/uvw-config.cmake:1 (find_package) 1> [CMake] C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:824 (_find_package) 1> [CMake] knuckles/CMakeLists.txt:13 (find_package)

Additional context

hi guys i got this error from 'uvw' in vcpkg. i'm using 'vcpkg.json' and constrained version by specifying builtin-baseline

"builtin-baseline": "98f8d00e89fb6a8019c2045cfa1edbe9d92d3405"

if there are anything that i need to modify to make it work please let me know about it.

https://github.com/microsoft/vcpkg/issues/25563 https://github.com/microsoft/vcpkg/issues/24743 https://github.com/microsoft/vcpkg/pull/24745

JackBoosY commented 2 years ago

Is this come from your custom project or other ports which in vcpkg?

Please use the official libuv targets in your custom project since they are provided by the upstream.

hihig2001 commented 2 years ago

vcpkg.json


{
  "name": "knuckles",
  "version-string": "0.0.1",
  "builtin-baseline": "98f8d00e89fb6a8019c2045cfa1edbe9d92d3405",
  "dependencies": [
    {
      "name": "fmt",
      "version>=": "8.1.1"
    },
    {
      "name": "uvw"
    }
  ],
  "features": {
    "tests": {
      "description": "Build the tests of the package's tests",
      "dependencies": [
        {
          "name": "catch2",
          "version>=": "2.13.8"
        }
      ]
    }
  }
}
hihig2001 commented 2 years ago

cmake

add_library(knuckles_lib "./src/lib.cpp" )
target_link_libraries(knuckles_lib PRIVATE project_options project_warnings) # link project_options/warnings

# Includes
set(knuckles_lib_INCLUDE_DIR "include") # must be relative paths
target_include_directories(knuckles_lib PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/${knuckles_lib_INCLUDE_DIR}>"
                                         "$<INSTALL_INTERFACE:./${CMAKE_INSTALL_INCLUDEDIR}>")

# Find dependencies:
set(knuckles_lib_DEPENDENCIES_CONFIGURED fmt uvw)

foreach(DEPENDENCY ${knuckles_lib_DEPENDENCIES_CONFIGURED})
  find_package(${DEPENDENCY} CONFIG REQUIRED)
endforeach()

# Link dependencies:
target_link_system_libraries(knuckles_lib PRIVATE fmt::fmt uvw::uvw)

if("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
    target_link_system_libraries(knuckles_lib PRIVATE wsock32 ws2_32)
endif()

if(FEATURE_UNIT_TESTS)
  add_subdirectory("./test")
endif()
hihig2001 commented 2 years ago

I use 'project_option' for cmake extension besides that I don't know anything about 'unoficial-libuv' I used the same way that i used before. Is there maybe some reason that 'uvw' or 'uvw::uvw' name value has setted in wrong way?

JackBoosY commented 2 years ago

Confirmed. No idea why we don't figure it out in our tests.

JackBoosY commented 2 years ago

Wait. port uvw also be fixed in PR https://github.com/microsoft/vcpkg/pull/24745. Maybe you should update your builtin-baseline.

hihig2001 commented 2 years ago

but i pulled the git in recent version and updated builtin-baseline. "builtin-baseline": "98f8d00e89fb6a8019c2045cfa1edbe9d92d3405" is the HEAD revision i think?

and i also checked local baseline file for uvw is same as recent version.

    "uvw": {
      "baseline": "2.12.1",
      "port-version": 1
    },
hihig2001 commented 2 years ago

Sorry I updated 'builtin-baseline' in 'vcpkg.json' I commented recent 'vcpkg.json' that I'm using in recent version of my project to make it work. After I found that there are bug in recent version of vcpkg I reverted the builtin-baseline.

The problem is I commented 'vcpkg.json' with reverted version which made confusion. I updated comment with updated builtin-baseline with recent version of vcpkg to clear the confusion here.

Error case happens when I updated the 'builtin-baseline' with recent version of vcpkg.

JackBoosY commented 2 years ago

Please use the following manifest file:

{
  "name": "knuckles",
  "version-string": "0.0.1",
  "builtin-baseline": "72ef222e774fd8940d7eb85eb9821b68bb1ca1c8",
  "dependencies": [
    {
      "name": "fmt",
      "version>=": "8.1.1"
    },
    {
      "name": "uvw"
    }
  ],
  "features": {
    "tests": {
      "description": "Build the tests of the package's tests",
      "dependencies": [
        {
          "name": "catch2",
          "version>=": "2.13.8"
        }
      ]
    }
  }
}
hihig2001 commented 2 years ago

it leads same error

hihig2001 commented 2 years ago

image

1> CMake generation started for configuration: 'windows-msvc-debug-hard-mode'.
1> Environment settings:
1>     asl.log=Destination=file
1>     CommandPromptType=Native
1>     DevEnvDir=C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\
1>     ExtensionSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs
1>     Framework40Version=v4.0
1>     FrameworkDir=C:\Windows\Microsoft.NET\Framework64\
1>     FrameworkDir64=C:\Windows\Microsoft.NET\Framework64\
1>     FrameworkVersion=v4.0.30319
1>     FrameworkVersion64=v4.0.30319
1>     INCLUDE=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;C:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared;C:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um;C:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt;C:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt
1>     is_x64_arch=true
1>     LIB=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\lib\x64;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\10\\lib\10.0.19041.0\\um\x64
1>     LIBPATH=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\lib\x64;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\lib\x86\store\references;C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.19041.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0;C:\Windows\Microsoft.NET\Framework64\v4.0.30319
1>     NETFXSDKDir=C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\
1>     Path=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\VC\VCPackages;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\bin\Roslyn;C:\Program Files\Microsoft Visual Studio\2022\Professional\Team Tools\Performance Tools\x64;C:\Program Files\Microsoft Visual Studio\2022\Professional\Team Tools\Performance Tools;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\vs2019\\x64;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\vs2019\;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\\x64;C:\Program Files (x86)\Windows Kits\10\bin\\x64;C:\Program Files\Microsoft Visual Studio\2022\Professional\\MSBuild\Current\Bin\amd64;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\Tools\;C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\bin;C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\Git LFS;C:\Program Files\Perforce\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Amazon\AWSCLI\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Git\cmd;C:\Program Files\TortoiseGit\bin;C:\Program Files\CMake\bin;C:\Program Files\Cppcheck;C:\NVPACK\gradle-2.9\bin;C:\NVPACK\apache-ant-1.8.2\bin;C:\NVPACK\jdk1.8.0_77\bin;C:\NVPACK\android-ndk-r12b;C:\NVPACK\android-sdk-windows\extras\android\support;C:\NVPACK\android-sdk-windows\build-tools;C:\NVPACK\android-sdk-windows\platform-tools;C:\NVPACK\android-sdk-windows\tools;C:\Users\hihig\AppData\Local\Microsoft\WindowsApps;;C:\Exercism;C:\Users\hihig\.dotnet\tools;;C:\Users\hihig\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\hihig\.dotnet\tools;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\Llvm\x64\bin;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\VC\Linux\bin\ConnectionManagerExe
1>     PROMPT=$P$G
1>     UCRTVersion=10.0.19041.0
1>     UniversalCRTSdkDir=C:\Program Files (x86)\Windows Kits\10\
1>     VCIDEInstallDir=C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\VC\
1>     VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\
1>     VCToolsInstallDir=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\
1>     VCToolsRedistDir=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Redist\MSVC\14.32.31326\
1>     VCToolsVersion=14.32.31326
1>     VS170COMNTOOLS=C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\Tools\
1>     VSCMD_ARG_app_plat=Desktop
1>     VSCMD_ARG_HOST_ARCH=x64
1>     VSCMD_ARG_no_logo=1
1>     VSCMD_ARG_TGT_ARCH=x64
1>     VSCMD_DEBUG=5 
1>     VSCMD_VER=17.2.5
1>     VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio\2022\Professional\
1>     WindowsLibPath=C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.19041.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0
1>     WindowsSdkBinPath=C:\Program Files (x86)\Windows Kits\10\bin\
1>     WindowsSdkDir=C:\Program Files (x86)\Windows Kits\10\
1>     WindowsSDKLibVersion=10.0.19041.0\
1>     WindowsSdkVerBinPath=C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\
1>     WindowsSDKVersion=10.0.19041.0\
1>     WindowsSDK_ExecutablePath_x64=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\
1>     WindowsSDK_ExecutablePath_x86=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\
1>     __DOTNET_ADD_64BIT=1
1>     __DOTNET_PREFERRED_BITNESS=64
1>     __VSCMD_PREINIT_PATH=C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\bin;C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\Git LFS;C:\Program Files\Perforce\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Amazon\AWSCLI\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Git\cmd;C:\Program Files\TortoiseGit\bin;C:\Program Files\CMake\bin;C:\Program Files\Cppcheck;C:\NVPACK\gradle-2.9\bin;C:\NVPACK\apache-ant-1.8.2\bin;C:\NVPACK\jdk1.8.0_77\bin;C:\NVPACK\android-ndk-r12b;C:\NVPACK\android-sdk-windows\extras\android\support;C:\NVPACK\android-sdk-windows\build-tools;C:\NVPACK\android-sdk-windows\platform-tools;C:\NVPACK\android-sdk-windows\tools;C:\Users\hihig\AppData\Local\Microsoft\WindowsApps;;C:\Exercism;C:\Users\hihig\.dotnet\tools;;C:\Users\hihig\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\hihig\.dotnet\tools
1>     OneDriveConsumer=C:\Users\hihig\OneDrive
1>     ProgramFiles(x86)=C:\Program Files (x86)
1>     USERDNSDOMAIN=BLUEHOLE.NET
1>     NVPACK_NDK_TOOL_VERSION=4.9
1>     PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 85 Stepping 4, GenuineIntel
1>     TMP=C:\Users\hihig\AppData\Local\Temp
1>     PROCESSOR_ARCHITECTURE=AMD64
1>     DriverData=C:\Windows\System32\Drivers\DriverData
1>     PUBLIC=C:\Users\Public
1>     PkgDefApplicationConfigFile=C:\Users\hihig\AppData\Local\Microsoft\VisualStudio\17.0_784e1cec\devenv.exe.config
1>     USERPROFILE=C:\Users\hihig
1>     PROCESSOR_REVISION=5504
1>     GTK_BASEPATH=C:\Program Files (x86)\GtkSharp\2.12\
1>     ServiceHubLogSessionKey=A60BC2E4
1>     FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
1>     FPS_BROWSER_USER_PROFILE_STRING=Default
1>     LOGONSERVER=\\PG-SK-HCI-01
1>     TEMP=C:\Users\hihig\AppData\Local\Temp
1>     VCPKG_ROOT=C:\dev\vcpkg
1>     USERNAME=hihig
1>     SystemRoot=C:\WINDOWS
1>     VSSKUEDITION=Professional
1>     OneDrive=C:\Users\hihig\OneDrive
1>     CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
1>     VisualStudioDir=C:\Users\hihig\Documents\Visual Studio 2022
1>     ANDROID_HOME=C:\NVPACK\android-sdk-windows
1>     ProgramW6432=C:\Program Files
1>     ProgramData=C:\ProgramData
1>     VSAPPIDDIR=C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\
1>     HOMEPATH=\Users\hihig
1>     GRADLE_HOME=C:\NVPACK\gradle-2.9
1>     ALLUSERSPROFILE=C:\ProgramData
1>     CommonProgramW6432=C:\Program Files\Common Files
1>     WSLENV=TERMINFO/u:TERMINFO_DIRS/u:PKG_CONFIG_LIBDIR/u
1>     NDKROOT=C:\NVPACK\android-ndk-r12b
1>     ThreadedWaitDialogDpiContext=-4
1>     PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig
1>     CommonProgramFiles=C:\Program Files\Common Files
1>     SignInWithHomeTenantOnly=False
1>     SESSIONNAME=RDP-Tcp#13
1>     PROCESSOR_LEVEL=6
1>     ANDROID_NDK_ROOT=C:\NVPACK\android-ndk-r12b
1>     HOMEDRIVE=C:
1>     TERMINFO_DIRS=/lib/terminfo:/etc/terminfo:/usr/share/terminfo
1>     windir=C:\WINDOWS
1>     TERMINFO=/lib/terminfo
1>     SystemDrive=C:
1>     NUMBER_OF_PROCESSORS=20
1>     OS=Windows_NT
1>     NVPACK_NDK_VERSION=android-ndk-r12b
1>     ProgramFiles=C:\Program Files
1>     ComSpec=C:\WINDOWS\system32\cmd.exe
1>     VSAPPIDNAME=devenv.exe
1>     GIT_LFS_PATH=C:\Program Files\Git LFS
1>     PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
1>     VSLANG=1033
1>     PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files\Intel\
1>     JAVA_HOME=C:\NVPACK\jdk1.8.0_77
1>     NDK_ROOT=C:\NVPACK\android-ndk-r12b
1>     APPDATA=C:\Users\hihig\AppData\Roaming
1>     USERDOMAIN=BLUEHOLE
1>     COMPUTERNAME=HIHIG-W_I9
1>     asl.log=Destination=file
1>     ANT_HOME=C:\NVPACK\apache-ant-1.8.2
1>     LOCALAPPDATA=C:\Users\hihig\AppData\Local
1>     VisualStudioVersion=17.0
1>     VisualStudioEdition=Microsoft Visual Studio Professional 2022
1>     CLIENTNAME=DESKTOP-0RCDDI3
1>     USERDOMAIN_ROAMINGPROFILE=BLUEHOLE
1>     NVPACK_ROOT=C:\\NVPACK
1>     ForceIdentityAuthenticationType=Embedded
1>     MSBuildLoadMicrosoftTargetsReadOnly=true
1> Command line: "C:\WINDOWS\system32\cmd.exe" /c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\PROFESSIONAL\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe"  -G "Ninja"  -DCMAKE_TOOLCHAIN_FILE:FILEPATH="C:\dev\vcpkg/scripts/buildsystems/vcpkg.cmake" -DCMAKE_C_COMPILER:STRING="cl" -DCMAKE_CXX_COMPILER:STRING="cl" -DCMAKE_BUILD_TYPE:STRING="Debug" -DFEATURE_UNIT_TESTS:STRING="ON" -DFEATURE_FUZZ_TESTS:STRING="ON" -DENABLE_CPPCHECK:STRING="ON" -DENABLE_CLANG_TIDY:STRING="ON" -DENABLE_SANITIZER_ADDRESS:STRING="ON" -DENABLE_PCH:STRING="OFF" -DWARNINGS_AS_ERRORS:STRING="ON" -DCMAKE_INSTALL_PREFIX:PATH="E:/work/Knuckles/Game/out/install/windows-msvc-debug-hard-mode"  -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\PROFESSIONAL\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "E:\work\Knuckles\Game" 2>&1"
1> Working directory: E:/work/Knuckles/Game/out/build/windows-msvc-debug-hard-mode
1> [CMake] -- Running vcpkg install
1> [CMake] Detecting compiler hash for triplet "x64-windows"...
1> [CMake] The following packages will be rebuilt:
1> [CMake]     catch2[core]:x64-windows -> 3.0.1#2 -- C:\dev\vcpkg\buildtrees\versioning_\versions\catch2\1c528318ebe10c945563bf9942c8b2141253bf87
1> [CMake]     fmt[core]:x64-windows -> 8.1.1#2 -- C:\dev\vcpkg\buildtrees\versioning_\versions\fmt\1f0a5cf3aa202e9833dcc5d3fa36688ecf295ca4
1> [CMake]   * libuv[core]:x64-windows -> 1.44.1 -- C:\dev\vcpkg\buildtrees\versioning_\versions\libuv\4560e3046488c518b6573a14d7ad063a02f52db9
1> [CMake]     uvw[core]:x64-windows -> 2.12.1#1 -- C:\dev\vcpkg\buildtrees\versioning_\versions\uvw\609b48de110aa8763d8f4a674ac3aa7c5821382f
1> [CMake]   * vcpkg-cmake[core]:x64-windows -> 2022-07-02 -- C:\dev\vcpkg\buildtrees\versioning_\versions\vcpkg-cmake\94abbd71a7fe495e883b13c077312f6d419cbc41
1> [CMake]   * vcpkg-cmake-config[core]:x64-windows -> 2022-02-06#1 -- C:\dev\vcpkg\buildtrees\versioning_\versions\vcpkg-cmake-config\8d54cc4f487d51b655abec5f9c9c3f86ca83311f
1> [CMake] Additional packages (*) will be modified to complete this operation.
1> [CMake] Removing 1/12 catch2:x64-windows
1> [CMake] Elapsed time to handle catch2:x64-windows: 68.17 ms
1> [CMake] Removing 2/12 uvw:x64-windows
1> [CMake] Elapsed time to handle uvw:x64-windows: 107.3 ms
1> [CMake] Removing 3/12 libuv:x64-windows
1> [CMake] Elapsed time to handle libuv:x64-windows: 67.87 ms
1> [CMake] Removing 4/12 fmt:x64-windows
1> [CMake] Elapsed time to handle fmt:x64-windows: 56.52 ms
1> [CMake] Removing 5/12 vcpkg-cmake:x64-windows
1> [CMake] Elapsed time to handle vcpkg-cmake:x64-windows: 20.13 ms
1> [CMake] Removing 6/12 vcpkg-cmake-config:x64-windows
1> [CMake] Elapsed time to handle vcpkg-cmake-config:x64-windows: 18.29 ms
1> [CMake] Restored 6 packages from C:\Users\hihig\AppData\Local\vcpkg\archives in 1.94 s. Use --debug to see more details.
1> [CMake] Installing 7/12 vcpkg-cmake-config:x64-windows...
1> [CMake] Elapsed time to handle vcpkg-cmake-config:x64-windows: 41.26 ms
1> [CMake] Installing 8/12 vcpkg-cmake:x64-windows...
1> [CMake] Elapsed time to handle vcpkg-cmake:x64-windows: 44.8 ms
1> [CMake] Installing 9/12 fmt:x64-windows...
1> [CMake] Elapsed time to handle fmt:x64-windows: 82.51 ms
1> [CMake] Installing 10/12 libuv:x64-windows...
1> [CMake] Elapsed time to handle libuv:x64-windows: 126.7 ms
1> [CMake] Installing 11/12 uvw:x64-windows...
1> [CMake] Elapsed time to handle uvw:x64-windows: 127.3 ms
1> [CMake] Installing 12/12 catch2:x64-windows...
1> [CMake] Elapsed time to handle catch2:x64-windows: 589.3 ms
1> [CMake] 
1> [CMake] Total elapsed time: 8.96 s
1> [CMake] 
1> [CMake] The package fmt provides CMake targets:
1> [CMake] 
1> [CMake]     find_package(fmt CONFIG REQUIRED)
1> [CMake]     target_link_libraries(main PRIVATE fmt::fmt)
1> [CMake] 
1> [CMake]     # Or use the header-only version
1> [CMake]     find_package(fmt CONFIG REQUIRED)
1> [CMake]     target_link_libraries(main PRIVATE fmt::fmt-header-only)
1> [CMake] 
1> [CMake] uvw provides CMake targets:
1> [CMake]     # this is heuristically generated, and may not be correct
1> [CMake]     find_package(uvw CONFIG REQUIRED)
1> [CMake]     target_link_libraries(main PRIVATE uvw::uvw)
1> [CMake] 
1> [CMake] catch2 provides CMake targets:
1> [CMake]     # this is heuristically generated, and may not be correct
1> [CMake]     find_package(Catch2 CONFIG REQUIRED)
1> [CMake]     target_link_libraries(main PRIVATE Catch2::Catch2 Catch2::Catch2WithMain)
1> [CMake] 
1> [CMake] -- Running vcpkg install - done
1> [CMake] -- The default CMAKE_CXX_STANDARD used by external targets and tools is not set yet. Using the latest supported C++ standard that is 20
1> [CMake] -- The default CMAKE_C_STANDARD used by external targets and tools is not set yet. Using the latest supported C standard that is 17
1> [CMake] CMake Warning at out/build/windows-msvc-debug-hard-mode/_deps/_project_options-src/src/Cache.cmake:33 (message):
1> [CMake]   ccache is enabled but was not found.  Not using it
1> [CMake] Call Stack (most recent call first):
1> [CMake]   out/build/windows-msvc-debug-hard-mode/_deps/_project_options-src/src/Index.cmake:145 (enable_cache)
1> [CMake]   CMakeLists.txt:84 (project_options)
1> [CMake] 
1> [CMake] 
1> [CMake] CMake Error at C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:824 (_find_package):
1> [CMake]   Could not find a package configuration file provided by "unofficial-libuv"
1> [CMake]   with any of the following names:
1> [CMake] 
1> [CMake]     unofficial-libuvConfig.cmake
1> [CMake]     unofficial-libuv-config.cmake
1> [CMake] 
1> [CMake]   Add the installation prefix of "unofficial-libuv" to CMAKE_PREFIX_PATH or
1> [CMake]   set "unofficial-libuv_DIR" to a directory containing one of the above
1> [CMake]   files.  If "unofficial-libuv" provides a separate development package or
1> [CMake]   SDK, be sure it has been installed.
1> [CMake] Call Stack (most recent call first):
1> [CMake]   out/build/windows-msvc-debug-hard-mode/vcpkg_installed/x64-windows/share/uvw/uvw-config.cmake:1 (find_package)
1> [CMake]   C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:824 (_find_package)
1> [CMake]   knuckles/CMakeLists.txt:13 (find_package)
1> [CMake] -- Configuring incomplete, errors occurred!
1> [CMake] See also "E:/work/Knuckles/Game/out/build/windows-msvc-debug-hard-mode/CMakeFiles/CMakeOutput.log".
1> 'C:\WINDOWS\system32\cmd.exe' '/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\PROFESSIONAL\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe"  -G "Ninja"  -DCMAKE_TOOLCHAIN_FILE:FILEPATH="C:\dev\vcpkg/scripts/buildsystems/vcpkg.cmake" -DCMAKE_C_COMPILER:STRING="cl" -DCMAKE_CXX_COMPILER:STRING="cl" -DCMAKE_BUILD_TYPE:STRING="Debug" -DFEATURE_UNIT_TESTS:STRING="ON" -DFEATURE_FUZZ_TESTS:STRING="ON" -DENABLE_CPPCHECK:STRING="ON" -DENABLE_CLANG_TIDY:STRING="ON" -DENABLE_SANITIZER_ADDRESS:STRING="ON" -DENABLE_PCH:STRING="OFF" -DWARNINGS_AS_ERRORS:STRING="ON" -DCMAKE_INSTALL_PREFIX:PATH="E:/work/Knuckles/Game/out/install/windows-msvc-debug-hard-mode"  -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\PROFESSIONAL\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "E:\work\Knuckles\Game" 2>&1"' execution failed with error: ''C:\WINDOWS\system32\cmd.exe' '/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\PROFESSIONAL\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe"  -G "Ninja"  -DCMAKE_TOOLCHAIN_FILE:FILEPATH="C:\dev\vcpkg/scripts/buildsystems/vcpkg.cmake" -DCMAKE_C_COMPILER:STRING="cl" -DCMAKE_CXX_COMPILER:STRING="cl" -DCMAKE_BUILD_TYPE:STRING="Debug" -DFEATURE_UNIT_TESTS:STRING="ON" -DFEATURE_FUZZ_TESTS:STRING="ON" -DENABLE_CPPCHECK:STRING="ON" -DENABLE_CLANG_TIDY:STRING="ON" -DENABLE_SANITIZER_ADDRESS:STRING="ON" -DENABLE_PCH:STRING="OFF" -DWARNINGS_AS_ERRORS:STRING="ON" -DCMAKE_INSTALL_PREFIX:PATH="E:/work/Knuckles/Game/out/install/windows-msvc-debug-hard-mode"  -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\PROFESSIONAL\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "E:\work\Knuckles\Game" 2>&1"' returned with exit code: 1'.
JackBoosY commented 2 years ago

Ah, I know why. Wait a minute.