text:
Cannot link vcpkg installed library

Describe the bug
lvcpkg install opencv correctly, was working before, not sure it's because recent upgrade. cannot link opencv library on windows anymore, though on Mac works fine.
Environment

OS: windows 10
Compiler: revision

To Reproduce
Steps to reproduce the behavior:

./vcpkg install catch2 sdl2 ffmpeg opencv opecv[contrib] nlohmann-json
See error
λ ninja
[1/3] Linking CXX executable apps\tutorial02\tutorial02.exe
FAILED: apps/tutorial02/tutorial02.exe
cmd.exe /C "cd . && C:\SysGCC\mingw64\bin\c++.exe -D__STDC_CONSTANT_MACROS   @CMakeFiles\tutorial02.rsp  -o apps\tutorial02\tutorial02.exe -Wl,--out-implib,apps\tutorial02\libtutorial02.dll.a -Wl,--major-image-version,0,--minor-image-version,0  && cmd.exe /C "cd /D C:\Workspace\ffmpeg-tutorial\build\apps\tutorial02 && powershell -noprofile -executionpolicy Bypass -file C:/Workspace/vcpkg/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary C:/Workspace/ffmpeg-tutorial/build/apps/tutorial02/tutorial02.exe -installedDir C:/Workspace/vcpkg/installed/x64-windows/bin -OutVariable out""
Warning: corrupt .drectve at end of def file
C:/Workspace/vcpkg/installed/x64-windows/debug/lib/manual-link/SDL2maind.lib(CMakeFiles/SDL2main.dir/src/main/windows/SDL_windows_main.c.obj):(.text$mn+0x2fb): undefined reference to SDL_ShowSimpleMessageBox' C:/Workspace/vcpkg/installed/x64-windows/debug/lib/manual-link/SDL2maind.lib(CMakeFiles/SDL2main.dir/src/main/windows/SDL_windows_main.c.obj):(.text$mn+0x49d): undefined reference to SDL_ReportAssertion'
C:/Workspace/vcpkg/installed/x64-windows/debug/lib/manual-link/SDL2maind.lib(CMakeFiles/SDL2main.dir/src/main/windows/SDL_windows_main.c.obj):(.text$mn+0x502): undefined reference to SDL_ReportAssertion' C:/Workspace/vcpkg/installed/x64-windows/debug/lib/manual-link/SDL2maind.lib(CMakeFiles/SDL2main.dir/src/main/windows/SDL_windows_main.c.obj):(.text$mn+0x53b): undefined reference to SDL_SetMainReady'
collect2.exe: error: ld returned 1 exit status

collect2.exe: error: ld returned 1 exit status
[2/3] Linking CXX executable apps\tutorial03\tutorial03.exe
FAILED: apps/tutorial03/tutorial03.exe
cmd.exe /C "cd . && C:\SysGCC\mingw64\bin\c++.exe -D__STDC_CONSTANT_MACROS   @CMakeFiles\tutorial03.rsp  -o apps\tutorial03\tutorial03.exe -Wl,--out-implib,apps\tutorial03\libtutorial03.dll.a -Wl,--major-image-version,0,--minor-image-version,0  && cmd.exe /C "cd /D C:\Workspace\ffmpeg-tutorial\build\apps\tutorial03 && powershell -noprofile -executionpolicy Bypass -file C:/Workspace/vcpkg/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary C:/Workspace/ffmpeg-tutorial/build/apps/tutorial03/tutorial03.exe -installedDir C:/Workspace/vcpkg/installed/x64-windows/bin -OutVariable out""
apps/tutorial03/CMakeFiles/tutorial03.dir///src/tutorial03.cpp.obj:tutorial03.cpp:(.text+0xa9): undefined reference to cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' apps/tutorial03/CMakeFiles/tutorial03.dir/__/__/src/tutorial03.cpp.obj:tutorial03.cpp:(.text+0x12f): undefined reference to cv::Canny(cv::_InputArray const&, cv::_OutputArray const&, double, double, int, bool)'
apps/tutorial03/CMakeFiles/tutorial03.dir///src/tutorial03.cpp.obj:tutorial03.cpp:(.text+0x1cf): undefined reference to cv::findContours(cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, int, int, cv::Point_<int>)' apps/tutorial03/CMakeFiles/tutorial03.dir/__/__/src/tutorial03.cpp.obj:tutorial03.cpp:(.text+0x2c3): undefined reference to cv::contourArea(cv::_InputArray const&, bool)'
apps/tutorial03/CMakeFiles/tutorial03.dir///src/tutorial03.cpp.obj:tutorial03.cpp:(.text+0x36d): undefined reference to cv::approxPolyDP(cv::_InputArray const&, cv::_OutputArray const&, double, bool)' apps/tutorial03/CMakeFiles/tutorial03.dir/__/__/src/tutorial03.cpp.obj:tutorial03.cpp:(.text+0x740): undefined reference to cv::resize(cv::InputArray const&, cv::OutputArray const&, cv::Size, double, double, int)'
apps/tutorial03/CMakeFiles/tutorial03.dir///src/tutorial03.cpp.obj:tutorial03.cpp:(.text+0x7bb): undefined reference to cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' apps/tutorial03/CMakeFiles/tutorial03.dir/__/__/src/tutorial03.cpp.obj:tutorial03.cpp:(.text+0x911): undefined reference to cv::Mat::zeros(cv::Size, int)'
apps/tutorial03/CMakeFiles/tutorial03.dir///src/tutorial03.cpp.obj:tutorial03.cpp:(.text+0x9a7): undefined reference to cv::contourArea(cv::_InputArray const&, bool)' apps/tutorial03/CMakeFiles/tutorial03.dir/__/__/src/tutorial03.cpp.obj:tutorial03.cpp:(.text+0xa80): undefined reference to cv::drawContours(cv::_InputOutputArray const&, cv::InputArray const&, int, cv::Scalar const&, int, int, cv::InputArray const&, int, cv::Point)'
apps/tutorial03/CMakeFiles/tutorial03.dir///src/tutorial03.cpp.obj:tutorial03.cpp:(.text+0xb11): undefined reference to cv::resizeWindow(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int)' apps/tutorial03/CMakeFiles/tutorial03.dir/__/__/src/tutorial03.cpp.obj:tutorial03.cpp:(.text+0xb87): undefined reference to cv::imshow(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, cv::_InputArray const&)'
apps/tutorial03/CMakeFiles/tutorial03.dir///src/tutorial03.cpp.obj:tutorial03.cpp:(.text+0xbbe): undefined reference to cv::waitKey(int)' apps/tutorial03/CMakeFiles/tutorial03.dir/__/__/src/tutorial03.cpp.obj:tutorial03.cpp:(.text+0xc7b): undefined reference to cv::imwrite(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, cv::_InputArray const&, std::vector<int, std::allocator > const&)'
apps/tutorial03/CMakeFiles/tutorial03.dir///src/tutorial03.cpp.obj:tutorial03.cpp:(.text+0x12b9): undefined reference to cv::namedWindow(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)' apps/tutorial03/CMakeFiles/tutorial03.dir/__/__/src/tutorial03.cpp.obj:tutorial03.cpp:(.text$_ZN2cv3MatC1ERKS0_[_ZN2cv3MatC1ERKS0_]+0x17b): undefined reference to cv::Mat::copySize(cv::Mat const&)'
apps/tutorial03/CMakeFiles/tutorial03.dir///src/tutorial03.cpp.obj:tutorial03.cpp:(.text$_ZN2cv3MatC1EiiiPvy[_ZN2cv3MatC1EiiiPvy]+0x138): undefined reference to cv::error(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*, char const*, int)' apps/tutorial03/CMakeFiles/tutorial03.dir/__/__/src/tutorial03.cpp.obj:tutorial03.cpp:(.text$_ZN2cv3MatC1EiiiPvy[_ZN2cv3MatC1EiiiPvy]+0x20e): undefined reference to cv::error(int, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, char const*, char const*, int)'
apps/tutorial03/CMakeFiles/tutorial03.dir///src/tutorial03.cpp.obj:tutorial03.cpp:(.text$_ZN2cv3MatC1EiiiPvy[_ZN2cv3MatC1EiiiPvy]+0x28b): undefined reference to cv::Mat::updateContinuityFlag()' apps/tutorial03/CMakeFiles/tutorial03.dir/__/__/src/tutorial03.cpp.obj:tutorial03.cpp:(.text$_ZN2cv3MatD1Ev[_ZN2cv3MatD1Ev]+0x36): undefined reference to cv::fastFree(void*)'
apps/tutorial03/CMakeFiles/tutorial03.dir///src/tutorial03.cpp.obj:tutorial03.cpp:(.text$ZN2cv3MataSERKS0[ZN2cv3MataSERKS0]+0x10e): undefined reference to cv::Mat::copySize(cv::Mat const&)' apps/tutorial03/CMakeFiles/tutorial03.dir/__/__/src/tutorial03.cpp.obj:tutorial03.cpp:(.text$_ZN2cv3Mat7releaseEv[_ZN2cv3Mat7releaseEv]+0x48): undefined reference to cv::Mat::deallocate()'
collect2.exe: error: ld returned 1 exit status
[3/3] Linking CXX executable tests\all_tests.exe
FAILED: tests/all_tests.exe
cmd.exe /C "cd . && C:\SysGCC\mingw64\bin\c++.exe -D__STDC_CONSTANT_MACROS   tests/CMakeFiles/all_tests.dir/all_tests.cpp.obj tests/CMakeFiles/all_tests.dir/test_opencv.cpp.obj tests/CMakeFiles/all_tests.dir//src/fact.cpp.obj  -o tests\all_tests.exe -Wl,--out-implib,tests\liball_tests.dll.a -Wl,--major-image-version,0,--minor-image-version,0  C:/Workspace/vcpkg/installed/x64-windows/debug/lib/avcodec.lib  C:/Workspace/vcpkg/installed/x64-windows/debug/lib/avformat.lib  C:/Workspace/vcpkg/installed/x64-windows/debug/lib/avutil.lib  C:/Workspace/vcpkg/installed/x64-windows/debug/lib/avdevice.lib
C:/Workspace/vcpkg/installed/x64-windows/debug/lib/swscale.lib  C:/Workspace/vcpkg/installed/x64-windows/debug/lib/avfilter.lib  C:/Workspace/vcpkg/installed/x64-windows/debug/lib/avresample.lib  C:/Workspace/vcpkg/installed/x64-windows/debug/lib/swresample.lib  -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cmd.exe /C "cd /D C:\Workspace\ffmpeg-tutorial\build\tests && powershell -noprofile -executionpolicy Bypass -file C:/Workspace/vcpkg/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary C:/Workspace/ffmpeg-tutorial/build/tests/all_tests.exe -installedDir C:/Workspace/vcpkg/installed/x64-windows/bin -OutVariable out""
tests/CMakeFiles/all_tests.dir/test_opencv.cpp.obj:test_opencv.cpp:(.text$_ZN2cv3MatD1Ev[_ZN2cv3MatD1Ev]+0x36): undefined reference to cv::fastFree(void*)' tests/CMakeFiles/all_tests.dir/test_opencv.cpp.obj:test_opencv.cpp:(.text$_ZN2cv3Mat6createEiii[_ZN2cv3Mat6createEiii]+0x90): undefined reference to cv::Mat::create(int, int const*, int)'
tests/CMakeFiles/all_tests.dir/test_opencv.cpp.obj:test_opencv.cpp:(.text$_ZN2cv3Mat7releaseEv[_ZN2cv3Mat7releaseEv]+0x48): undefined reference to `cv::Mat::deallocate()'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

sample project is at https://github.com/guidebee/ffmpeg-tutorial
Expected behavior
Link installed library correctly

Failure logs
-(please attached failure logs)
Additional context
Add any other context about the problem here.

C:\Workspace\vcpkg\installed\x64-windows\debug\lib (master -> origin) λ vcpkg list catch2:x64-mingw                                   2.11.3           A modern, header-only test framework for unit te... catch2:x64-windows                                 2.11.1           A modern, header-only test framework for unit te... ffmpeg:x64-windows                                 4.2-6            a library to decode, encode, transcode, mux, dem... ffmpeg[avresample]:x64-windows                                      Libav audio resampling library support in ffmpeg hdf5:x64-windows                                   1.10.5-12        HDF5 is a data model, library, and file format f... hdf5[szip]:x64-windows                                              Build with szip hdf5[zlib]:x64-windows                                              Build with zlib libjpeg-turbo:x64-windows                          2.0.4            libjpeg-turbo is a JPEG image codec that uses SI... liblzma:x64-windows                                5.2.4-4          Compression library with an API similar to that ... libpng:x64-windows                                 1.6.37-6         libpng is a library implementing an interface fo... libwebp:x64-windows                                1.1.0            WebP codec: library to encode and decode images ... libwebp[nearlossless]:x64-windows                                   Enable near-lossless encoding libwebp[simd]:x64-windows                                           Enable any SIMD optimization. libwebp[unicode]:x64-windows                                        Build Unicode executables. (Adds definition UNIC... nlohmann-json:x64-windows                          3.7.3            JSON for Modern C++ opencv4:x64-windows                                4.1.1-3          computer vision library opencv4[contrib]:x64-windows                                        opencv_contrib module opencv4[dnn]:x64-windows                                            Enable dnn module opencv4[jpeg]:x64-windows                                           JPEG support for opencv opencv4[opengl]:x64-windows                                         opengl support for opencv opencv4[png]:x64-windows                                            PNG support for opencv opencv4[tiff]:x64-windows                                           TIFF support for opencv opencv4[webp]:x64-windows                                           WebP support for opencv opencv:x64-windows                                 4.1.1-1          Computer vision library opencv[contrib]:x64-windows                                         opencv_contrib module opencv[dnn]:x64-windows                                             Enable dnn module opencv[jpeg]:x64-windows                                            JPEG support for opencv opencv[opengl]:x64-windows                                          opengl support for opencv opencv[png]:x64-windows                                             PNG support for opencv opencv[tiff]:x64-windows                                            TIFF support for opencv opencv[webp]:x64-windows                                            WebP support for opencv opengl:x64-windows                                 0.0-5            Open Graphics Library (OpenGL)[3][4][5] is a cro... protobuf:x64-windows                               3.11.3           Protocol Buffers - Google's data interchange format sdl2:x64-mingw                                     2.0.10-3         Simple DirectMedia Layer is a cross-platform dev... sdl2:x64-windows                                   2.0.10-3         Simple DirectMedia Layer is a cross-platform dev... szip:x64-mingw                                     2.1.1-6          Szip compression software, providing lossless co... szip:x64-windows                                   2.1.1-6          Szip compression software, providing lossless co... tiff:x64-windows                                   4.0.10-8         A library that supports the manipulation of TIFF... zlib:x64-mingw                                     1.2.11-6         A compression library zlib:x64-windows                                   1.2.11-6         A compression library

Hi @guidebee
Thanks for posting this issue.
Could you please help confirm if you install them with powershell and also have run .\vcpkg integrate install before building?

@guidebee
Please let me know if you still have any concern about this.

Closing this issue due to no response.
Please feel free to reopen this if it is still a problem for you.

repo: microsoft/vcpkg


text:
[cgall] build failure

Host Environment

OS: Windows
Compiler: Visual Studio 2019 with clang-cl

To Reproduce
Steps to reproduce the behavior:
./vcpkg install cgal:x64-windows
Failure logs
Building package yasm-tool[core]:x64-windows...
CMake Error at scripts/cmake/vcpkg_fail_port_install.cmake:97 (message):
  The yasm-tool port is only intended to be built for x86 Windows
  Architecture 'x64' not supported by yasm-tool!
Call Stack (most recent call first):
  ports/yasm-tool/portfile.cmake:1 (vcpkg_fail_port_install)
  scripts/ports.cmake:142 (include)
Error: Building package yasm-tool: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: yasm-tool:x64-windows
  Vcpkg version: 2021-01-13-d67989bce1043b98092ac45996a8230a059a2d7e

Additional context
Some commit after 6537078e8 broke cgal:x64-windows.
Here's a successful build 9 hours ago:
https://ci.appveyor.com/project/acgetchell/cdt-plusplus/builds/38937799
And here's a failed build using commit 6b4754924 4 hours ago:
https://ci.appveyor.com/project/acgetchell/cdt-plusplus#L317
yasm-tool:x86-windows is required in order to build CGAL on Windows. You can see that it builds here:
https://ci.appveyor.com/project/acgetchell/cdt-plusplus/builds/38942915#L302
Via the old cgal build:
https://ci.appveyor.com/project/acgetchell/cdt-plusplus/builds/38937799#L225
But now instead of yasm-tool-helper:x64-windows:
https://ci.appveyor.com/project/acgetchell/cdt-plusplus/builds/38937799#L1046
It tries to build yasm-tool:x64-windows, which fails.
https://ci.appveyor.com/project/acgetchell/cdt-plusplus/builds/38942915#L1140
Perhaps commit https://github.com/microsoft/vcpkg/commit/c6f8dbac62fe769fe754ed59f6101896c4902512 broke it?

Pinning vcpkg to https://github.com/microsoft/vcpkg/commit/56c0313c4b46eb3d25e62d27b3986ed2ac557902 (which is the commit before https://github.com/microsoft/vcpkg/commit/c6f8dbac62fe769fe754ed59f6101896c4902512) fixes the issue:
https://ci.appveyor.com/project/acgetchell/cdt-plusplus/builds/38944944

Confirmed. Pinning vcpkg to https://github.com/microsoft/vcpkg/commit/c6f8dbac62fe769fe754ed59f6101896c4902512  breaks cgal:x64-windows:
https://ci.appveyor.com/project/acgetchell/cdt-plusplus/builds/38945066#L1064

And reverting the commit fixes it again:
https://ci.appveyor.com/project/acgetchell/cdt-plusplus/builds/38945090

cc @xandox

Please track this issue in https://github.com/microsoft/vcpkg/issues/17627.

source: gharchive/issue

authors: JackBoosY acgetchell

license: MIT

license_type: permissive

license_source: github-api


text:
vcpkg bails finding VS BuildTools in windows docker container

Describe the bug
This is a bug I have only ever encountered in this container. My CI instances using the VS buildtools without using docker are fine.
Using the Dockerfile for a Windows container with MSVC-2022 inside. (dervived from https://docs.microsoft.com/en-us/visualstudio/install/build-tools-container?view=vs-2022)
# escape=`

# Use the latest Windows Server Core 2019 image.
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019

# Restore the default Windows shell for correct batch processing.
SHELL ["cmd", "/S", "/C"]

RUN `
    # Download the Build Tools bootstrapper.
    curl -SL --output vs_buildtools.exe https://aka.ms/vs/17/release/vs_buildtools.exe `
    `
    # Install Build Tools with the Microsoft.VisualStudio.Workload.AzureBuildTools workload, excluding workloads and components with known issues.
    && (start /w vs_buildtools.exe --quiet --wait --norestart --nocache `
        --installPath "%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools" `
        --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended `
        --add Microsoft.VisualStudio.Workload.MSBuildTools `
        || IF "%ERRORLEVEL%"=="3010" EXIT 0) `
    `
    # Cleanup
    && del /q vs_buildtools.exe

# Define the entry point for the docker container.
# This entry point starts the developer command prompt and launches the PowerShell shell.
ENTRYPOINT ["C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\Common7\\Tools\\VsDevCmd.bat", "&&", "powershell.exe", "-NoLogo", "-ExecutionPolicy", "Bypass"]

Launching the container and running
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.bat
./vcpkg install libpng

results in
Additional packages (*) will be modified to complete this operation.
error: in triplet x64-windows: Unable to find a valid Visual Studio instance
Could not locate a complete Visual Studio instance
The following paths were examined for Visual Studio instances:
    C:\Program Files (x86)\Microsoft Visual Studio\2022\TestAgent\VC\Auxiliary/Build\vcvarsall.bat

which is weird because based on https://github.com/microsoft/vcpkg-tool/blob/main/src/vcpkg/visualstudio.cpp
it should try to iterate all copies returned from vswhere which includes a BuildTools instance
There is a vcvarsall.bat in the BuildTools folder as expected instead of TestAgent
    Directory: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----        7/12/2022  11:54 PM             13 Microsoft.VCRedistVersion.default.txt
-a----        7/12/2022  11:54 PM            401 Microsoft.VCToolsVersion.default.props
-a----        7/12/2022  11:54 PM             13 Microsoft.VCToolsVersion.default.txt
-a----        7/12/2022  11:54 PM            401 Microsoft.VCToolsVersion.v143.default.props
-a----        7/12/2022  11:54 PM             13 Microsoft.VCToolsVersion.v143.default.txt
-a----        7/12/2022  11:54 PM             39 vcvars32.bat
-a----        7/12/2022  11:55 PM             39 vcvars64.bat
-a----        7/12/2022  11:54 PM          10524 vcvarsall.bat
-a----        7/12/2022  11:55 PM             43 vcvarsamd64_x86.bat
-a----        7/12/2022  11:54 PM             43 vcvarsx86_amd64.bat

Running
 .\vswhere -all -prerelease -legacy -products * -format xml

gets
<?xml version="1.0"?>
<instances>
  <instance>
    <instanceId>513d74af</instanceId>
    <installDate>2022-07-12T18:31:32Z</installDate>
    <installationName>VisualStudio/17.2.6+32630.192</installationName>
    <installationPath>C:\Program Files (x86)\Microsoft Visual Studio\2022\TestAgent</installationPath>
    <installationVersion>17.2.32630.192</installationVersion>
    <productId>Microsoft.VisualStudio.Product.TestAgent</productId>
    <productPath>C:\Program Files (x86)\Microsoft Visual Studio\2022\TestAgent\Common7\IDE\TestAgentConfigUI.exe</productPath>
    <state>4294967295</state>
    <isComplete>1</isComplete>
    <isLaunchable>1</isLaunchable>
    <isPrerelease>0</isPrerelease>
    <isRebootRequired>0</isRebootRequired>
    <displayName>Visual Studio Test Agent 2022</displayName>
    <description>Supports running automated tests and load tests remotely</description>
    <channelId>VisualStudio.17.Release</channelId>
    <channelUri>https://aka.ms/vs/17/release/channel</channelUri>
    <enginePath>C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service</enginePath>
    <installedChannelUri>https://aka.ms/vs/17/release/channel</installedChannelUri>
    <releaseNotes>https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.2#17.2.6</releaseNotes>
    <thirdPartyNotices>https://go.microsoft.com/fwlink/?LinkId=661288</thirdPartyNotices>
    <updateDate>2022-07-12T18:31:32.0255179Z</updateDate>
    <catalog>
      <buildBranch>d17.2</buildBranch>
      <buildVersion>17.2.32630.192</buildVersion>
      <id>VisualStudio/17.2.6+32630.192</id>
      <localBuild>build-lab</localBuild>
      <manifestName>VisualStudio</manifestName>
      <manifestType>installer</manifestType>
      <productDisplayVersion>17.2.6</productDisplayVersion>
      <productLine>Dev17</productLine>
      <productLineVersion>2022</productLineVersion>
      <productMilestone>RTW</productMilestone>
      <productMilestoneIsPreRelease>False</productMilestoneIsPreRelease>
      <productName>Visual Studio</productName>
      <productPatchVersion>6</productPatchVersion>
      <productPreReleaseMilestoneSuffix>1.0</productPreReleaseMilestoneSuffix>
      <productSemanticVersion>17.2.6+32630.192</productSemanticVersion>
      <requiredEngineVersion>3.2.2159.37022</requiredEngineVersion>
    </catalog>
    <properties>
      <campaignId></campaignId>
      <channelManifestId>VisualStudio.17.Release/17.2.6+32630.192</channelManifestId>
      <nickname></nickname>
      <setupEngineFilePath>C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe</setupEngineFilePath>
    </properties>
  </instance>
  <instance>
    <instanceId>c99d369f</instanceId>
    <installDate>2022-07-12T18:32:19Z</installDate>
    <installationName>VisualStudio/17.2.6+32630.192</installationName>
    <installationPath>C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools</installationPath>
    <installationVersion>17.2.32630.192</installationVersion>
    <productId>Microsoft.VisualStudio.Product.BuildTools</productId>
    <productPath>C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\Tools\LaunchDevCmd.bat</productPath>
    <state>4294967295</state>
    <isComplete>1</isComplete>
    <isLaunchable>1</isLaunchable>
    <isPrerelease>0</isPrerelease>
    <isRebootRequired>0</isRebootRequired>
    <displayName>Visual Studio Build Tools 2022</displayName>
    <description>The Visual Studio Build Tools allows you to build native and managed MSBuild-based applications without requiring the Visual Studio IDE. There are
options to install the Visual C++ compilers and libraries, MFC, ATL, and C++/CLI support.</description>
    <channelId>VisualStudio.17.Release</channelId>
    <channelUri>https://aka.ms/vs/17/release/channel</channelUri>
    <enginePath>C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service</enginePath>
    <installedChannelUri>https://aka.ms/vs/17/release/channel</installedChannelUri>
    <releaseNotes>https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.2#17.2.6</releaseNotes>
    <thirdPartyNotices>https://go.microsoft.com/fwlink/?LinkId=661288</thirdPartyNotices>
    <updateDate>2022-07-12T18:32:19.5820733Z</updateDate>
    <catalog>
      <buildBranch>d17.2</buildBranch>
      <buildVersion>17.2.32630.192</buildVersion>
      <id>VisualStudio/17.2.6+32630.192</id>
      <localBuild>build-lab</localBuild>
      <manifestName>VisualStudio</manifestName>
      <manifestType>installer</manifestType>
      <productDisplayVersion>17.2.6</productDisplayVersion>
      <productLine>Dev17</productLine>
      <productLineVersion>2022</productLineVersion>
      <productMilestone>RTW</productMilestone>
      <productMilestoneIsPreRelease>False</productMilestoneIsPreRelease>
      <productName>Visual Studio</productName>
      <productPatchVersion>6</productPatchVersion>
      <productPreReleaseMilestoneSuffix>1.0</productPreReleaseMilestoneSuffix>
      <productSemanticVersion>17.2.6+32630.192</productSemanticVersion>
      <requiredEngineVersion>3.2.2159.37022</requiredEngineVersion>
    </catalog>
    <properties>
      <campaignId></campaignId>
      <channelManifestId>VisualStudio.17.Release/17.2.6+32630.192</channelManifestId>
      <nickname>2</nickname>
      <setupEngineFilePath>C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe</setupEngineFilePath>
    </properties>
  </instance>
</instances>

Environment

OS: Windows LTSC 2019 Docker Image (mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019)
Compiler: MSVC 2022

PS C:\Users\ContainerAdministrator\vcpkg> .\vcpkg.exe version
vcpkg package management program version 2022-06-17-9268e366206712e38102b28dbd1617697a99ff2e

Woops, this is related to using mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 as the base image instead which has the VS Test Agent preinstalled. My image was simply adding the VC++ buildtools on top. Updated the description.

I ran into the same Issue - @marekr did you find a workaround in the meantime?

I ran into the same Issue - @marekr did you find a workaround in the meantime?

I simply changed my setup to avoid VS Test Agent being installed in the first place. There's just something wrong with vcpkg where it ends up finding it first and ignoring the real VS installs next to it

@marekr Can you elaborate on that? Did you chose another base image or find a smart way to remove the incomplete VS Test Agent?
I'm trying to build an C++ + vcpkg application inside a Windows Docker container and can not find a setup to make this work due to this bug. - And I suppose everyone trying to do the same is hitting the same wall while following the official documentation...

@marekr Can you elaborate on that? Did you chose another base image or find a smart way to remove the incomplete VS Test Agent?
I'm trying to build an C++ + vcpkg application inside a Windows Docker container and can not find a setup to make this work due to this bug. - And I suppose everyone trying to do the same is hitting the same wall while following the official documentation...

Yes, I used mcr.microsoft.com/windows/servercore:ltsc2019

Thank you, that worked for me as well

Glad there's a workaround but still seems like a valid bug with vcpkg in general though. Shouldn't we be able to tell vcpkg which install to use if there are multiple?

authors: BenediktRombach marekr thxkiwi


text:
[libiconv] Build error

Copy issue body from C:/Users/JCG9900/VCPKG/vcpkg/installed/vcpkg/issue_body.md
I am trying to install tesseract which requires libiconv. The problem is that it fails to download the files, although I am not behind a proxy.
Downloading https://repo.msys2.org/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz Downloading https://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz Downloading https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz Downloading https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz Downloading https://mirrors.ustc.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz Downloading https://mirror.bit.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz warning: Download failed -- retrying after 1000ms warning: Download failed -- retrying after 2000ms warning: Download failed -- retrying after 4000ms Downloading https://mirror.selfnet.de/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz Downloading https://mirrors.sjtug.sjtu.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz error: Failed to download from mirror set error: https://repo.msys2.org/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: failed: status code 404 error: https://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: failed: status code 404 error: https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: failed: status code 404 error: https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: failed: status code 404 error: https://mirrors.ustc.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: failed: status code 404 error: https://mirror.bit.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: WinHttpSendRequest failed with exit code 12007 error: https://mirror.bit.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: WinHttpSendRequest failed with exit code 12007 error: https://mirror.bit.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: WinHttpSendRequest failed with exit code 12007 error: https://mirror.bit.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: WinHttpSendRequest failed with exit code 12007 error: https://mirror.selfnet.de/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: failed: status code 404 error: https://mirrors.sjtug.sjtu.edu.cn/msys2/msys/x86_64/grep-3.0-2-x86_64.pkg.tar.xz: failed: status code 404
I tried some of theses links on a browser and there is nothing to download. Can someone give me a hint to get it fixed ?
Thanks

Thanks, really appreciate it, it did the job


text:
[libpqxx] Build error on x64-windows

Package: libpqxx:x64-windows@7.9.0
Host Environment

Host: x64-windows
Compiler: MSVC 19.40.33811.0
vcpkg-tool version: 2024-06-10-02590c430e4ed9215d27870138c2e579cc338772
vcpkg-scripts version: 94a50e8c1 2024-06-13 (7 hours ago)

To Reproduce
vcpkg install libpqxx
Failure logs
-- Using cached jtv-libpqxx-7.9.0.tar.gz.
-- Cleaning sources at D:/SDKs/vcpkg/buildtrees/libpqxx/src/7.9.0-eff3c4d31f.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/SDKs/vcpkg/downloads/jtv-libpqxx-7.9.0.tar.gz
-- Applying patch fix_build_with_vs2017.patch
-- Using source at D:/SDKs/vcpkg/buildtrees/libpqxx/src/7.9.0-eff3c4d31f.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
    Working Directory: D:/SDKs/vcpkg/buildtrees/libpqxx/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      D:\SDKs\vcpkg\buildtrees\libpqxx\config-x64-windows-dbg-CMakeCache.txt.log
      D:\SDKs\vcpkg\buildtrees\libpqxx\config-x64-windows-rel-CMakeCache.txt.log
      D:\SDKs\vcpkg\buildtrees\libpqxx\config-x64-windows-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:261 (vcpkg_execute_required_process)
  ports/libpqxx/portfile.cmake:14 (vcpkg_cmake_configure)
  scripts/ports.cmake:175 (include)

D:\SDKs\vcpkg\buildtrees\libpqxx\config-x64-windows-out.log
[1/2] "C:/Program Files/CMake/bin/cmake.exe" -E chdir ".." "C:/Program Files/CMake/bin/cmake.exe" "D:/SDKs/vcpkg/buildtrees/libpqxx/src/7.9.0-eff3c4d31f.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/SDKs/vcpkg/packages/libpqxx_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DSKIP_BUILD_TEST=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/SDKs/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/SDKs/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/SDKs/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/SDKs/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
FAILED: ../CMakeCache.txt
"C:/Program Files/CMake/bin/cmake.exe" -E chdir ".." "C:/Program Files/CMake/bin/cmake.exe" "D:/SDKs/vcpkg/buildtrees/libpqxx/src/7.9.0-eff3c4d31f.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/SDKs/vcpkg/packages/libpqxx_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DSKIP_BUILD_TEST=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/SDKs/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/SDKs/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/SDKs/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/SDKs/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
-- The CXX compiler identification is MSVC 19.40.33811.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at cmake/config.cmake:14 (include):
  include could not find requested file:

    CMakeDetermineCompileFeatures
Call Stack (most recent call first):
  CMakeLists.txt:27 (include)

-- Found PostgreSQL: optimized;D:/SDKs/vcpkg/installed/x64-windows/lib/libpq.lib;debug;D:/SDKs/vcpkg/installed/x64-windows/debug/lib/libpq.lib (found version "16.2")
-- Looking for poll
-- Looking for poll - not found
CMake Error at cmake/config.cmake:42 (cmake_determine_compile_features):
  Unknown CMake command "cmake_determine_compile_features".
Call Stack (most recent call first):
  CMakeLists.txt:27 (include)

-- Configuring incomplete, errors occurred!
[2/2] "C:/Program Files/CMake/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "C:/Program Files/CMake/bin/cmake.exe" "D:/SDKs/vcpkg/buildtrees/libpqxx/src/7.9.0-eff3c4d31f.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/SDKs/vcpkg/packages/libpqxx_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DSKIP_BUILD_TEST=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/SDKs/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/SDKs/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/SDKs/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/SDKs/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
FAILED: ../../x64-windows-dbg/CMakeCache.txt
"C:/Program Files/CMake/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "C:/Program Files/CMake/bin/cmake.exe" "D:/SDKs/vcpkg/buildtrees/libpqxx/src/7.9.0-eff3c4d31f.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/SDKs/vcpkg/packages/libpqxx_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DSKIP_BUILD_TEST=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/SDKs/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/SDKs/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/SDKs/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/SDKs/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
-- The CXX compiler identification is MSVC 19.40.33811.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at cmake/config.cmake:14 (include):
  include could not find requested file:

    CMakeDetermineCompileFeatures
Call Stack (most recent call first):
  CMakeLists.txt:27 (include)

-- Found PostgreSQL: D:/SDKs/vcpkg/installed/x64-windows/debug/lib/libpq.lib (found version "16.2")
-- Looking for poll
-- Looking for poll - not found
CMake Error at cmake/config.cmake:42 (cmake_determine_compile_features):
  Unknown CMake command "cmake_determine_compile_features".
Call Stack (most recent call first):
  CMakeLists.txt:27 (include)

-- Configuring incomplete, errors occurred!
ninja: build stopped: subcommand failed.

D:\SDKs\vcpkg\buildtrees\libpqxx\config-x64-windows-dbg-CMakeCache.txt.log
# This is the CMakeCache file.
# For build in directory: d:/SDKs/vcpkg/buildtrees/libpqxx/x64-windows-dbg
# It was generated by CMake: C:/Program Files/CMake/bin/cmake.exe
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################
# EXTERNAL cache entries
########################

//Build documentation
BUILD_DOC:BOOL=OFF

//No help, variable specified on the command line.
BUILD_SHARED_LIBS:UNINITIALIZED=ON

//Path to a program.
CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe

//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=Debug

CMAKE_CROSSCOMPILING:STRING=OFF

//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe

CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP '

CMAKE_CXX_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 '

//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG

CMAKE_CXX_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 '

//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG

//Libraries linked by default with all C++ applications.
CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib

CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP '

CMAKE_C_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 '

CMAKE_C_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 '

//No help, variable specified on the command line.
CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION:UNINITIALIZED=ON

//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64

//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/nologo    /debug /INCREMENTAL

//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO

CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF  '

//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL

//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=

//No help, variable specified on the command line.
CMAKE_EXPORT_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON

//No help, variable specified on the command line.
CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON

//No help, variable specified on the command line.
CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON

//Value Computed by CMake.
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=D:/SDKs/vcpkg/buildtrees/libpqxx/x64-windows-dbg/CMakeFiles/pkgRedirects

//No help, variable specified on the command line.
CMAKE_INSTALL_BINDIR:STRING=bin

//Read-only architecture-independent data (DATAROOTDIR)
CMAKE_INSTALL_DATADIR:PATH=

//Read-only architecture-independent data root (share)
CMAKE_INSTALL_DATAROOTDIR:PATH=share

//Documentation root (DATAROOTDIR/doc/PROJECT_NAME)
CMAKE_INSTALL_DOCDIR:PATH=

//C header files (include)
CMAKE_INSTALL_INCLUDEDIR:PATH=include

//Info documentation (DATAROOTDIR/info)
CMAKE_INSTALL_INFODIR:PATH=

//No help, variable specified on the command line.
CMAKE_INSTALL_LIBDIR:STRING=lib

//Program executables (libexec)
CMAKE_INSTALL_LIBEXECDIR:PATH=libexec

//Locale-dependent data (DATAROOTDIR/locale)
CMAKE_INSTALL_LOCALEDIR:PATH=

//Modifiable single-machine data (var)
CMAKE_INSTALL_LOCALSTATEDIR:PATH=var

//Man documentation (DATAROOTDIR/man)
CMAKE_INSTALL_MANDIR:PATH=

//C header files for non-gcc (/usr/include)
CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include

//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=D:/SDKs/vcpkg/packages/libpqxx_x64-windows/debug

//Run-time variable data (LOCALSTATEDIR/run)
CMAKE_INSTALL_RUNSTATEDIR:PATH=

//System admin executables (sbin)
CMAKE_INSTALL_SBINDIR:PATH=sbin

//Modifiable architecture-independent data (com)
CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com

//Read-only single-machine data (etc)
CMAKE_INSTALL_SYSCONFDIR:PATH=etc

//No help, variable specified on the command line.
CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE

//Path to a program.
CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe

//make program
CMAKE_MAKE_PROGRAM:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe

//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:x64

//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/nologo    /debug /INCREMENTAL

//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO

CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF  '

//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL

CMAKE_MSVC_RUNTIME_LIBRARY:STRING=MultiThreaded$<$<CONFIG:Debug>:Debug>$<$<STREQUAL:dynamic,dynamic>:DLL>

//Path to a program.
CMAKE_MT:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe

//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=libpqxx

//Value Computed by CMake
CMAKE_PROJECT_VERSION:STATIC=7.9.0

//Value Computed by CMake
CMAKE_PROJECT_VERSION_MAJOR:STATIC=7

//Value Computed by CMake
CMAKE_PROJECT_VERSION_MINOR:STATIC=9

//Value Computed by CMake
CMAKE_PROJECT_VERSION_PATCH:STATIC=0

//Value Computed by CMake
CMAKE_PROJECT_VERSION_TWEAK:STATIC=

//RC compiler
CMAKE_RC_COMPILER:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/rc.exe

CMAKE_RC_FLAGS:STRING=-c65001 /DWIN32

//Flags for Windows Resource Compiler during DEBUG builds.
CMAKE_RC_FLAGS_DEBUG:STRING=-D_DEBUG

//Flags for Windows Resource Compiler during MINSIZEREL builds.
CMAKE_RC_FLAGS_MINSIZEREL:STRING=

//Flags for Windows Resource Compiler during RELEASE builds.
CMAKE_RC_FLAGS_RELEASE:STRING=

//Flags for Windows Resource Compiler during RELWITHDEBINFO builds.
CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING=

//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=/machine:x64

//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/nologo    /debug /INCREMENTAL

//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO

CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF  '

//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL

//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO

//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO

//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=/machine:x64

//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=/nologo

//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=/nologo

//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=

CMAKE_SYSTEM_NAME:STRING=Windows

CMAKE_SYSTEM_PROCESSOR:STRING=AMD64

CMAKE_SYSTEM_VERSION:STRING=10.0.19045

//The CMake toolchain file
CMAKE_TOOLCHAIN_FILE:FILEPATH=D:/SDKs/vcpkg/scripts/buildsystems/vcpkg.cmake

//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make.  This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=ON

//No help, variable specified on the command line.
FETCHCONTENT_FULLY_DISCONNECTED:UNINITIALIZED=ON

//The Set the PostgreSQL_INCLUDE_DIR cmake cache entry to the top-level
// directory containing the PostgreSQL include directories. E.g
// /usr/local/include/PostgreSQL/8.4 or C:/Program Files/PostgreSQL/8.4/include
PostgreSQL_INCLUDE_DIR:PATH=D:/SDKs/vcpkg/installed/x64-windows/include

//Path to a library.
PostgreSQL_LIBRARY_DEBUG:FILEPATH=D:/SDKs/vcpkg/installed/x64-windows/debug/lib/libpq.lib

//The Set the PostgreSQL_LIBRARY_DIR cmake cache entry to the top-level
// directory containing the PostgreSQL libraries.
PostgreSQL_LIBRARY_RELEASE:FILEPATH=D:/SDKs/vcpkg/installed/x64-windows/debug/lib/libpq.lib

//The Set the PostgreSQL_INCLUDE_DIR cmake cache entry to the top-level
// directory containing the PostgreSQL include directories. E.g
// /usr/local/include/PostgreSQL/8.4 or C:/Program Files/PostgreSQL/8.4/include
PostgreSQL_TYPE_INCLUDE_DIR:PATH=D:/SDKs/vcpkg/installed/x64-windows/include/server

//No help, variable specified on the command line.
SKIP_BUILD_TEST:UNINITIALIZED=ON

//Automatically copy dependencies into the output directory for
// executables.
VCPKG_APPLOCAL_DEPS:BOOL=OFF

//No help, variable specified on the command line.
VCPKG_CHAINLOAD_TOOLCHAIN_FILE:UNINITIALIZED=D:/SDKs/vcpkg/scripts/toolchains/windows.cmake

//No help, variable specified on the command line.
VCPKG_CRT_LINKAGE:UNINITIALIZED=dynamic

//No help, variable specified on the command line.
VCPKG_CXX_FLAGS:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_CXX_FLAGS_DEBUG:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_CXX_FLAGS_RELEASE:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_C_FLAGS:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_C_FLAGS_DEBUG:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_C_FLAGS_RELEASE:UNINITIALIZED=

//The directory which contains the installed libraries for each
// triplet
VCPKG_INSTALLED_DIR:PATH=D:/SDKs/vcpkg/installed

//No help, variable specified on the command line.
VCPKG_LINKER_FLAGS:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_LINKER_FLAGS_DEBUG:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_LINKER_FLAGS_RELEASE:UNINITIALIZED=

//The path to the vcpkg manifest directory.
VCPKG_MANIFEST_DIR:PATH=

//Use manifest mode, as opposed to classic mode.
VCPKG_MANIFEST_MODE:BOOL=OFF

//No help, variable specified on the command line.
VCPKG_PLATFORM_TOOLSET:UNINITIALIZED=v143

//Appends the vcpkg paths to CMAKE_PREFIX_PATH, CMAKE_LIBRARY_PATH
// and CMAKE_FIND_ROOT_PATH so that vcpkg libraries/packages are
// found after toolchain/system libraries/packages.
VCPKG_PREFER_SYSTEM_LIBS:BOOL=OFF

//Enable the setup of CMAKE_PROGRAM_PATH to vcpkg paths
VCPKG_SETUP_CMAKE_PROGRAM_PATH:BOOL=ON

//No help, variable specified on the command line.
VCPKG_SET_CHARSET_FLAG:UNINITIALIZED=ON

//No help, variable specified on the command line.
VCPKG_TARGET_ARCHITECTURE:UNINITIALIZED=x64

//Vcpkg target triplet (ex. x86-windows)
VCPKG_TARGET_TRIPLET:STRING=x64-windows

//Trace calls to find_package()
VCPKG_TRACE_FIND_PACKAGE:BOOL=OFF

//Enables messages from the VCPKG toolchain for debugging purposes.
VCPKG_VERBOSE:BOOL=OFF

//(experimental) Automatically copy dependencies into the install
// target directory for executables. Requires CMake 3.14.
X_VCPKG_APPLOCAL_DEPS_INSTALL:BOOL=OFF

//(experimental) Add USES_TERMINAL to VCPKG_APPLOCAL_DEPS to force
// serialization.
X_VCPKG_APPLOCAL_DEPS_SERIALIZED:BOOL=OFF

//The directory which contains the installed libraries for each
// triplet
_VCPKG_INSTALLED_DIR:PATH=D:/SDKs/vcpkg/installed

//No help, variable specified on the command line.
_VCPKG_ROOT_DIR:UNINITIALIZED=D:/SDKs/vcpkg

//Value Computed by CMake
libpqxx_BINARY_DIR:STATIC=D:/SDKs/vcpkg/buildtrees/libpqxx/x64-windows-dbg

//Value Computed by CMake
libpqxx_IS_TOP_LEVEL:STATIC=ON

//Value Computed by CMake
libpqxx_SOURCE_DIR:STATIC=D:/SDKs/vcpkg/buildtrees/libpqxx/src/7.9.0-eff3c4d31f.clean

########################
# INTERNAL cache entries
########################

//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=d:/SDKs/vcpkg/buildtrees/libpqxx/x64-windows-dbg
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=30
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=0
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cmake.exe
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cpack.exe
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=C:/Program Files/CMake/bin/ctest.exe
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES
CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cmake-gui.exe
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Ninja
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=D:/SDKs/vcpkg/buildtrees/libpqxx/src/7.9.0-eff3c4d31f.clean
//ADVANCED property for variable: CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATADIR
CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR
CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR
CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INFODIR
CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR
CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_MANDIR
CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR
CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR
CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR
CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MT
CMAKE_MT-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//noop for ranlib
CMAKE_RANLIB:INTERNAL=:
//ADVANCED property for variable: CMAKE_RC_COMPILER
CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1
CMAKE_RC_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS
CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG
CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL
CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE
CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO
CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=C:/Program Files/CMake/share/cmake-3.30
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_TOOLCHAIN_FILE
CMAKE_TOOLCHAIN_FILE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Details about finding PostgreSQL
FIND_PACKAGE_MESSAGE_DETAILS_PostgreSQL:INTERNAL=[D:/SDKs/vcpkg/installed/x64-windows/debug/lib/libpq.lib][D:/SDKs/vcpkg/installed/x64-windows/include][c ][v16.2()]
//Have function poll
PQXX_HAVE_POLL:INTERNAL=
//ADVANCED property for variable: PostgreSQL_INCLUDE_DIR
PostgreSQL_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PostgreSQL_LIBRARY_DEBUG
PostgreSQL_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PostgreSQL_LIBRARY_RELEASE
PostgreSQL_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PostgreSQL_TYPE_INCLUDE_DIR
PostgreSQL_TYPE_INCLUDE_DIR-ADVANCED:INTERNAL=1
//Install the dependencies listed in your manifest:
//\n    If this is off, you will have to manually install your dependencies.
//\n    See https://github.com/microsoft/vcpkg/tree/master/docs/specifications/manifests.md
// for more info.
//\n
VCPKG_MANIFEST_INSTALL:INTERNAL=OFF
//ADVANCED property for variable: VCPKG_VERBOSE
VCPKG_VERBOSE-ADVANCED:INTERNAL=1
//Making sure VCPKG_MANIFEST_MODE doesn't change
Z_VCPKG_CHECK_MANIFEST_MODE:INTERNAL=OFF
//Vcpkg root directory
Z_VCPKG_ROOT_DIR:INTERNAL=D:/SDKs/vcpkg
//CMAKE_INSTALL_PREFIX during last run
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=D:/SDKs/vcpkg/packages/libpqxx_x64-windows/debug

D:\SDKs\vcpkg\buildtrees\libpqxx\config-x64-windows-rel-CMakeCache.txt.log
# This is the CMakeCache file.
# For build in directory: d:/SDKs/vcpkg/buildtrees/libpqxx/x64-windows-rel
# It was generated by CMake: C:/Program Files/CMake/bin/cmake.exe
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################
# EXTERNAL cache entries
########################

//Build documentation
BUILD_DOC:BOOL=OFF

//No help, variable specified on the command line.
BUILD_SHARED_LIBS:UNINITIALIZED=ON

//Path to a program.
CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/lib.exe

//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=Release

CMAKE_CROSSCOMPILING:STRING=OFF

//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe

CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP '

CMAKE_CXX_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 '

//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG

CMAKE_CXX_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 '

//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG

//Libraries linked by default with all C++ applications.
CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib

CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP '

CMAKE_C_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 '

CMAKE_C_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 '

//No help, variable specified on the command line.
CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION:UNINITIALIZED=ON

//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64

//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/nologo    /debug /INCREMENTAL

//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO

CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF  '

//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL

//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=

//No help, variable specified on the command line.
CMAKE_EXPORT_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON

//No help, variable specified on the command line.
CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON

//No help, variable specified on the command line.
CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON

//Value Computed by CMake.
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=D:/SDKs/vcpkg/buildtrees/libpqxx/x64-windows-rel/CMakeFiles/pkgRedirects

//No help, variable specified on the command line.
CMAKE_INSTALL_BINDIR:STRING=bin

//Read-only architecture-independent data (DATAROOTDIR)
CMAKE_INSTALL_DATADIR:PATH=

//Read-only architecture-independent data root (share)
CMAKE_INSTALL_DATAROOTDIR:PATH=share

//Documentation root (DATAROOTDIR/doc/PROJECT_NAME)
CMAKE_INSTALL_DOCDIR:PATH=

//C header files (include)
CMAKE_INSTALL_INCLUDEDIR:PATH=include

//Info documentation (DATAROOTDIR/info)
CMAKE_INSTALL_INFODIR:PATH=

//No help, variable specified on the command line.
CMAKE_INSTALL_LIBDIR:STRING=lib

//Program executables (libexec)
CMAKE_INSTALL_LIBEXECDIR:PATH=libexec

//Locale-dependent data (DATAROOTDIR/locale)
CMAKE_INSTALL_LOCALEDIR:PATH=

//Modifiable single-machine data (var)
CMAKE_INSTALL_LOCALSTATEDIR:PATH=var

//Man documentation (DATAROOTDIR/man)
CMAKE_INSTALL_MANDIR:PATH=

//C header files for non-gcc (/usr/include)
CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include

//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=D:/SDKs/vcpkg/packages/libpqxx_x64-windows

//Run-time variable data (LOCALSTATEDIR/run)
CMAKE_INSTALL_RUNSTATEDIR:PATH=

//System admin executables (sbin)
CMAKE_INSTALL_SBINDIR:PATH=sbin

//Modifiable architecture-independent data (com)
CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com

//Read-only single-machine data (etc)
CMAKE_INSTALL_SYSCONFDIR:PATH=etc

//No help, variable specified on the command line.
CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE

//Path to a program.
CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/link.exe

//make program
CMAKE_MAKE_PROGRAM:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe

//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:x64

//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/nologo    /debug /INCREMENTAL

//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO

CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF  '

//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL

CMAKE_MSVC_RUNTIME_LIBRARY:STRING=MultiThreaded$<$<CONFIG:Debug>:Debug>$<$<STREQUAL:dynamic,dynamic>:DLL>

//Path to a program.
CMAKE_MT:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe

//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=libpqxx

//Value Computed by CMake
CMAKE_PROJECT_VERSION:STATIC=7.9.0

//Value Computed by CMake
CMAKE_PROJECT_VERSION_MAJOR:STATIC=7

//Value Computed by CMake
CMAKE_PROJECT_VERSION_MINOR:STATIC=9

//Value Computed by CMake
CMAKE_PROJECT_VERSION_PATCH:STATIC=0

//Value Computed by CMake
CMAKE_PROJECT_VERSION_TWEAK:STATIC=

//RC compiler
CMAKE_RC_COMPILER:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/rc.exe

CMAKE_RC_FLAGS:STRING=-c65001 /DWIN32

//Flags for Windows Resource Compiler during DEBUG builds.
CMAKE_RC_FLAGS_DEBUG:STRING=-D_DEBUG

//Flags for Windows Resource Compiler during MINSIZEREL builds.
CMAKE_RC_FLAGS_MINSIZEREL:STRING=

//Flags for Windows Resource Compiler during RELEASE builds.
CMAKE_RC_FLAGS_RELEASE:STRING=

//Flags for Windows Resource Compiler during RELWITHDEBINFO builds.
CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING=

//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=/machine:x64

//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/nologo    /debug /INCREMENTAL

//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO

CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF  '

//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL

//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO

//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO

//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=/machine:x64

//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=/nologo

//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=/nologo

//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=

CMAKE_SYSTEM_NAME:STRING=Windows

CMAKE_SYSTEM_PROCESSOR:STRING=AMD64

CMAKE_SYSTEM_VERSION:STRING=10.0.19045

//The CMake toolchain file
CMAKE_TOOLCHAIN_FILE:FILEPATH=D:/SDKs/vcpkg/scripts/buildsystems/vcpkg.cmake

//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make.  This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=ON

//No help, variable specified on the command line.
FETCHCONTENT_FULLY_DISCONNECTED:UNINITIALIZED=ON

//The Set the PostgreSQL_INCLUDE_DIR cmake cache entry to the top-level
// directory containing the PostgreSQL include directories. E.g
// /usr/local/include/PostgreSQL/8.4 or C:/Program Files/PostgreSQL/8.4/include
PostgreSQL_INCLUDE_DIR:PATH=D:/SDKs/vcpkg/installed/x64-windows/include

//Path to a library.
PostgreSQL_LIBRARY_DEBUG:FILEPATH=D:/SDKs/vcpkg/installed/x64-windows/debug/lib/libpq.lib

//The Set the PostgreSQL_LIBRARY_DIR cmake cache entry to the top-level
// directory containing the PostgreSQL libraries.
PostgreSQL_LIBRARY_RELEASE:FILEPATH=D:/SDKs/vcpkg/installed/x64-windows/lib/libpq.lib

//The Set the PostgreSQL_INCLUDE_DIR cmake cache entry to the top-level
// directory containing the PostgreSQL include directories. E.g
// /usr/local/include/PostgreSQL/8.4 or C:/Program Files/PostgreSQL/8.4/include
PostgreSQL_TYPE_INCLUDE_DIR:PATH=D:/SDKs/vcpkg/installed/x64-windows/include/server

//No help, variable specified on the command line.
SKIP_BUILD_TEST:UNINITIALIZED=ON

//Automatically copy dependencies into the output directory for
// executables.
VCPKG_APPLOCAL_DEPS:BOOL=OFF

//No help, variable specified on the command line.
VCPKG_CHAINLOAD_TOOLCHAIN_FILE:UNINITIALIZED=D:/SDKs/vcpkg/scripts/toolchains/windows.cmake

//No help, variable specified on the command line.
VCPKG_CRT_LINKAGE:UNINITIALIZED=dynamic

//No help, variable specified on the command line.
VCPKG_CXX_FLAGS:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_CXX_FLAGS_DEBUG:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_CXX_FLAGS_RELEASE:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_C_FLAGS:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_C_FLAGS_DEBUG:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_C_FLAGS_RELEASE:UNINITIALIZED=

//The directory which contains the installed libraries for each
// triplet
VCPKG_INSTALLED_DIR:PATH=D:/SDKs/vcpkg/installed

//No help, variable specified on the command line.
VCPKG_LINKER_FLAGS:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_LINKER_FLAGS_DEBUG:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_LINKER_FLAGS_RELEASE:UNINITIALIZED=

//The path to the vcpkg manifest directory.
VCPKG_MANIFEST_DIR:PATH=

//Use manifest mode, as opposed to classic mode.
VCPKG_MANIFEST_MODE:BOOL=OFF

//No help, variable specified on the command line.
VCPKG_PLATFORM_TOOLSET:UNINITIALIZED=v143

//Appends the vcpkg paths to CMAKE_PREFIX_PATH, CMAKE_LIBRARY_PATH
// and CMAKE_FIND_ROOT_PATH so that vcpkg libraries/packages are
// found after toolchain/system libraries/packages.
VCPKG_PREFER_SYSTEM_LIBS:BOOL=OFF

//Enable the setup of CMAKE_PROGRAM_PATH to vcpkg paths
VCPKG_SETUP_CMAKE_PROGRAM_PATH:BOOL=ON

//No help, variable specified on the command line.
VCPKG_SET_CHARSET_FLAG:UNINITIALIZED=ON

//No help, variable specified on the command line.
VCPKG_TARGET_ARCHITECTURE:UNINITIALIZED=x64

//Vcpkg target triplet (ex. x86-windows)
VCPKG_TARGET_TRIPLET:STRING=x64-windows

//Trace calls to find_package()
VCPKG_TRACE_FIND_PACKAGE:BOOL=OFF

//Enables messages from the VCPKG toolchain for debugging purposes.
VCPKG_VERBOSE:BOOL=OFF

//(experimental) Automatically copy dependencies into the install
// target directory for executables. Requires CMake 3.14.
X_VCPKG_APPLOCAL_DEPS_INSTALL:BOOL=OFF

//(experimental) Add USES_TERMINAL to VCPKG_APPLOCAL_DEPS to force
// serialization.
X_VCPKG_APPLOCAL_DEPS_SERIALIZED:BOOL=OFF

//The directory which contains the installed libraries for each
// triplet
_VCPKG_INSTALLED_DIR:PATH=D:/SDKs/vcpkg/installed

//No help, variable specified on the command line.
_VCPKG_ROOT_DIR:UNINITIALIZED=D:/SDKs/vcpkg

//Value Computed by CMake
libpqxx_BINARY_DIR:STATIC=D:/SDKs/vcpkg/buildtrees/libpqxx/x64-windows-rel

//Value Computed by CMake
libpqxx_IS_TOP_LEVEL:STATIC=ON

//Value Computed by CMake
libpqxx_SOURCE_DIR:STATIC=D:/SDKs/vcpkg/buildtrees/libpqxx/src/7.9.0-eff3c4d31f.clean

########################
# INTERNAL cache entries
########################

//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=d:/SDKs/vcpkg/buildtrees/libpqxx/x64-windows-rel
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=30
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=0
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cmake.exe
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cpack.exe
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=C:/Program Files/CMake/bin/ctest.exe
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES
CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cmake-gui.exe
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Ninja
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=D:/SDKs/vcpkg/buildtrees/libpqxx/src/7.9.0-eff3c4d31f.clean
//ADVANCED property for variable: CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATADIR
CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR
CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR
CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INFODIR
CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR
CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_MANDIR
CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR
CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR
CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR
CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MT
CMAKE_MT-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//noop for ranlib
CMAKE_RANLIB:INTERNAL=:
//ADVANCED property for variable: CMAKE_RC_COMPILER
CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1
CMAKE_RC_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS
CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG
CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL
CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE
CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO
CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=C:/Program Files/CMake/share/cmake-3.30
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_TOOLCHAIN_FILE
CMAKE_TOOLCHAIN_FILE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Details about finding PostgreSQL
FIND_PACKAGE_MESSAGE_DETAILS_PostgreSQL:INTERNAL=[optimized;D:/SDKs/vcpkg/installed/x64-windows/lib/libpq.lib;debug;D:/SDKs/vcpkg/installed/x64-windows/debug/lib/libpq.lib][D:/SDKs/vcpkg/installed/x64-windows/include][c ][v16.2()]
//Have function poll
PQXX_HAVE_POLL:INTERNAL=
//ADVANCED property for variable: PostgreSQL_INCLUDE_DIR
PostgreSQL_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PostgreSQL_LIBRARY_DEBUG
PostgreSQL_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PostgreSQL_LIBRARY_RELEASE
PostgreSQL_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PostgreSQL_TYPE_INCLUDE_DIR
PostgreSQL_TYPE_INCLUDE_DIR-ADVANCED:INTERNAL=1
//Install the dependencies listed in your manifest:
//\n    If this is off, you will have to manually install your dependencies.
//\n    See https://github.com/microsoft/vcpkg/tree/master/docs/specifications/manifests.md
// for more info.
//\n
VCPKG_MANIFEST_INSTALL:INTERNAL=OFF
//ADVANCED property for variable: VCPKG_VERBOSE
VCPKG_VERBOSE-ADVANCED:INTERNAL=1
//Making sure VCPKG_MANIFEST_MODE doesn't change
Z_VCPKG_CHECK_MANIFEST_MODE:INTERNAL=OFF
//Vcpkg root directory
Z_VCPKG_ROOT_DIR:INTERNAL=D:/SDKs/vcpkg
//CMAKE_INSTALL_PREFIX during last run
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=D:/SDKs/vcpkg/packages/libpqxx_x64-windows

//Path to CMake installation.
CMAKE_ROOT:INTERNAL=C:/Program Files/CMake/share/cmake-3.30

I found that your cmake is 3.30.0, but since 3.30.0, cmake deleted CMakeDetermineCompileFeatures.cmake.
https://github.com/Kitware/CMake/blob/v3.29.5/Modules/CMakeDetermineCompileFeatures.cmake
https://github.com/Kitware/CMake/blob/v3.30.0-rc1/Modules/CMakeDetermineCompileFeatures.cmake

Good day MonicaLiu0311,
Thank you so so much for finding that.
That was it, I uninstalled cmake so that Visual Studio then used its own cmake and everything worked from there.
I appreciate your help so much; you saved me days of headaches.


text:
[qtbase] Misscompilation of QDnsLookup in 6.7.2

Describe the bug
Building a basic Qt application with the default triplet on x64 linux (static) results in a misscompiled QDnsLookup
https://codebrowser.dev/qt6/qtbase/src/network/kernel/qdnslookup_unix.cpp.html lists only libresolv - and is available on the system.
Environment

OS: Linux (Arch, but probably any other)
Compiler: gcc-14.1.1

To Reproduce

clone repro project https://github.com/sgoth/vcpkg-qtbase-dnslookup
build
cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake -B build
run ./build/dnsc

Should print a QHostAddress of an A record of www.github.com
Actually prints DNS lookup failed:  QDnsLookup::ResolverError
Running in gdb and breaking in QDnsLookupRunnable::query shows that src/network/kernel/qdnslookup_dummy.cpp is used.
Expected behavior
QDnsLookupRunnable::query should be from src/network/kernel/qdnslookup_unix.cpp
Additional context
Building the sample project against a system wide Qt works.
Explicitly linking to libresolv doesn't change anything (even done in the repro).

Please note the reduced feature set in the vcpkg.json

https://github.com/qt/qtbase/blob/dev/src/network/CMakeLists.txt#L249
Network CONDITION QT_FEATURE_dnslookup AND NOT QT_FEATURE_libresolv AND NOT WIN32
WrapResolv is disabled in the portfile. Feel free to make it a feature to control the dependency on libresolv.

Thanks, will give it a shot in the next days!

I guess it doesn't make sense to have a feature "libresolv" on the port level as that would be linux/unix only. So the more sensible approach would be to use "dnslookup" but that is currently default on and probably should stay that way.
Having the dummy code compiled in doesn't help at all and even hides the fact that QDnsLookup will not work instead of raising a compilation error (at least i assume that would happen with dnslookup being disabled).
That would make libresolv being a default dependency on linux. As that is part of glibc i'd guess that is ok - and can be explicitly disabled.
Does that make sense?

authors: Neumann-A sgoth


text:
mosquitto

cmake can not find mosquitto

Hi @zlinwei, can you provide more information? How did you use this port? And what information did you get?

find_package(mosquitto CONFIG REQUIRED)

then I got
CMake Error at /home/locate/vcpkg/scripts/buildsystems/vcpkg.cmake:266 (_find_package):
  Could not find a package configuration file provided by "mosquitto" with
  any of the following names:

    mosquittoConfig.cmake
    mosquitto-config.cmake

  Add the installation prefix of "mosquitto" to CMAKE_PREFIX_PATH or set
  "mosquitto_DIR" to a directory containing one of the above files.  If
  "mosquitto" provides a separate development package or SDK, be sure it has
  been installed.

So I had to specify the location of libmosquitto.so like this:
target_link_libraries(target path_to/vcpkg/installed/x64-linux/lib/libmosquitto.so)

ln -S path_to/vcpkg/installed/x64-linux/lib/libmosquitto.so path_to/vcpkg/installed/x64-linux/lib/mosquitto.so
?

ln -S path_to/vcpkg/installed/x64-linux/lib/libmosquitto.so path_to/vcpkg/installed/x64-linux/lib/mosquitto.so
?

If I use it on Windows, How should I do?

@zlinwei mklink /?

authors: Voskrese wangli28 zlinwei