microsoft / vcpkg

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

[vtk] build failure #33462

Closed Kasi closed 1 year ago

Kasi commented 1 year ago

Operating system

Windows11

Compiler

MSVC2019

Steps to reproduce the behavior

`1. To create a vcpkg.json in the current project, use manifest mode for this behavior.`
`2. The content of the vcpkg.json file is as follows.`
`
{
  "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
  "name": "my-application",
  "version": "0.1",
  "dependencies": [
    {
      "name": "vtk",
      "version>=": "8.2.0-10"
    },
    {
      "name": "pcl",
      "version>=": "1.11.0"
    }

  ],
  "overrides": [
    {
      "name": "vtk",
      "version": "8.2.0-10"
    },
    {
      "name": "pcl",
      "version": "1.11.0"
    }

  ],
  "builtin-baseline": "ebf90b95b170725379768b2de378d3af6f713bfd"
}
`

Failure logs

1> [CMake] 正在安装 1/95 个 vtk:x64-windows... 1> [CMake] 正在生成 vtk:x64-windows... 1> [CMake] -- 正从以下位置安装端口: D:\tools\vcpkg\buildtrees\versioning_\versions\vtk\c86b6b71ac054b399a9fcee6f8c54c9aa1c2eade 1> [CMake] CMake Warning at scripts/cmake/vcpkg_common_functions.cmake:3 (message): 1> [CMake] vcpkg_common_functions has been removed and all values are automatically 1> [CMake] provided in all portfile.cmake invocations. Please remove 1> [CMake] include(vcpkg_common_functions). 1> [CMake] Call Stack (most recent call first): 1> [CMake] buildtrees/versioning_/versions/vtk/c86b6b71ac054b399a9fcee6f8c54c9aa1c2eade/portfile.cmake:5 (include) 1> [CMake] scripts/ports.cmake:147 (include) 1> [CMake] CMake Deprecation Warning at scripts/cmake/vcpkg_check_features.cmake:44 (message): 1> [CMake] calling vcpkg_check_features without the FEATURES keyword has been 1> [CMake] deprecated. 1> [CMake] 1> [CMake] Please add the FEATURES keyword to the call. 1> [CMake] Call Stack (most recent call first): 1> [CMake] buildtrees/versioning_/versions/vtk/c86b6b71ac054b399a9fcee6f8c54c9aa1c2eade/portfile.cmake:11 (vcpkg_check_features) 1> [CMake] scripts/ports.cmake:147 (include) 1> [CMake] -- Using cached Kitware-VTK-v8.2.0.tar.gz. 1> [CMake] -- Cleaning sources at D:/tools/vcpkg/buildtrees/vtk/src/v8.2.0-88a4aed4d0.clean. Use --editable to skip cleaning for the packages you specify. 1> [CMake] -- Extracting source D:/tools/vcpkg/downloads/Kitware-VTK-v8.2.0.tar.gz 1> [CMake] -- Applying patch fix-find-lz4.patch 1> [CMake] -- Applying patch fix_ogg_linkage.patch 1> [CMake] -- Applying patch fix-pugixml-link.patch 1> [CMake] -- Applying patch hdf5_static.patch 1> [CMake] -- Applying patch fix-find-lzma.patch 1> [CMake] -- Applying patch fix-proj4.patch 1> [CMake] -- Applying patch fix-VTKConfig-cmake.patch 1> [CMake] -- Using source at D:/tools/vcpkg/buildtrees/vtk/src/v8.2.0-88a4aed4d0.clean 1> [CMake] -- Found external ninja('1.10.2'). 1> [CMake] -- Configuring x64-windows 1> [CMake] CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message): 1> [CMake] Command failed: D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe -v 1> [CMake] Working Directory: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/vcpkg-parallel-configure 1> [CMake] Error code: 1 1> [CMake] See logs for more information: 1> [CMake] D:\tools\vcpkg\buildtrees\vtk\config-x64-windows-dbg-CMakeCache.txt.log 1> [CMake] D:\tools\vcpkg\buildtrees\vtk\config-x64-windows-rel-CMakeCache.txt.log 1> [CMake] D:\tools\vcpkg\buildtrees\vtk\config-x64-windows-out.log 1> [CMake] 1> [CMake] Call Stack (most recent call first): 1> [CMake] scripts/cmake/vcpkg_configure_cmake.cmake:314 (vcpkg_execute_requiredprocess) 1> [CMake] buildtrees/versioning/versions/vtk/c86b6b71ac054b399a9fcee6f8c54c9aa1c2eade/portfile.cmake:92 (vcpkg_configure_cmake) 1> [CMake] scripts/ports.cmake:147 (include) 1> [CMake] 错误:生成 vtk:x64-windows 失败,结果为: BUILD_FAILED 1> [CMake] 处理 vtk:x64-windows 所用时间: 24 s 1> [CMake] 请确保使用具有“git pull” 和 “vcpkg update”的最新端口文件。 1> [CMake] 然后,在以下位置查看已知问题: 1> [CMake] https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+vtk 1> [CMake] 可在以下位置提交新问题: 1> [CMake] https://github.com/microsoft/vcpkg/issues/new?title=[vtk]+Build+error&body=Copy+issue+body+from+D%3A%2Fdata%2FprojectCode%2FCMakeProject2%2Fout%2Fbuild%2Fx64-Release%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md 1> [CMake] 1> [CMake] -- Running vcpkg install - failed 1> [CMake] CMake Error at D:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake:895 (message): 1> [CMake] vcpkg install failed. See logs for more information: 1> [CMake] D:\data\projectCode\CMakeProject2\out\build\x64-Release\vcpkg-manifest-install.log 1> [CMake] Call Stack (most recent call first): 1> [CMake] D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.20/Modules/CMakeDetermineSystem.cmake:123 (include) 1> [CMake] CMakeLists.txt:6 (project) 1> [CMake] -- Configuring incomplete, errors occurred! 1> “C:\WINDOWS\system32\cmd.exe”“/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "D:\VISUALSTUDIO2019\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" -DCMAKE_INSTALL_PREFIX:PATH="D:\data\projectCode\CMakeProject2\out\install\x64-Release" -DCMAKE_C_COMPILER:FILEPATH="D:/visualStudio2019/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe" -DCMAKE_CXX_COMPILER:FILEPATH="D:/visualStudio2019/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe" -DCMAKE_MAKE_PROGRAM="D:\VISUALSTUDIO2019\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" -DCMAKE_TOOLCHAIN_FILE="D:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake" "D:\data\projectCode\CMakeProject2" 2>&1"”执行失败,出现错误:““C:\WINDOWS\system32\cmd.exe”“/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "D:\VISUALSTUDIO2019\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" -DCMAKE_INSTALL_PREFIX:PATH="D:\data\projectCode\CMakeProject2\out\install\x64-Release" -DCMAKE_C_COMPILER:FILEPATH="D:/visualStudio2019/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe" -DCMAKE_CXX_COMPILER:FILEPATH="D:/visualStudio2019/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe" -DCMAKE_MAKE_PROGRAM="D:\VISUALSTUDIO2019\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" -DCMAKE_TOOLCHAIN_FILE="D:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake" "D:\data\projectCode\CMakeProject2" 2>&1"”已返回,并带有退出代码: 1”。

Additional context

config-x64-windows-out.log

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE
-- Performing Test VTK_UNDEFINED_SYMBOLS_ALLOWED - Failed -- Performing Test Support for 64 bit file systems -- Performing Test Support for 64 bit file systems - Failed -- Group StandAlone modules: vtkChartsCore;vtkCommonComputationalGeometry;vtkCommonCore;vtkCommonDataModel;vtkCommonExecutionModel;vtkCommonMisc;vtkCommonSystem;vtkCommonTransforms;vtkDomainsChemistry;vtkFiltersAMR;vtkFiltersCore;vtkFiltersExtraction;vtkFiltersFlowPaths;vtkFiltersGeneral;vtkFiltersGeneric;vtkFiltersGeometry;vtkFiltersHybrid;vtkFiltersHyperTree;vtkFiltersImaging;vtkFiltersModeling;vtkFiltersParallel;vtkFiltersParallelImaging;vtkFiltersPoints;vtkFiltersProgrammable;vtkFiltersSMP;vtkFiltersSelection;vtkFiltersSources;vtkFiltersStatistics;vtkFiltersTexture;vtkFiltersTopology;vtkFiltersVerdict;vtkIOAMR;vtkIOAsynchronous;vtkIOCityGML;vtkIOCore;vtkIOEnSight;vtkIOExodus;vtkIOGeometry;vtkIOImage;vtkIOImport;vtkIOInfovis;vtkIOLSDyna;vtkIOLegacy;vtkIOMINC;vtkIOMovie;vtkIONetCDF;vtkIOPLY;vtkIOParallel;vtkIOParallelXML;vtkIOSQL;vtkIOSegY;vtkIOTecplotTable;vtkIOVeraOut;vtkIOVideo;vtkIOXML;vtkIOXMLParser;vtkImagingColor;vtkImagingCore;vtkImagingFourier;vtkImagingGeneral;vtkImagingHybrid;vtkImagingMath;vtkImagingMorphological;vtkImagingSources;vtkImagingStatistics;vtkImagingStencil;vtkInfovisCore;vtkInfovisLayout;vtkParallelCore -- Group MPI modules: vtkDomainsParallelChemistry;vtkFiltersParallelGeometry;vtkFiltersParallelMPI;vtkFiltersParallelVerdict;vtkIOMPIImage;vtkIOMPIParallel;vtkIOParallelNetCDF;vtkParallelMPI -- Group Imaging modules: vtkFiltersImaging;vtkImagingColor;vtkImagingFourier;vtkImagingGeneral;vtkImagingHybrid;vtkImagingMath;vtkImagingMorphological;vtkImagingSources;vtkImagingStatistics;vtkImagingStencil;vtkInteractionImage;vtkRenderingImage -- Group Qt modules: vtkGUISupportQt;vtkGUISupportQtSQL;vtkRenderingQt;vtkViewsQt -- Group Rendering modules: vtkGeovisCore;vtkIOExport;vtkIOExportPDF;vtkInteractionImage;vtkInteractionStyle;vtkInteractionWidgets;vtkRenderingAnnotation;vtkRenderingContext2D;vtkRenderingCore;vtkRenderingFreeType;vtkRenderingImage;vtkRenderingLOD;vtkRenderingLabel;vtkRenderingVolume;vtkViewsContext2D;vtkViewsCore;vtkViewsInfovis -- Group Tk modules: vtkRenderingTk -- Group Views modules: vtkViewsContext2D;vtkViewsGeovis -- Group Web modules: vtkWebCore;vtkWebPython;vtkWebGLExporter -- Setting rendering backend to 'OpenGL2' as none was specified. -- Backend OpenGL2 modules: vtkDomainsChemistryOpenGL2;vtkIOExportOpenGL2;vtkImagingOpenGL2;vtkRenderingContextOpenGL2;vtkRenderingGL2PSOpenGL2;vtkRenderingLICOpenGL2;vtkRenderingOpenGL2;vtkRenderingOpenVR;vtkRenderingVolumeOpenGL2 -- Enabling modules for OpenGL2. CMake Deprecation Warning at Utilities/KWIML/vtkkwiml/CMakeLists.txt:20 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at Utilities/KWSys/vtksys/CMakeLists.txt:84 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- Checking whether header cstdio is available -- Checking whether header cstdio is available - yes -- Checking for Large File Support -- Checking for Large File Support - failed to compile -- Checking whether C++ compiler has 'long long' -- Checking whether C++ compiler has 'long long' - yes -- Checking whether C++ compiler has 'int64' -- Checking whether C++ compiler has 'int64' - yes -- Checking whether long and int64 are the same type -- Checking whether long and int64 are the same type - no -- Checking whether long long and int64 are the same type -- Checking whether long long and int64 are the same type - yes -- Checking whether wstring is available -- Checking whether wstring is available - yes -- Checking whether C compiler has ptrdiff_t in stddef.h -- Checking whether C compiler has ptrdiff_t in stddef.h - yes -- Checking whether C compiler has ssize_t in unistd.h -- Checking whether C compiler has ssize_t in unistd.h - no -- Checking whether C compiler has clock_gettime -- Checking whether C compiler has clock_gettime - no -- Checking whether CXX compiler has setenv -- Checking whether CXX compiler has setenv - no -- Checking whether CXX compiler has unsetenv -- Checking whether CXX compiler has unsetenv - no -- Checking whether CXX compiler has environ in stdlib.h -- Checking whether CXX compiler has environ in stdlib.h - yes -- Checking whether CXX compiler has utimes -- Checking whether CXX compiler has utimes - no -- Checking whether CXX compiler has utimensat -- Checking whether CXX compiler has utimensat - no -- Checking whether CXX compiler struct stat has st_mtim member -- Checking whether CXX compiler struct stat has st_mtim member - no -- Checking whether CXX compiler struct stat has st_mtimespec member -- Checking whether CXX compiler struct stat has st_mtimespec member - no -- Looking for include files sys/types.h, ifaddrs.h -- Looking for include files sys/types.h, ifaddrs.h - not found -- Looking for GetProcessMemoryInfo -- Looking for GetProcessMemoryInfo - found -- Checking whether CXX compiler has rlimit64 -- Checking whether CXX compiler has rlimit64 - no -- Checking whether CXX compiler has atol -- Checking whether CXX compiler has atol - yes -- Checking whether CXX compiler has atoll -- Checking whether CXX compiler has atoll - yes -- Checking whether CXX compiler has _atoi64 -- Checking whether CXX compiler has _atoi64 - yes -- Checking whether <ext/stdio_filebuf.h> is available -- Checking whether <ext/stdio_filebuf.h> is available - no -- Looking for InterlockedAdd -- Looking for InterlockedAdd - found -- Performing Test VTK_HAS_STD_ISNAN -- Performing Test VTK_HAS_STD_ISNAN - Success -- Performing Test VTK_HAS_STD_ISINF -- Performing Test VTK_HAS_STD_ISINF - Success -- Performing Test VTK_HAS_STD_ISFINITE -- Performing Test VTK_HAS_STD_ISFINITE - Success -- Looking for isnan -- Looking for isnan - found -- Looking for isinf -- Looking for isinf - found -- Looking for isfinite -- Looking for isfinite - found -- Looking for finite -- Looking for finite - not found -- Looking for fenv.h -- Looking for fenv.h - found -- Looking for feenableexcept -- Looking for feenableexcept - not found -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed -- Performing Test COMPILER_HAS_DEPRECATED -- Performing Test COMPILER_HAS_DEPRECATED - Success -- Looking for getsockname in socket -- Looking for getsockname in socket - not found -- Checking for getsockname with socklen_t -- Checking for getsockname with socklen_t -- 0 -- Looking for SO_REUSEADDR -- Looking for SO_REUSEADDR - not found -- Found Eigen3: D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/include/eigen3 (Required is at least version "2.91.0") -- Found ZLIB: optimized;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/lib/zlib.lib;debug;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/debug/lib/zlibd.lib (found version "1.2.13") -- Found Freetype: optimized;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/lib/freetype.lib;debug;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/debug/lib/freetyped.lib (found version "2.12.1") -- Found double-conversion: D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/include/double-conversion
-- Found LZ4: optimized;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/lib/lz4.lib;debug;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/debug/lib/lz4d.lib
-- Found LZMA: D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/debug/lib/lzma.lib
-- Found EXPAT: optimized;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/lib/libexpat.lib;debug;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/debug/lib/libexpatd.lib (found version "2.5.0") -- Found OpenGL: opengl32
CMake Deprecation Warning at ThirdParty/verdict/vtkverdict/CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- Found JPEG: optimized;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/lib/jpeg.lib;debug;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/debug/lib/jpeg.lib (found version "62") -- Found PNG: optimized;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/lib/libpng16.lib;debug;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/debug/lib/libpng16d.lib (found version "1.6.39") -- Found TIFF: optimized;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/lib/tiff.lib;debug;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/debug/lib/tiffd.lib (found version "4.5.1")
CMake Error at D:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake:855 (_find_package): Could not find a configuration file for package "PROJ4" that is compatible with requested version "6".

The following configuration files were considered but not accepted:

D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/share/proj4/proj4-config.cmake, version: 9.2.1

Call Stack (most recent call first): CMake/FindLibPROJ.cmake:8 (find_package) D:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake:855 (_find_package) CMake/vtkModuleMacros.cmake:891 (find_package) ThirdParty/libproj/CMakeLists.txt:1 (vtk_module_third_party)

-- Configuring incomplete, errors occurred! See also "D:/tools/vcpkg/buildtrees/vtk/x64-windows-dbg/CMakeFiles/CMakeOutput.log". See also "D:/tools/vcpkg/buildtrees/vtk/x64-windows-dbg/CMakeFiles/CMakeError.log". [2/2] "D:/tools/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" -E chdir ".." "D:/tools/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" "D:/tools/vcpkg/buildtrees/vtk/src/v8.2.0-88a4aed4d0.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/tools/vcpkg/packages/vtk_x64-windows" "-DVTK_WITH_QT=OFF" "-DVTK_Group_MPI=OFF" "-DVTK_WITH_PYTHON=OFF" "-DModule_vtkRenderingOpenVR=OFF" "-DModule_vtkGUISupportMFC=OFF" "-DBUILD_TESTING=OFF" "-DBUILD_EXAMPLES=OFF" "-DVTK_INSTALL_INCLUDE_DIR=include" "-DVTK_INSTALL_DATA_DIR=share/vtk/data" "-DVTK_INSTALL_DOC_DIR=share/vtk/doc" "-DVTK_INSTALL_PACKAGE_DIR=share/vtk" "-DVTK_INSTALL_RUNTIME_DIR=bin" "-DVTK_FORBID_DOWNLOADS=ON" "-DVTK_USE_SYSTEM_LIBRARIES=ON" "-DVTK_USE_SYSTEM_GL2PS=OFF" "-DVTK_Group_Imaging=ON" "-DVTK_Group_Views=ON" "-DPYTHON_EXECUTABLE=" "-DCMAKE_MAKE_PROGRAM=D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/tools/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-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:/tools/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:/tools/vcpkg" "-DZ_VCPKG_ROOT_DIR=D:/tools/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DPROJ_LIBRARY=D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/lib/proj.lib" FAILED: ../CMakeCache.txt "D:/tools/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" -E chdir ".." "D:/tools/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" "D:/tools/vcpkg/buildtrees/vtk/src/v8.2.0-88a4aed4d0.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/tools/vcpkg/packages/vtk_x64-windows" "-DVTK_WITH_QT=OFF" "-DVTK_Group_MPI=OFF" "-DVTK_WITH_PYTHON=OFF" "-DModule_vtkRenderingOpenVR=OFF" "-DModule_vtkGUISupportMFC=OFF" "-DBUILD_TESTING=OFF" "-DBUILD_EXAMPLES=OFF" "-DVTK_INSTALL_INCLUDE_DIR=include" "-DVTK_INSTALL_DATA_DIR=share/vtk/data" "-DVTK_INSTALL_DOC_DIR=share/vtk/doc" "-DVTK_INSTALL_PACKAGE_DIR=share/vtk" "-DVTK_INSTALL_RUNTIME_DIR=bin" "-DVTK_FORBID_DOWNLOADS=ON" "-DVTK_USE_SYSTEM_LIBRARIES=ON" "-DVTK_USE_SYSTEM_GL2PS=OFF" "-DVTK_Group_Imaging=ON" "-DVTK_Group_Views=ON" "-DPYTHON_EXECUTABLE=" "-DCMAKE_MAKE_PROGRAM=D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/tools/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-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:/tools/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:/tools/vcpkg" "-DZ_VCPKG_ROOT_DIR=D:/tools/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DPROJ_LIBRARY=D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/lib/proj.lib" -- The C compiler identification is MSVC 19.29.30151.0 -- The CXX compiler identification is MSVC 19.29.30151.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: D:/visualStudio2019/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: D:/visualStudio2019/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Warning (dev) at CMake/vtkCompilerPlatformFlags.cmake:125 (set): implicitly converting '20' to 'STRING' type. Call Stack (most recent call first): CMakeLists.txt:46 (include) This warning is for project developers. Use -Wno-dev to suppress it.

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE
-- Performing Test VTK_UNDEFINED_SYMBOLS_ALLOWED - Failed -- Performing Test Support for 64 bit file systems -- Performing Test Support for 64 bit file systems - Failed -- Group StandAlone modules: vtkChartsCore;vtkCommonComputationalGeometry;vtkCommonCore;vtkCommonDataModel;vtkCommonExecutionModel;vtkCommonMisc;vtkCommonSystem;vtkCommonTransforms;vtkDomainsChemistry;vtkFiltersAMR;vtkFiltersCore;vtkFiltersExtraction;vtkFiltersFlowPaths;vtkFiltersGeneral;vtkFiltersGeneric;vtkFiltersGeometry;vtkFiltersHybrid;vtkFiltersHyperTree;vtkFiltersImaging;vtkFiltersModeling;vtkFiltersParallel;vtkFiltersParallelImaging;vtkFiltersPoints;vtkFiltersProgrammable;vtkFiltersSMP;vtkFiltersSelection;vtkFiltersSources;vtkFiltersStatistics;vtkFiltersTexture;vtkFiltersTopology;vtkFiltersVerdict;vtkIOAMR;vtkIOAsynchronous;vtkIOCityGML;vtkIOCore;vtkIOEnSight;vtkIOExodus;vtkIOGeometry;vtkIOImage;vtkIOImport;vtkIOInfovis;vtkIOLSDyna;vtkIOLegacy;vtkIOMINC;vtkIOMovie;vtkIONetCDF;vtkIOPLY;vtkIOParallel;vtkIOParallelXML;vtkIOSQL;vtkIOSegY;vtkIOTecplotTable;vtkIOVeraOut;vtkIOVideo;vtkIOXML;vtkIOXMLParser;vtkImagingColor;vtkImagingCore;vtkImagingFourier;vtkImagingGeneral;vtkImagingHybrid;vtkImagingMath;vtkImagingMorphological;vtkImagingSources;vtkImagingStatistics;vtkImagingStencil;vtkInfovisCore;vtkInfovisLayout;vtkParallelCore -- Group MPI modules: vtkDomainsParallelChemistry;vtkFiltersParallelGeometry;vtkFiltersParallelMPI;vtkFiltersParallelVerdict;vtkIOMPIImage;vtkIOMPIParallel;vtkIOParallelNetCDF;vtkParallelMPI -- Group Imaging modules: vtkFiltersImaging;vtkImagingColor;vtkImagingFourier;vtkImagingGeneral;vtkImagingHybrid;vtkImagingMath;vtkImagingMorphological;vtkImagingSources;vtkImagingStatistics;vtkImagingStencil;vtkInteractionImage;vtkRenderingImage -- Group Qt modules: vtkGUISupportQt;vtkGUISupportQtSQL;vtkRenderingQt;vtkViewsQt -- Group Rendering modules: vtkGeovisCore;vtkIOExport;vtkIOExportPDF;vtkInteractionImage;vtkInteractionStyle;vtkInteractionWidgets;vtkRenderingAnnotation;vtkRenderingContext2D;vtkRenderingCore;vtkRenderingFreeType;vtkRenderingImage;vtkRenderingLOD;vtkRenderingLabel;vtkRenderingVolume;vtkViewsContext2D;vtkViewsCore;vtkViewsInfovis -- Group Tk modules: vtkRenderingTk -- Group Views modules: vtkViewsContext2D;vtkViewsGeovis -- Group Web modules: vtkWebCore;vtkWebPython;vtkWebGLExporter -- Setting rendering backend to 'OpenGL2' as none was specified. -- Backend OpenGL2 modules: vtkDomainsChemistryOpenGL2;vtkIOExportOpenGL2;vtkImagingOpenGL2;vtkRenderingContextOpenGL2;vtkRenderingGL2PSOpenGL2;vtkRenderingLICOpenGL2;vtkRenderingOpenGL2;vtkRenderingOpenVR;vtkRenderingVolumeOpenGL2 -- Enabling modules for OpenGL2. CMake Deprecation Warning at Utilities/KWIML/vtkkwiml/CMakeLists.txt:20 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at Utilities/KWSys/vtksys/CMakeLists.txt:84 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- Checking whether header cstdio is available -- Checking whether header cstdio is available - yes -- Checking for Large File Support -- Checking for Large File Support - failed to compile -- Checking whether C++ compiler has 'long long' -- Checking whether C++ compiler has 'long long' - yes -- Checking whether C++ compiler has 'int64' -- Checking whether C++ compiler has 'int64' - yes -- Checking whether long and int64 are the same type -- Checking whether long and int64 are the same type - no -- Checking whether long long and int64 are the same type -- Checking whether long long and int64 are the same type - yes -- Checking whether wstring is available -- Checking whether wstring is available - yes -- Checking whether C compiler has ptrdiff_t in stddef.h -- Checking whether C compiler has ptrdiff_t in stddef.h - yes -- Checking whether C compiler has ssize_t in unistd.h -- Checking whether C compiler has ssize_t in unistd.h - no -- Checking whether C compiler has clock_gettime -- Checking whether C compiler has clock_gettime - no -- Checking whether CXX compiler has setenv -- Checking whether CXX compiler has setenv - no -- Checking whether CXX compiler has unsetenv -- Checking whether CXX compiler has unsetenv - no -- Checking whether CXX compiler has environ in stdlib.h -- Checking whether CXX compiler has environ in stdlib.h - yes -- Checking whether CXX compiler has utimes -- Checking whether CXX compiler has utimes - no -- Checking whether CXX compiler has utimensat -- Checking whether CXX compiler has utimensat - no -- Checking whether CXX compiler struct stat has st_mtim member -- Checking whether CXX compiler struct stat has st_mtim member - no -- Checking whether CXX compiler struct stat has st_mtimespec member -- Checking whether CXX compiler struct stat has st_mtimespec member - no -- Looking for include files sys/types.h, ifaddrs.h -- Looking for include files sys/types.h, ifaddrs.h - not found -- Looking for GetProcessMemoryInfo -- Looking for GetProcessMemoryInfo - found -- Checking whether CXX compiler has rlimit64 -- Checking whether CXX compiler has rlimit64 - no -- Checking whether CXX compiler has atol -- Checking whether CXX compiler has atol - yes -- Checking whether CXX compiler has atoll -- Checking whether CXX compiler has atoll - yes -- Checking whether CXX compiler has _atoi64 -- Checking whether CXX compiler has _atoi64 - yes -- Checking whether <ext/stdio_filebuf.h> is available -- Checking whether <ext/stdio_filebuf.h> is available - no -- Looking for InterlockedAdd -- Looking for InterlockedAdd - found -- Performing Test VTK_HAS_STD_ISNAN -- Performing Test VTK_HAS_STD_ISNAN - Success -- Performing Test VTK_HAS_STD_ISINF -- Performing Test VTK_HAS_STD_ISINF - Success -- Performing Test VTK_HAS_STD_ISFINITE -- Performing Test VTK_HAS_STD_ISFINITE - Success -- Looking for isnan -- Looking for isnan - found -- Looking for isinf -- Looking for isinf - found -- Looking for isfinite -- Looking for isfinite - found -- Looking for finite -- Looking for finite - not found -- Looking for fenv.h -- Looking for fenv.h - found -- Looking for feenableexcept -- Looking for feenableexcept - not found -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed -- Performing Test COMPILER_HAS_DEPRECATED -- Performing Test COMPILER_HAS_DEPRECATED - Success -- Looking for getsockname in socket -- Looking for getsockname in socket - not found -- Checking for getsockname with socklen_t -- Checking for getsockname with socklen_t -- 0 -- Looking for SO_REUSEADDR -- Looking for SO_REUSEADDR - not found -- Found Eigen3: D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/include/eigen3 (Required is at least version "2.91.0") -- Found ZLIB: optimized;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/lib/zlib.lib;debug;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/debug/lib/zlibd.lib (found version "1.2.13") -- Found Freetype: optimized;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/lib/freetype.lib;debug;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/debug/lib/freetyped.lib (found version "2.12.1") -- Found double-conversion: D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/include/double-conversion
-- Found LZ4: optimized;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/lib/lz4.lib;debug;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/debug/lib/lz4d.lib
-- Found LZMA: D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/lib/lzma.lib
-- Found EXPAT: optimized;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/lib/libexpat.lib;debug;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/debug/lib/libexpatd.lib (found version "2.5.0") -- Found OpenGL: opengl32
CMake Deprecation Warning at ThirdParty/verdict/vtkverdict/CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- Found JPEG: optimized;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/lib/jpeg.lib;debug;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/debug/lib/jpeg.lib (found version "62") -- Found PNG: optimized;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/lib/libpng16.lib;debug;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/debug/lib/libpng16d.lib (found version "1.6.39") -- Found TIFF: optimized;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/lib/tiff.lib;debug;D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/debug/lib/tiffd.lib (found version "4.5.1")
CMake Error at D:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake:855 (_find_package): Could not find a configuration file for package "PROJ4" that is compatible with requested version "6".

The following configuration files were considered but not accepted:

D:/data/projectCode/CMakeProject2/out/build/x64-Release/vcpkg_installed/x64-windows/share/proj4/proj4-config.cmake, version: 9.2.1

Call Stack (most recent call first): CMake/FindLibPROJ.cmake:8 (find_package) D:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake:855 (_find_package) CMake/vtkModuleMacros.cmake:891 (find_package) ThirdParty/libproj/CMakeLists.txt:1 (vtk_module_third_party)

-- Configuring incomplete, errors occurred! See also "D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeOutput.log". See also "D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeError.log". ninja: build stopped: subcommand failed.

Kasi commented 1 year ago

CMakeError.log

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_d7526 && [1/2] Building C object CMakeFiles\cmTC_d7526.dir\src.c.obj FAILED: CMakeFiles/cmTC_d7526.dir/src.c.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo -DCMAKE_HAVE_LIBC_PTHREAD /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_d7526.dir\src.c.obj /FdCMakeFiles\cmTC_d7526.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeScratch\TryCompile-svvhf5\src.c D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeScratch\TryCompile-svvhf5\src.c(1): fatal error C1083: 无法打开包括文件: “pthread.h”: No such file or directory ninja: build stopped: subcommand failed.

Source file was:

include

static void test_func(void data) { return data; }

int main(void) { pthread_t thread; pthread_create(&thread, NULL, test_func, NULL); pthread_detach(thread); pthread_cancel(thread); pthread_join(thread, NULL); pthread_atfork(NULL, NULL, NULL); pthread_exit(NULL);

return 0; }

Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-5jwb9o

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_d8af0 && [1/2] Building C object CMakeFiles\cmTC_d8af0.dir\CheckFunctionExists.c.obj [2/2] Linking C executable cmTC_d8af0.exe FAILED: cmTC_d8af0.exe cmd.exe /C "cd . && D:\tools\vcpkg\downloads\tools\cmake-3.25.1-windows\cmake-3.25.1-windows-i386\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_d8af0.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests -- D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_d8af0.dir\CheckFunctionExists.c.obj /out:cmTC_d8af0.exe /implib:cmTC_d8af0.lib /pdb:cmTC_d8af0.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console pthreads.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." LINK Pass 1: command "D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_d8af0.dir\CheckFunctionExists.c.obj /out:cmTC_d8af0.exe /implib:cmTC_d8af0.lib /pdb:cmTC_d8af0.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console pthreads.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\cmTC_d8af0.dir/intermediate.manifest CMakeFiles\cmTC_d8af0.dir/manifest.res" failed (exit code 1104) with the following output: LINK : fatal error LNK1104: 无法打开文件“pthreads.lib” ninja: build stopped: subcommand failed.

Determining if the function pthread_create exists in the pthread failed with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-bmwrai

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_46caf && [1/2] Building C object CMakeFiles\cmTC_46caf.dir\CheckFunctionExists.c.obj [2/2] Linking C executable cmTC_46caf.exe FAILED: cmTC_46caf.exe cmd.exe /C "cd . && D:\tools\vcpkg\downloads\tools\cmake-3.25.1-windows\cmake-3.25.1-windows-i386\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_46caf.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests -- D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_46caf.dir\CheckFunctionExists.c.obj /out:cmTC_46caf.exe /implib:cmTC_46caf.lib /pdb:cmTC_46caf.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console pthread.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." LINK Pass 1: command "D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_46caf.dir\CheckFunctionExists.c.obj /out:cmTC_46caf.exe /implib:cmTC_46caf.lib /pdb:cmTC_46caf.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console pthread.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\cmTC_46caf.dir/intermediate.manifest CMakeFiles\cmTC_46caf.dir/manifest.res" failed (exit code 1104) with the following output: LINK : fatal error LNK1104: 无法打开文件“pthread.lib” ninja: build stopped: subcommand failed.

Performing Test VTK_UNDEFINED_SYMBOLS_ALLOWED failed with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-bmwrai

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_46caf && [1/2] Building C object CMakeFiles\cmTC_46caf.dir\CheckFunctionExists.c.obj [2/2] Linking C executable cmTC_46caf.exe FAILED: cmTC_46caf.exe cmd.exe /C "cd . && D:\tools\vcpkg\downloads\tools\cmake-3.25.1-windows\cmake-3.25.1-windows-i386\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_46caf.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests -- D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_46caf.dir\CheckFunctionExists.c.obj /out:cmTC_46caf.exe /implib:cmTC_46caf.lib /pdb:cmTC_46caf.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console pthread.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." LINK Pass 1: command "D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_46caf.dir\CheckFunctionExists.c.obj /out:cmTC_46caf.exe /implib:cmTC_46caf.lib /pdb:cmTC_46caf.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console pthread.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\cmTC_46caf.dir/intermediate.manifest CMakeFiles\cmTC_46caf.dir/manifest.res" failed (exit code 1104) with the following output: LINK : fatal error LNK1104: 无法打开文件“pthread.lib” ninja: build stopped: subcommand failed.

Performing C++ SOURCE FILE Test Support for 64 bit file systems failed with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_0e1f8 && [1/2] Building CXX object CMakeFiles\cmTC_0e1f8.dir\src.cxx.obj FAILED: CMakeFiles/cmTC_0e1f8.dir/src.cxx.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /EHsc /MP -DCMAKE_REQUIRE_LARGE_FILE_SUPPORT /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_0e1f8.dir\src.cxx.obj /FdCMakeFiles\cmTC_0e1f8.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeTmp\src.cxx D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeTmp\src.cxx(13): warning C4293: “<<”: Shift 计数为负或过大,其行为未定义 D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeTmp\src.cxx(13): warning C4127: 条件表达式是常量 D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeTmp\src.cxx(19): error C3861: “S_ISREG”: 找不到标识符 D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeTmp\src.cxx(23): error C3861: “ftello”: 找不到标识符 D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeTmp\src.cxx(22): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. ninja: build stopped: subcommand failed.

Source file was:

define _LARGEFILE_SOURCE

define _LARGE_FILES

define _FILE_OFFSET_BITS 64

include <sys/types.h>

include <sys/stat.h>

include

include

int main( int, char **argv ) { // check that off_t can hold 2^63 - 1 and perform basic operations...

define OFF_T_64 (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))

if (OFF_T_64 % 2147483647 != 1) return 1;

// stat breaks on SCO OpenServer struct stat buf; stat( argv[0], &buf ); if (!S_ISREG(buf.st_mode)) return 2;

FILE *file = fopen( argv[0], "r" ); off_t offset = ftello( file ); fseek( file, offset, SEEK_CUR ); fclose( file ); return 0; }

Checking for Large File Support failed to compile with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_9ef7e && [1/2] Building CXX object CMakeFiles\cmTC_9ef7e.dir\kwsysPlatformTestsCXX.cxx.obj FAILED: CMakeFiles/cmTC_9ef7e.dir/kwsysPlatformTestsCXX.cxx.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP -DKWSYS_CXX_HAS_CSTDIO=1 -DTEST_KWSYS_LFS_WORKS /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /EHsc /MP /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_9ef7e.dir\kwsysPlatformTestsCXX.cxx.obj /FdCMakeFiles\cmTC_9ef7e.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(158): warning C4293: “<<”: Shift 计数为负或过大,其行为未定义 D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(158): warning C4127: 条件表达式是常量 D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(164): error C3861: “S_ISREG”: 找不到标识符 D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(168): error C3861: “ftello”: 找不到标识符 D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(167): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. ninja: build stopped: subcommand failed.

Checking whether long and __int64 are the same type failed to compile with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_c781f && [1/2] Building CXX object CMakeFiles\cmTC_c781f.dir\kwsysPlatformTestsCXX.cxx.obj FAILED: CMakeFiles/cmTC_c781f.dir/kwsysPlatformTestsCXX.cxx.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP -DTEST_KWSYS_CXX_SAME_LONG_AND_INT64 /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /EHsc /MP /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_c781f.dir\kwsysPlatformTestsCXX.cxx.obj /FdCMakeFiles\cmTC_c781f.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(70): error C2664: “void function(long **)”: 无法将参数 1 从“int64 ”转换为“long ” D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(70): note: 与指向的类型无关;强制转换要求 reinterpret_cast、C 样式强制转换或函数样式强制转换 D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(64): note: 参见“function”的声明 ninja: build stopped: subcommand failed.

Checking whether C compiler has ssize_t in unistd.h failed to compile with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_1512d && [1/2] Building C object CMakeFiles\cmTC_1512d.dir\kwsysPlatformTestsC.c.obj FAILED: CMakeFiles/cmTC_1512d.dir/kwsysPlatformTestsC.c.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo -DTEST_KWSYS_C_HAS_SSIZE_T /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_1512d.dir\kwsysPlatformTestsC.c.obj /FdCMakeFiles\cmTC_1512d.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsC.c D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsC.c(46): fatal error C1083: 无法打开包括文件: “unistd.h”: No such file or directory ninja: build stopped: subcommand failed.

Checking whether C compiler has clock_gettime failed to compile with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_07e15 && [1/2] Building C object CMakeFiles\cmTC_07e15.dir\kwsysPlatformTestsC.c.obj FAILED: CMakeFiles/cmTC_07e15.dir/kwsysPlatformTestsC.c.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo -DTEST_KWSYS_C_HAS_CLOCK_GETTIME_MONOTONIC /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_07e15.dir\kwsysPlatformTestsC.c.obj /FdCMakeFiles\cmTC_07e15.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsC.c D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsC.c(69): warning C4013: “clock_gettime”未定义;假设外部返回 int D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsC.c(69): error C2065: “CLOCK_MONOTONIC”: 未声明的标识符 ninja: build stopped: subcommand failed.

Checking whether CXX compiler has setenv failed to compile with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_48330 && [1/2] Building CXX object CMakeFiles\cmTC_48330.dir\kwsysPlatformTestsCXX.cxx.obj FAILED: CMakeFiles/cmTC_48330.dir/kwsysPlatformTestsCXX.cxx.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP -DTEST_KWSYS_CXX_HAS_SETENV /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /EHsc /MP /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_48330.dir\kwsysPlatformTestsCXX.cxx.obj /FdCMakeFiles\cmTC_48330.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(179): error C3861: “setenv”: 找不到标识符 ninja: build stopped: subcommand failed.

Checking whether CXX compiler has unsetenv failed to compile with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_00ae0 && [1/2] Building CXX object CMakeFiles\cmTC_00ae0.dir\kwsysPlatformTestsCXX.cxx.obj FAILED: CMakeFiles/cmTC_00ae0.dir/kwsysPlatformTestsCXX.cxx.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP -DTEST_KWSYS_CXX_HAS_UNSETENV /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /EHsc /MP /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_00ae0.dir\kwsysPlatformTestsCXX.cxx.obj /FdCMakeFiles\cmTC_00ae0.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(187): error C3861: “unsetenv”: 找不到标识符 ninja: build stopped: subcommand failed.

Checking whether CXX compiler has utimes failed to compile with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_c387f && [1/2] Building CXX object CMakeFiles\cmTC_c387f.dir\kwsysPlatformTestsCXX.cxx.obj FAILED: CMakeFiles/cmTC_c387f.dir/kwsysPlatformTestsCXX.cxx.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP -DTEST_KWSYS_CXX_HAS_UTIMES /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /EHsc /MP /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_c387f.dir\kwsysPlatformTestsCXX.cxx.obj /FdCMakeFiles\cmTC_c387f.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(257): fatal error C1083: 无法打开包括文件: “sys/time.h”: No such file or directory ninja: build stopped: subcommand failed.

Checking whether CXX compiler has utimensat failed to compile with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_5fe53 && [1/2] Building CXX object CMakeFiles\cmTC_5fe53.dir\kwsysPlatformTestsCXX.cxx.obj FAILED: CMakeFiles/cmTC_5fe53.dir/kwsysPlatformTestsCXX.cxx.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP -DTEST_KWSYS_CXX_HAS_UTIMENSAT /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /EHsc /MP /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_5fe53.dir\kwsysPlatformTestsCXX.cxx.obj /FdCMakeFiles\cmTC_5fe53.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(276): error C2079: “times”使用未定义的 struct“main::timespec” D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(276): error C2065: “UTIME_OMIT”: 未声明的标识符 D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(276): error C2065: “UTIME_NOW”: 未声明的标识符 D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(276): error C2440: “初始化”: 无法从“initializer list”转换为“int” D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(276): note: 初始值设定项包含过多元素 D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(277): error C2065: “AT_FDCWD”: 未声明的标识符 D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(277): error C2065: “AT_SYMLINK_NOFOLLOW”: 未声明的标识符 D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(277): error C3861: “utimensat”: 找不到标识符 ninja: build stopped: subcommand failed.

Checking whether CXX compiler struct stat has st_mtim member failed to compile with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_f8b5a && [1/2] Building CXX object CMakeFiles\cmTC_f8b5a.dir\kwsysPlatformTestsCXX.cxx.obj FAILED: CMakeFiles/cmTC_f8b5a.dir/kwsysPlatformTestsCXX.cxx.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP -DTEST_KWSYS_CXX_STAT_HAS_ST_MTIM /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /EHsc /MP /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_f8b5a.dir\kwsysPlatformTestsCXX.cxx.obj /FdCMakeFiles\cmTC_f8b5a.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(39): fatal error C1083: 无法打开包括文件: “unistd.h”: No such file or directory ninja: build stopped: subcommand failed.

Checking whether CXX compiler struct stat has st_mtimespec member failed to compile with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_08188 && [1/2] Building CXX object CMakeFiles\cmTC_08188.dir\kwsysPlatformTestsCXX.cxx.obj FAILED: CMakeFiles/cmTC_08188.dir/kwsysPlatformTestsCXX.cxx.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP -DTEST_KWSYS_CXX_STAT_HAS_ST_MTIMESPEC /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /EHsc /MP /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_08188.dir\kwsysPlatformTestsCXX.cxx.obj /FdCMakeFiles\cmTC_08188.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(53): fatal error C1083: 无法打开包括文件: “unistd.h”: No such file or directory ninja: build stopped: subcommand failed.

Determining if files sys/types.h;ifaddrs.h exist failed with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-ehldvx

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_eab6e && [1/2] Building C object CMakeFiles\cmTC_eab6e.dir\KWSYS_SYS_HAS_IFADDRS_H.c.obj FAILED: CMakeFiles/cmTC_eab6e.dir/KWSYS_SYS_HAS_IFADDRS_H.c.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_eab6e.dir\KWSYS_SYS_HAS_IFADDRS_H.c.obj /FdCMakeFiles\cmTC_eab6e.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeScratch\TryCompile-ehldvx\KWSYS_SYS_HAS_IFADDRS_H.c D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeScratch\TryCompile-ehldvx\KWSYS_SYS_HAS_IFADDRS_H.c(3): fatal error C1083: 无法打开包括文件: “ifaddrs.h”: No such file or directory ninja: build stopped: subcommand failed.

Source: / /

include <sys/types.h>

include

int main(void){return 0;}

Checking whether CXX compiler has rlimit64 failed to compile with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_e8ff8 && [1/2] Building CXX object CMakeFiles\cmTC_e8ff8.dir\kwsysPlatformTestsCXX.cxx.obj FAILED: CMakeFiles/cmTC_e8ff8.dir/kwsysPlatformTestsCXX.cxx.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP -DTEST_KWSYS_CXX_HAS_RLIMIT64 /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /EHsc /MP /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_e8ff8.dir\kwsysPlatformTestsCXX.cxx.obj /FdCMakeFiles\cmTC_e8ff8.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(221): fatal error C1083: 无法打开包括文件: “sys/resource.h”: No such file or directory ninja: build stopped: subcommand failed.

Checking whether <ext/stdio_filebuf.h> is available failed to compile with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_e3a24 && [1/2] Building CXX object CMakeFiles\cmTC_e3a24.dir\kwsysPlatformTestsCXX.cxx.obj FAILED: CMakeFiles/cmTC_e3a24.dir/kwsysPlatformTestsCXX.cxx.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP -DTEST_KWSYS_CXX_HAS_EXT_STDIO_FILEBUF_H /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /EHsc /MP /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_e3a24.dir\kwsysPlatformTestsCXX.cxx.obj /FdCMakeFiles\cmTC_e3a24.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Utilities\KWSys\vtksys\kwsysPlatformTestsCXX.cxx(372): fatal error C1083: 无法打开包括文件: “ext/stdio_filebuf.h”: No such file or directory ninja: build stopped: subcommand failed.

Determining if the finite exist failed with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-hlh0f6

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_dad96 && [1/2] Building C object CMakeFiles\cmTC_dad96.dir\CheckSymbolExists.c.obj FAILED: CMakeFiles/cmTC_dad96.dir/CheckSymbolExists.c.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_dad96.dir\CheckSymbolExists.c.obj /FdCMakeFiles\cmTC_dad96.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeScratch\TryCompile-hlh0f6\CheckSymbolExists.c D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeScratch\TryCompile-hlh0f6\CheckSymbolExists.c(8): error C2065: “finite”: 未声明的标识符 ninja: build stopped: subcommand failed.

File CheckSymbolExists.c: / /

include

int main(int argc, char** argv) { (void)argv;

ifndef finite

return ((int*)(&finite))[argc];

else

(void)argc; return 0;

endif

} Determining if the feenableexcept exist failed with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-6b9j0c

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_f89a5 && [1/2] Building C object CMakeFiles\cmTC_f89a5.dir\CheckSymbolExists.c.obj FAILED: CMakeFiles/cmTC_f89a5.dir/CheckSymbolExists.c.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo -D_GNU_SOURCE /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_f89a5.dir\CheckSymbolExists.c.obj /FdCMakeFiles\cmTC_f89a5.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeScratch\TryCompile-6b9j0c\CheckSymbolExists.c D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeScratch\TryCompile-6b9j0c\CheckSymbolExists.c(8): error C2065: “feenableexcept”: 未声明的标识符 ninja: build stopped: subcommand failed.

File CheckSymbolExists.c: / /

include

int main(int argc, char** argv) { (void)argv;

ifndef feenableexcept

return ((int*)(&feenableexcept))[argc];

else

(void)argc; return 0;

endif

} Performing C++ SOURCE FILE Test COMPILER_HAS_DEPRECATED_ATTR failed with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-q7zxt0

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_ce733 && [1/2] Building CXX object CMakeFiles\cmTC_ce733.dir\src.cxx.obj FAILED: CMakeFiles/cmTC_ce733.dir/src.cxx.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP -DCOMPILER_HAS_DEPRECATED_ATTR -D_GNU_SOURCE /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_ce733.dir\src.cxx.obj /FdCMakeFiles\cmTC_ce733.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeScratch\TryCompile-q7zxt0\src.cxx D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeScratch\TryCompile-q7zxt0\src.cxx(1): error C2065: “deprecated”: 未声明的标识符 D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeScratch\TryCompile-q7zxt0\src.cxx(1): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeScratch\TryCompile-q7zxt0\src.cxx(1): error C2062: 意外的类型“int” D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeScratch\TryCompile-q7zxt0\src.cxx(1): error C2143: 语法错误: 缺少“;”(在“{”的前面) D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeScratch\TryCompile-q7zxt0\src.cxx(1): error C2447: “{”: 缺少函数标题(是否是老式的形式表?) D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeScratch\TryCompile-q7zxt0\src.cxx(2): error C3861: “somefunc”: 找不到标识符 ninja: build stopped: subcommand failed.

Source file was: attribute((deprecated)) int somefunc() { return 0; } int main() { return somefunc();}

Determining if the function getsockname exists in the socket failed with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-6ky7c5

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_bf47e && [1/2] Building C object CMakeFiles\cmTC_bf47e.dir\CheckFunctionExists.c.obj [2/2] Linking C executable cmTC_bf47e.exe FAILED: cmTC_bf47e.exe cmd.exe /C "cd . && D:\tools\vcpkg\downloads\tools\cmake-3.25.1-windows\cmake-3.25.1-windows-i386\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_bf47e.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests -- D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_bf47e.dir\CheckFunctionExists.c.obj /out:cmTC_bf47e.exe /implib:cmTC_bf47e.lib /pdb:cmTC_bf47e.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console socket.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." LINK Pass 1: command "D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_bf47e.dir\CheckFunctionExists.c.obj /out:cmTC_bf47e.exe /implib:cmTC_bf47e.lib /pdb:cmTC_bf47e.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console socket.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\cmTC_bf47e.dir/intermediate.manifest CMakeFiles\cmTC_bf47e.dir/manifest.res" failed (exit code 1104) with the following output: LINK : fatal error LNK1104: 无法打开文件“socket.lib” ninja: build stopped: subcommand failed.

Determining if the SO_REUSEADDR exist failed with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-lse7gu

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_389e5 && [1/2] Building C object CMakeFiles\cmTC_389e5.dir\CheckSymbolExists.c.obj FAILED: CMakeFiles/cmTC_389e5.dir/CheckSymbolExists.c.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_389e5.dir\CheckSymbolExists.c.obj /FdCMakeFiles\cmTC_389e5.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeScratch\TryCompile-lse7gu\CheckSymbolExists.c D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeScratch\TryCompile-lse7gu\CheckSymbolExists.c(3): fatal error C1083: 无法打开包括文件: “sys/socket.h”: No such file or directory ninja: build stopped: subcommand failed.

File CheckSymbolExists.c: / /

include <sys/types.h>

include <sys/socket.h>

int main(int argc, char** argv) { (void)argv;

ifndef SO_REUSEADDR

return ((int*)(&SO_REUSEADDR))[argc];

else

(void)argc; return 0;

endif

}

Kasi commented 1 year ago

CMakeOutput.log

The output was: 0 CMakeCCompilerId.c

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.exe"

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj"

The C compiler identification is MSVC, found in "D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/3.25.1/CompilerIdC/CMakeCCompilerId.exe"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler: D:/visualStudio2019/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe Build flags: ;/nologo;/DWIN32;/D_WINDOWS;/W3;/utf-8;/GR;/EHsc;/MP; Id flags:

The output was: 0 CMakeCXXCompilerId.cpp

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.exe"

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj"

The CXX compiler identification is MSVC, found in "D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/3.25.1/CompilerIdCXX/CMakeCXXCompilerId.exe"

Detecting C compiler ABI info compiled with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-np9tb3

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_5e12e && [1/2] Building C object CMakeFiles\cmTC_5e12e.dir\CMakeCCompilerABI.c.obj [2/2] Linking C executable cmTC_5e12e.exe

Detecting CXX compiler ABI info compiled with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-xekobt

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_70ffa && [1/2] Building CXX object CMakeFiles\cmTC_70ffa.dir\CMakeCXXCompilerABI.cpp.obj [2/2] Linking CXX executable cmTC_70ffa.exe

Checking whether header cstdio is available compiled with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_0873d && [1/2] Building CXX object CMakeFiles\cmTC_0873d.dir\kwsysPlatformTestsCXX.cxx.obj [2/2] Linking CXX executable cmTC_0873d.exe

Checking whether C++ compiler has 'long long' compiled with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_52797 && [1/2] Building CXX object CMakeFiles\cmTC_52797.dir\kwsysPlatformTestsCXX.cxx.obj [2/2] Linking CXX executable cmTC_52797.exe

Checking whether C++ compiler has '__int64' compiled with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_7e988 && [1/2] Building CXX object CMakeFiles\cmTC_7e988.dir\kwsysPlatformTestsCXX.cxx.obj [2/2] Linking CXX executable cmTC_7e988.exe

Checking whether long long and __int64 are the same type compiled with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_f7026 && [1/2] Building CXX object CMakeFiles\cmTC_f7026.dir\kwsysPlatformTestsCXX.cxx.obj [2/2] Linking CXX executable cmTC_f7026.exe

Checking whether wstring is available compiled with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_a92a8 && [1/2] Building CXX object CMakeFiles\cmTC_a92a8.dir\kwsysPlatformTestsCXX.cxx.obj [2/2] Linking CXX executable cmTC_a92a8.exe

Checking whether C compiler has ptrdiff_t in stddef.h compiled with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_2e121 && [1/2] Building C object CMakeFiles\cmTC_2e121.dir\kwsysPlatformTestsC.c.obj [2/2] Linking C executable cmTC_2e121.exe

Checking whether CXX compiler has environ in stdlib.h compiled with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_cf5eb && [1/2] Building CXX object CMakeFiles\cmTC_cf5eb.dir\kwsysPlatformTestsCXX.cxx.obj [2/2] Linking CXX executable cmTC_cf5eb.exe

Determining if the GetProcessMemoryInfo exist passed with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-2otrrk

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_c37b4 && [1/2] Building C object CMakeFiles\cmTC_c37b4.dir\CheckSymbolExists.c.obj [2/2] Linking C executable cmTC_c37b4.exe

File CheckSymbolExists.c: / /

include

include

int main(int argc, char** argv) { (void)argv;

ifndef GetProcessMemoryInfo

return ((int*)(&GetProcessMemoryInfo))[argc];

else

(void)argc; return 0;

endif

} Checking whether CXX compiler has atol compiled with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_6c2c4 && [1/2] Building CXX object CMakeFiles\cmTC_6c2c4.dir\kwsysPlatformTestsCXX.cxx.obj [2/2] Linking CXX executable cmTC_6c2c4.exe

Checking whether CXX compiler has atoll compiled with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_a150b && [1/2] Building CXX object CMakeFiles\cmTC_a150b.dir\kwsysPlatformTestsCXX.cxx.obj [2/2] Linking CXX executable cmTC_a150b.exe

Checking whether CXX compiler has _atoi64 compiled with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/Utilities/KWSys/vtksys/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_140c8 && [1/2] Building CXX object CMakeFiles\cmTC_140c8.dir\kwsysPlatformTestsCXX.cxx.obj [2/2] Linking CXX executable cmTC_140c8.exe

Determining if the InterlockedAdd exist passed with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-7lc7ie

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_7bc53 && [1/2] Building C object CMakeFiles\cmTC_7bc53.dir\CheckSymbolExists.c.obj [2/2] Linking C executable cmTC_7bc53.exe

File CheckSymbolExists.c: / /

include

int main(int argc, char** argv) { (void)argv;

ifndef InterlockedAdd

return ((int*)(&InterlockedAdd))[argc];

else

(void)argc; return 0;

endif

} Performing C++ SOURCE FILE Test VTK_HAS_STD_ISNAN succeeded with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-1cddt2

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_d7fdf && [1/2] Building CXX object CMakeFiles\cmTC_d7fdf.dir\src.cxx.obj [2/2] Linking CXX executable cmTC_d7fdf.exe

Source file was: / CHECK_CXX_EXPRESSION_COMPILES /

include

int main() { static_cast(std::isnan(0.0));

return 0; }

Performing C++ SOURCE FILE Test VTK_HAS_STD_ISINF succeeded with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-r444p8

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_ba74c && [1/2] Building CXX object CMakeFiles\cmTC_ba74c.dir\src.cxx.obj [2/2] Linking CXX executable cmTC_ba74c.exe

Source file was: / CHECK_CXX_EXPRESSION_COMPILES /

include

int main() { static_cast(std::isinf(0.0));

return 0; }

Performing C++ SOURCE FILE Test VTK_HAS_STD_ISFINITE succeeded with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-0czahp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_6880b && [1/2] Building CXX object CMakeFiles\cmTC_6880b.dir\src.cxx.obj [2/2] Linking CXX executable cmTC_6880b.exe

Source file was: / CHECK_CXX_EXPRESSION_COMPILES /

include

int main() { static_cast(std::isfinite(0.0));

return 0; }

Determining if the isnan exist passed with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-ruj781

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_da980 && [1/2] Building C object CMakeFiles\cmTC_da980.dir\CheckSymbolExists.c.obj [2/2] Linking C executable cmTC_da980.exe

File CheckSymbolExists.c: / /

include

int main(int argc, char** argv) { (void)argv;

ifndef isnan

return ((int*)(&isnan))[argc];

else

(void)argc; return 0;

endif

} Determining if the isinf exist passed with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-px0sel

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_5a5c2 && [1/2] Building C object CMakeFiles\cmTC_5a5c2.dir\CheckSymbolExists.c.obj [2/2] Linking C executable cmTC_5a5c2.exe

File CheckSymbolExists.c: / /

include

int main(int argc, char** argv) { (void)argv;

ifndef isinf

return ((int*)(&isinf))[argc];

else

(void)argc; return 0;

endif

} Determining if the isfinite exist passed with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-zt0sw0

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_22ee9 && [1/2] Building C object CMakeFiles\cmTC_22ee9.dir\CheckSymbolExists.c.obj [2/2] Linking C executable cmTC_22ee9.exe

File CheckSymbolExists.c: / /

include

int main(int argc, char** argv) { (void)argv;

ifndef isfinite

return ((int*)(&isfinite))[argc];

else

(void)argc; return 0;

endif

} Determining if the include file fenv.h exists passed with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-2lbpuv

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_898b8 && [1/2] Building C object CMakeFiles\cmTC_898b8.dir\CheckIncludeFile.c.obj [2/2] Linking C executable cmTC_898b8.exe

Performing C++ SOURCE FILE Test COMPILER_HAS_DEPRECATED succeeded with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-w3h484

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_0f665 && [1/2] Building CXX object CMakeFiles\cmTC_0f665.dir\src.cxx.obj D:\tools\vcpkg\buildtrees\vtk\x64-windows-rel\CMakeFiles\CMakeScratch\TryCompile-w3h484\src.cxx(2): warning C4996: 'somefunc': 被声明为已否决 [2/2] Linking CXX executable cmTC_0f665.exe

Source file was: __declspec(deprecated) int somefunc() { return 0; } int main() { return somefunc();}

Determining if getsockname accepts socklen_t type completed with the following output: Change Dir: D:/tools/vcpkg/buildtrees/vtk/x64-windows-rel/CMakeTmp/SocklenT/CMakeFiles/CMakeTmp

Run Build Command(s):D:/visualStudio2019/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_6b19b && [1/2] Building CXX object CMakeFiles\cmTC_6b19b.dir\vtkTestSocklenT.cxx.obj FAILED: CMakeFiles/cmTC_6b19b.dir/vtkTestSocklenT.cxx.obj D:\visualStudio2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP /nologo /DWIN32 /D_WINDOWS /W4 /utf-8 /GR /EHsc /MP /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_6b19b.dir\vtkTestSocklenT.cxx.obj /FdCMakeFiles\cmTC_6b19b.dir\ /FS -c D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Common\System\vtkTestSocklenT.cxx D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Common\System\vtkTestSocklenT.cxx(11): error C2065: “socklen_t”: 未声明的标识符 D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Common\System\vtkTestSocklenT.cxx(11): error C2059: 语法错误:“)” D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Common\System\vtkTestSocklenT.cxx(12): error C2065: “socklen_t”: 未声明的标识符 D:\tools\vcpkg\buildtrees\vtk\src\v8.2.0-88a4aed4d0.clean\Common\System\vtkTestSocklenT.cxx(12): warning C4127: 条件表达式是常量 ninja: build stopped: subcommand failed.

BillyONeal commented 1 year ago

Your manifest is asking for proj 9.something but is asking for a version of vtk that does not work with proj 9.something. This seems like a legitimate incompatibility with the versions you have requested.

jimwang118 commented 1 year ago

You should use a higher version of VTK.

Kasi commented 1 year ago

You should use a higher version of VTK.

I will try it

jimwang118 commented 1 year ago

Did you solve this problem using the latest version of vtk?

github-actions[bot] commented 1 year ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

jimwang118 commented 1 year ago

Thanks for posting this issue. Please reopen this issue if this is still a problem for you.

Kasi commented 10 months ago

Did you solve this problem using the latest version of vtk? The problem has been solved! thanks