Skip to content

[vtk] Add feature gdal and geojson, re-factory the feature select part#20147

Merged
BillyONeal merged 8 commits intomicrosoft:masterfrom
JackBoosY:dev/jack/20129
Oct 11, 2021
Merged

[vtk] Add feature gdal and geojson, re-factory the feature select part#20147
BillyONeal merged 8 commits intomicrosoft:masterfrom
JackBoosY:dev/jack/20129

Conversation

@JackBoosY
Copy link
Contributor

@JackBoosY JackBoosY commented Sep 14, 2021

This PR will:

  1. Add feature gdal, remove feature "all" dependency gdal.
  2. Add feature geojson.
  3. Re-factory vtk feature related feature selection code:
    Since the option value of cmake feature in vtk should be YES or DONT_WANT, use vcpkg_check_features and switch ON/OFF to YES/DONT_WANT.

Fixes #20129.

All features are tested in x64-windows, x64-windows-static and x64-linux.

@JackBoosY JackBoosY added category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:internal labels Sep 14, 2021
@JackBoosY
Copy link
Contributor Author

@embeddedmz Does this meet you requirement?

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

After committing all other changes, the version database must be updated
git add -u && git commit
git checkout e201002b4f4827d7b7b672f0c5c672a77fc3b77d -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 03050a4..08f076b 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -6774,7 +6774,7 @@
     },
     "vtk": {
       "baseline": "9.0.3-pv5.9.1",
-      "port-version": 1
+      "port-version": 2
     },
     "vtk-dicom": {
       "baseline": "0.8.12",
diff --git a/versions/v-/vtk.json b/versions/v-/vtk.json
index 5b67419..78bec86 100644
--- a/versions/v-/vtk.json
+++ b/versions/v-/vtk.json
@@ -1,5 +1,10 @@
 {
   "versions": [
+    {
+      "git-tree": "120926c414d59bf84f65b2e48a05336b0e44e757",
+      "version-semver": "9.0.3-pv5.9.1",
+      "port-version": 2
+    },
     {
       "git-tree": "413d7fcbff9b50e57e486d1249c841a5e25c0def",
       "version-semver": "9.0.3-pv5.9.1",

@embeddedmz
Copy link

@JackBoosY So with this pull request, I can download VTK's GDAL and GeoJSON modules ?

@JackBoosY
Copy link
Contributor Author

@embeddedmz Yeah, please use feature gdal and geojson.

@embeddedmz
Copy link

@JackBoosY I didn't find them when using search (and I ran git pull). Do I have to install vtk[all] ?

PS D:\vcpkg> .\vcpkg.exe search vtk
itk[vtk]                                  Build ITKVtkGlue module.
opencv[vtk]                               vtk support for opencv
opencv3[vtk]                              vtk support for opencv
opencv4[vtk]                              vtk support for opencv
paraview                 5.9.1            VTK-based Data Analysis and Visualization Application
paraview[all-modules]                     enables the build of all paraview modules
paraview[cuda]                            enables cuda within paraview
paraview[mpi]                             enables cuda within paraview
paraview[python]                          enables the build of python wrappers
paraview[tools]                           Build paraview tools
paraview[vtkm]                            enables vtkm for the build of paraview
pcl[vtk]                                  VTK-Visualizations support for PCL
vtk                      9.0.3-pv5.9.1#1  Software system for 3D computer graphics, image processing, and visualization
vtk[all]                                  Build all vtk modules
vtk[atlmfc]                               Mfc functionality for vtk on Windows
vtk[cuda]                                 Support CUDA compilation
vtk[mpi]                                  MPI functionality for VTK
vtk[opengl]                               All opengl related modules
vtk[openvr]                               OpenVR functionality for VTK
vtk[paraview]                             Build vtk modules required by paraview
vtk[python]                               Python functionality for VTK
vtk[qt]                                   Qt functionality for VTK
vtk[utf8]                                 Enables vtk reader/writer with utf-8 path support
vtk[vtkm]                                 Build with vtk-m accelerator and module.
vtk-dicom                0.8.12#2         DICOM for VTK
vtk-dicom[gdcm]                           Use gdcm for decompressing DICOM files.
vtk-m                    1.6.0            VTK-m is a toolkit of scientific visualization algorithms for emerging pro...
vtk-m[cuda]                               Use the NVIDIA CUDA device adapter.
vtk-m[double]                             Use double precision in floating point calculations
vtk-m[mpi]                                Use the MPI controller.
vtk-m[omp]                                Use the OpenMP device adapter.
vtk-m[tbb]                                Use the Intel TBB device adapter.
The search result may be outdated. Run `git pull` to get the latest results.

@embeddedmz
Copy link

I'm having issues installing VTK or VTK[ALL] :

PS D:\vcpkg> .\vcpkg.exe install vtk:x64-windows --recurse
Computing installation plan...
The following packages will be built and installed:
    vtk[core]:x64-windows -> 9.0.3-pv5.9.1#1
Detecting compiler hash for triplet x64-windows...
Restored 0 packages from C:\Users\mmzoughi\AppData\Local\vcpkg\archives in 1.208 ms. Use --debug to see more details.
Starting package 1/1: vtk:x64-windows
Building package vtk[core]:x64-windows...
-- Downloading https://github.com/Kitware/VTK/archive/2959413ff190bc6e3ff40f5b6c1342edd2e5233f.tar.gz -> Kitware-VTK-2959413ff190bc6e3ff40f5b6c1342edd2e5233f.tar.gz...
-- Cleaning sources at D:/vcpkg/buildtrees/vtk/src/edd2e5233f-93ea50f27b.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/vcpkg/downloads/Kitware-VTK-2959413ff190bc6e3ff40f5b6c1342edd2e5233f.tar.gz
-- Applying patch FindLZMA.patch
-- Applying patch FindLZ4.patch
-- Applying patch Findproj.patch
-- Applying patch pegtl.patch
-- Applying patch pythonwrapper.patch
-- Applying patch NoUndefDebug.patch
-- Applying patch python_debug.patch
-- Applying patch fix-using-hdf5.patch
-- Applying patch FindExpat.patch
-- Applying patch vtkm.patch
-- Applying patch 1f00a0c9.patch
-- Applying patch 156fb524.patch
-- Applying patch d107698a.patch
-- Using source at D:/vcpkg/buildtrees/vtk/src/edd2e5233f-93ea50f27b.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: ninja -v
    Working Directory: D:/vcpkg/buildtrees/vtk/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      D:\vcpkg\buildtrees\vtk\config-x64-windows-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_cmake.cmake:368 (vcpkg_execute_required_process)
  ports/vtk/portfile.cmake:167 (vcpkg_configure_cmake)
  scripts/ports.cmake:140 (include)


Error: Building package vtk: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: vtk:x64-windows
  Vcpkg version: 2021-09-10-2059ef11aa6067e6f59b0d939c5d17e3c5c47d3e

Additionally, attach any relevant sections from the log files above.

@JackBoosY
Copy link
Contributor Author

@embeddedmz You need to use my branch.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

After committing all other changes, the version database must be updated
git add -u && git commit
git checkout e201002b4f4827d7b7b672f0c5c672a77fc3b77d -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/v-/vtk.json b/versions/v-/vtk.json
index 78bec86..9d38298 100644
--- a/versions/v-/vtk.json
+++ b/versions/v-/vtk.json
@@ -1,7 +1,7 @@
 {
   "versions": [
     {
-      "git-tree": "120926c414d59bf84f65b2e48a05336b0e44e757",
+      "git-tree": "256bd4adc7d8f7827b8dd39f540c2f0f21bd5f94",
       "version-semver": "9.0.3-pv5.9.1",
       "port-version": 2
     },

@embeddedmz
Copy link

embeddedmz commented Sep 16, 2021

@JackBoosY I always have this error when attempting to install new modules (HDF5/MPI issue) :

CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: ninja -v
    Working Directory: D:/vcpkg/buildtrees/vtk/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      D:\vcpkg\buildtrees\vtk\config-x64-windows-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_cmake.cmake:368 (vcpkg_execute_required_process)
  ports/vtk/portfile.cmake:140 (vcpkg_configure_cmake)
  scripts/ports.cmake:140 (include)

Below, the content of "D:\vcpkg\buildtrees\vtk\config-x64-windows-out.log" :

[1/2] cmd /c "cd ../../x64-windows-dbg && "D:/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/bin/cmake.exe" "D:/vcpkg/buildtrees/vtk/src/edd2e5233f-93ea50f27b.clean" "-DVTK_USE_CUDA=OFF" "-DVTK_USE_MPI=OFF" "-DVTK_BUILD_ALL_MODULES=OFF" "-DVTK_GROUP_ENABLE_Qt=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_GUISupportQt=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_GUISupportQtSQL=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingQt=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_ViewsQt=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_GUISupportMFC=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmCore=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmDataModel=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmFilters=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_vtkm=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_Python=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_PythonContext2D=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_PythonInterpreter=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_FiltersParallelStatistics=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOParallelExodus=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingParallel=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingVolumeAMR=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOXdmf2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOH5part=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOParallelLSDyna=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOTRUCHAS=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOVPIC=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingLICOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingAnnotation=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_DomainsChemistry=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_DomainsChemistryOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_FiltersParallelDIY2=DONT_WANT" "-DVTK_GROUP_ENABLE_MPI=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_DomainsChemistryOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_ImagingOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingGL2PSOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingLICOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingVolumeOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_opengl=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingOpenVR=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOGDAL=YES" "-DVTK_MODULE_ENABLE_VTK_IOGeoJSON=DONT_WANT" "-DBUILD_TESTING=OFF" "-DVTK_BUILD_TESTING=OFF" "-DVTK_BUILD_EXAMPLES=OFF" "-DVTK_FORBID_DOWNLOADS=ON" "-DVTK_ENABLE_REMOTE_MODULES=OFF" "-DVTK_GROUP_ENABLE_StandAlone=YES" "-DVTK_GROUP_ENABLE_Rendering=YES" "-DVTK_GROUP_ENABLE_Views=YES" "-DVTK_USE_TK=OFF" "-DVTK_USE_EXTERNAL:BOOL=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps:BOOL=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/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:/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:/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/vtk_x64-windows/debug""
FAILED: ../../x64-windows-dbg/CMakeCache.txt 
cmd /c "cd ../../x64-windows-dbg && "D:/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/bin/cmake.exe" "D:/vcpkg/buildtrees/vtk/src/edd2e5233f-93ea50f27b.clean" "-DVTK_USE_CUDA=OFF" "-DVTK_USE_MPI=OFF" "-DVTK_BUILD_ALL_MODULES=OFF" "-DVTK_GROUP_ENABLE_Qt=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_GUISupportQt=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_GUISupportQtSQL=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingQt=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_ViewsQt=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_GUISupportMFC=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmCore=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmDataModel=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmFilters=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_vtkm=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_Python=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_PythonContext2D=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_PythonInterpreter=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_FiltersParallelStatistics=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOParallelExodus=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingParallel=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingVolumeAMR=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOXdmf2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOH5part=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOParallelLSDyna=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOTRUCHAS=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOVPIC=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingLICOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingAnnotation=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_DomainsChemistry=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_DomainsChemistryOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_FiltersParallelDIY2=DONT_WANT" "-DVTK_GROUP_ENABLE_MPI=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_DomainsChemistryOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_ImagingOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingGL2PSOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingLICOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingVolumeOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_opengl=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingOpenVR=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOGDAL=YES" "-DVTK_MODULE_ENABLE_VTK_IOGeoJSON=DONT_WANT" "-DBUILD_TESTING=OFF" "-DVTK_BUILD_TESTING=OFF" "-DVTK_BUILD_EXAMPLES=OFF" "-DVTK_FORBID_DOWNLOADS=ON" "-DVTK_ENABLE_REMOTE_MODULES=OFF" "-DVTK_GROUP_ENABLE_StandAlone=YES" "-DVTK_GROUP_ENABLE_Rendering=YES" "-DVTK_GROUP_ENABLE_Views=YES" "-DVTK_USE_TK=OFF" "-DVTK_USE_EXTERNAL:BOOL=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps:BOOL=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/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:/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:/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/vtk_x64-windows/debug""
-- The C compiler identification is MSVC 19.29.30133.0
-- The CXX compiler identification is MSVC 19.29.30133.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/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: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could not use git to determine source version, using version 
-- Performing Test VTK_REQUIRE_LARGE_FILE_SUPPORT
-- Performing Test VTK_REQUIRE_LARGE_FILE_SUPPORT - Failed
-- Module testing disabled due to `VTK_FORBID_DOWNLOADS` being set.
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed
-- Performing Test COMPILER_HAS_DEPRECATED
-- Performing Test COMPILER_HAS_DEPRECATED - Success
-- 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
-- Found utf8cpp: D:/vcpkg/installed/x64-windows/include/utf8cpp  
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE  
-- 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
-- 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:/vcpkg/installed/x64-windows/include/eigen3 (found version "3.3.9") 
-- Found double-conversion: D:/vcpkg/installed/x64-windows/debug/lib/double-conversion.lib  
-- Found LZMA: optimized;D:/vcpkg/installed/x64-windows/lib/lzma.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/lzmad.lib (found version "5.2.5") 
-- Found ZLIB: optimized;D:/vcpkg/installed/x64-windows/lib/zlib.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/zlibd.lib (found version "1.2.11") 
-- Found EXPAT: optimized;D:/vcpkg/installed/x64-windows/lib/libexpat.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/libexpatd.lib (found version "2.2.9") 
-- Found Freetype: optimized;D:/vcpkg/installed/x64-windows/lib/freetype.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/freetyped.lib (found version "2.10.4") 
-- Found JPEG: optimized;D:/vcpkg/installed/x64-windows/lib/jpeg.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/jpegd.lib (found version "62") 
-- Found PNG: optimized;D:/vcpkg/installed/x64-windows/lib/libpng16.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/libpng16d.lib (found version "1.6.37") 
-- Found TIFF: optimized;D:/vcpkg/installed/x64-windows/lib/tiff.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/tiffd.lib (found version "4.1.0")  
-- Found OpenGL: opengl32  found components: OpenGL 
CMake Error at ThirdParty/hdf5/CMakeLists.txt:21 (message):
  An external MPI-aware HDF5 requires that VTK be built with MPI support as
  well.


-- Configuring incomplete, errors occurred!
See also "D:/vcpkg/buildtrees/vtk/x64-windows-dbg/CMakeFiles/CMakeOutput.log".
See also "D:/vcpkg/buildtrees/vtk/x64-windows-dbg/CMakeFiles/CMakeError.log".
[2/2] cmd /c "cd .. && "D:/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/bin/cmake.exe" "D:/vcpkg/buildtrees/vtk/src/edd2e5233f-93ea50f27b.clean" "-DVTK_USE_CUDA=OFF" "-DVTK_USE_MPI=OFF" "-DVTK_BUILD_ALL_MODULES=OFF" "-DVTK_GROUP_ENABLE_Qt=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_GUISupportQt=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_GUISupportQtSQL=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingQt=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_ViewsQt=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_GUISupportMFC=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmCore=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmDataModel=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmFilters=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_vtkm=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_Python=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_PythonContext2D=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_PythonInterpreter=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_FiltersParallelStatistics=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOParallelExodus=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingParallel=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingVolumeAMR=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOXdmf2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOH5part=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOParallelLSDyna=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOTRUCHAS=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOVPIC=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingLICOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingAnnotation=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_DomainsChemistry=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_DomainsChemistryOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_FiltersParallelDIY2=DONT_WANT" "-DVTK_GROUP_ENABLE_MPI=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_DomainsChemistryOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_ImagingOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingGL2PSOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingLICOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingVolumeOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_opengl=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingOpenVR=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOGDAL=YES" "-DVTK_MODULE_ENABLE_VTK_IOGeoJSON=DONT_WANT" "-DBUILD_TESTING=OFF" "-DVTK_BUILD_TESTING=OFF" "-DVTK_BUILD_EXAMPLES=OFF" "-DVTK_FORBID_DOWNLOADS=ON" "-DVTK_ENABLE_REMOTE_MODULES=OFF" "-DVTK_GROUP_ENABLE_StandAlone=YES" "-DVTK_GROUP_ENABLE_Rendering=YES" "-DVTK_GROUP_ENABLE_Views=YES" "-DVTK_USE_TK=OFF" "-DVTK_USE_EXTERNAL:BOOL=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps:BOOL=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/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:/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:/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/vtk_x64-windows""
FAILED: ../CMakeCache.txt 
cmd /c "cd .. && "D:/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/bin/cmake.exe" "D:/vcpkg/buildtrees/vtk/src/edd2e5233f-93ea50f27b.clean" "-DVTK_USE_CUDA=OFF" "-DVTK_USE_MPI=OFF" "-DVTK_BUILD_ALL_MODULES=OFF" "-DVTK_GROUP_ENABLE_Qt=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_GUISupportQt=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_GUISupportQtSQL=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingQt=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_ViewsQt=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_GUISupportMFC=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmCore=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmDataModel=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmFilters=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_vtkm=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_Python=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_PythonContext2D=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_PythonInterpreter=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_FiltersParallelStatistics=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOParallelExodus=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingParallel=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingVolumeAMR=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOXdmf2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOH5part=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOParallelLSDyna=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOTRUCHAS=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOVPIC=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingLICOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingAnnotation=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_DomainsChemistry=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_DomainsChemistryOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_FiltersParallelDIY2=DONT_WANT" "-DVTK_GROUP_ENABLE_MPI=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_DomainsChemistryOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_ImagingOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingGL2PSOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingLICOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingVolumeOpenGL2=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_opengl=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_RenderingOpenVR=DONT_WANT" "-DVTK_MODULE_ENABLE_VTK_IOGDAL=YES" "-DVTK_MODULE_ENABLE_VTK_IOGeoJSON=DONT_WANT" "-DBUILD_TESTING=OFF" "-DVTK_BUILD_TESTING=OFF" "-DVTK_BUILD_EXAMPLES=OFF" "-DVTK_FORBID_DOWNLOADS=ON" "-DVTK_ENABLE_REMOTE_MODULES=OFF" "-DVTK_GROUP_ENABLE_StandAlone=YES" "-DVTK_GROUP_ENABLE_Rendering=YES" "-DVTK_GROUP_ENABLE_Views=YES" "-DVTK_USE_TK=OFF" "-DVTK_USE_EXTERNAL:BOOL=ON" "-DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps:BOOL=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/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:/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:/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/vtk_x64-windows""
-- The C compiler identification is MSVC 19.29.30133.0
-- The CXX compiler identification is MSVC 19.29.30133.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/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: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could not use git to determine source version, using version 
-- Performing Test VTK_REQUIRE_LARGE_FILE_SUPPORT
-- Performing Test VTK_REQUIRE_LARGE_FILE_SUPPORT - Failed
-- Module testing disabled due to `VTK_FORBID_DOWNLOADS` being set.
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed
-- Performing Test COMPILER_HAS_DEPRECATED
-- Performing Test COMPILER_HAS_DEPRECATED - Success
-- 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
-- Found utf8cpp: D:/vcpkg/installed/x64-windows/include/utf8cpp  
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE  
-- 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
-- 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:/vcpkg/installed/x64-windows/include/eigen3 (found version "3.3.9") 
-- Found double-conversion: D:/vcpkg/installed/x64-windows/lib/double-conversion.lib  
-- Found LZMA: D:/vcpkg/installed/x64-windows/lib/lzma.lib (found version "5.2.5") 
-- Found ZLIB: optimized;D:/vcpkg/installed/x64-windows/lib/zlib.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/zlibd.lib (found version "1.2.11") 
-- Found EXPAT: optimized;D:/vcpkg/installed/x64-windows/lib/libexpat.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/libexpatd.lib (found version "2.2.9") 
-- Found Freetype: optimized;D:/vcpkg/installed/x64-windows/lib/freetype.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/freetyped.lib (found version "2.10.4") 
-- Found JPEG: optimized;D:/vcpkg/installed/x64-windows/lib/jpeg.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/jpegd.lib (found version "62") 
-- Found PNG: optimized;D:/vcpkg/installed/x64-windows/lib/libpng16.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/libpng16d.lib (found version "1.6.37") 
-- Found TIFF: optimized;D:/vcpkg/installed/x64-windows/lib/tiff.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/tiffd.lib (found version "4.1.0")  
-- Found OpenGL: opengl32  found components: OpenGL 
CMake Error at ThirdParty/hdf5/CMakeLists.txt:21 (message):
  An external MPI-aware HDF5 requires that VTK be built with MPI support as
  well.


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


@JackBoosY
Copy link
Contributor Author

@embeddedmz Please pull the latest code.

@embeddedmz
Copy link

embeddedmz commented Sep 16, 2021

@JackBoosY I have already pulled the commit "Fix feature option MPI". I am installing vtk[mpi] right now (Neumann deleted comment gave me that hint). Maybe after installing it, that will fix the issue (that's strange because I tried to install vtk[all] that includes MPI and I got the error related to MPI, maybe there's an order issue.

@embeddedmz
Copy link

I have this error now :

CMake Error at D:/vcpkg/scripts/buildsystems/vcpkg.cmake:576 (_add_library):
  Target "IOGDAL" links to target "GDAL::GDAL" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?
Call Stack (most recent call first):
  CMake/vtkModule.cmake:3393 (add_library)
  IO/GDAL/CMakeLists.txt:8 (vtk_module_add_module)

@JackBoosY
Copy link
Contributor Author

ninja: error: FindFirstFileExA(optimized;g:/20147/vcpkg/installed/x64-windows/lib/gdal_i.lib;debug;g:/20147/vcpkg/installed/x64-windows/debug/lib): The filename, directory name, or volume label syntax is incorrect.

@dg0yt
Copy link
Contributor

dg0yt commented Sep 18, 2021

Well, I fixed a lot in the exported pkgconfig files of gdal's dependencies (non-windows). But there is huge gap left:
Exporting the usage requirements from gdal (pkgconfig at least), with all transitive requirements.
Currently it is baked into several depending ports - similar how gdal`s msbuild dependencies (windows) are baked into port gdal.

I think what we need first is a maintainable way how to transfer usage requirements along msbuild dependency chains. (It is not just gdal.) Options are:

  • .pc files with pkgconfig.
  • find_package config and modules with cmake.
  • simple custom cmake files.

(Side note: It is an issue not just for ports using msbuild. Port qt5-base is build around find_library calls which in turn means it is also hard-coding external transitive usage requirements.

@dg0yt
Copy link
Contributor

dg0yt commented Sep 18, 2021

But there is huge gap left:
Exporting the usage requirements from gdal (pkgconfig at least), with all transitive requirements.

Sorry, this is mostly not valid. I also update the vcpkg cmake wrapper. So usage in CMake should be mostly okay.

But there is one dangerous thing about are vcpkg's wrappers: Putting debug/release variants in the <PKG>_LIBRARY variable. Some users expect this to be a file path, not a list. Cf. #19692 (comment)
This might be what leads to:

ninja: error: FindFirstFileExA(optimized;g:/20147/vcpkg/installed/x64-windows/lib/gdal_i.lib;debug;g:/20147/vcpkg/installed/x64-windows/debug/lib): The filename, directory name, or volume label syntax is incorrect.

@dg0yt
Copy link
Contributor

dg0yt commented Sep 18, 2021

optimized;g:/20147/vcpkg/installed/x64-windows/lib/gdal_i.lib;debug;g:/20147/vcpkg/installed/x64-windows/debug/lib :
In particular, this string looks like GDAL_LIBRARY minus the trailing filename of the debug library. So it is probably the result of an attempt to determine the directory where the gdal library resided - somewhat similar to the get_filename_component errors which I had with <PKG>_LIBRARY in other ports.

@Neumann-A
Copy link
Contributor

@dg0yt :

x_vcpkg_pkgconfig_get_modules(PREFIX harfbuzz MODULES harfbuzz LIBRARIES)

Putting debug/release variants in the _LIBRARY variable. Some users expect this to be a file path, not a list.

This just needs to be fixed downstream.

@dg0yt
Copy link
Contributor

dg0yt commented Sep 18, 2021

This just needs to be fixed downstream.

Which may mean: in the user's project.

@dg0yt
Copy link
Contributor

dg0yt commented Sep 18, 2021

x_vcpkg_pkgconfig_get_modules(PREFIX harfbuzz MODULES harfbuzz LIBRARIES)

Taking this as a vote for pc files regarding my three options for improving port gdal (msbuild). I'm fine with that, even it means adding pc files to other msbuild ports.

@JackBoosY
Copy link
Contributor Author

Since there is no dependency graph, I have to test individual features one by one, this is not good.

@JackBoosY
Copy link
Contributor Author

@embeddedmz Please pull the latest changes and try again.

Thanks.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

After committing all other changes, the version database must be updated
git add -u && git commit
git checkout e201002b4f4827d7b7b672f0c5c672a77fc3b77d -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/v-/vtk.json b/versions/v-/vtk.json
index 78bec86..6a6cd0b 100644
--- a/versions/v-/vtk.json
+++ b/versions/v-/vtk.json
@@ -1,7 +1,7 @@
 {
   "versions": [
     {
-      "git-tree": "120926c414d59bf84f65b2e48a05336b0e44e757",
+      "git-tree": "8a6faf67b7c7d4e3fba1f888817e3a18f80837b1",
       "version-semver": "9.0.3-pv5.9.1",
       "port-version": 2
     },

You have modified or added at least one portfile where deprecated functions are used.

Details

If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake -> vcpkg_cmake_install (from port vcpkg-cmake)
vcpkg_build_cmake -> vcpkg_cmake_build (from port vcpkg-cmake)
vcpkg_configure_cmake -> vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)
vcpkg_fixup_cmake_targets -> vcpkg_cmake_config_fixup (from port vcpkg-cmake-config)

In the ports that use the new function, you have to add the corresponding dependencies:

{
  "name": "vcpkg-cmake",
  "host": true
},
{
  "name": "vcpkg-cmake-config",
  "host": true
}

The following files are affected:

  • ports/vtk/portfile.cmake

@embeddedmz
Copy link

@JackBoosY OK I will do it next monday and will give you a feedback. Thanks.

@embeddedmz
Copy link

@JackBoosY It's OK for me ! Thank you for your efforts !

@JackBoosY
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PhoebeHui PhoebeHui added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Oct 9, 2021
@BillyONeal
Copy link
Member

BillyONeal commented Oct 11, 2021

@dg0yt

I think what we need first is a maintainable way how to transfer usage requirements along msbuild dependency chains. (It is not just gdal.)

I believe that as long as we have "use the upstream build system wherever possible" as a core design ideal anything like that is going to be difficult. MSBuild just doesn't have the ability to handle transitive dependencies like this :(

@BillyONeal BillyONeal merged commit ac3853c into microsoft:master Oct 11, 2021
@BillyONeal
Copy link
Member

Thanks for the features!

@JackBoosY JackBoosY deleted the dev/jack/20129 branch October 12, 2021 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[VTK] Add IOGDAL and IOGeoJSON modules

6 participants