跳转至

VTK Build

VTK_BUILD_TESTING

vcpkg

Text Only
1
2
3
4
5
在 CMake GUI 的主界面,点击 "Tools" > "Add Entry"(或右上角的 "Add Entry" 按钮)添加一个新变量:
Name: CMAKE_TOOLCHAIN_FILE
Type: PATH 或 FILEPATH
Value: vcpkg 的工具链文件路径,例如 C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake(替换为你的实际路径)。
Description: 可选,填 "vcpkg toolchain file"。
Text Only
1
2
3
4
5
6
Found OpenVR: C:/dev/openvr/lib/win64/openvr_api.lib
Could NOT find FontConfig (missing: FONTCONFIG_LIBRARY FONTCONFIG_INCLUDE_DIR) 
CMake Error at CMake/vtkModule.cmake:5357 (message):
  Could not find the FontConfig external dependency.
Call Stack (most recent call first):
  Rendering/FreeTypeFontConfig/CMakeLists.txt:18 (vtk_module_find_package)

./vcpkg install fontconfig

Text Only
1
PS C:\dev\vcpkg> ./vcpkg install fontconfig

./vcpkg install pdal:x64-windows

Text Only
1
./vcpkg install pdal:x64-windows

Text Only
1
./vcpkg install openvdb:x64-windows
Text Only
1
2
ODBC_INCLUDE_DIR c:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\
ODBC_LIBRARY c:\Program Files (x86)\Windows Kits\10\Lib\10.0.26100.0\um\x64\odbc32.lib
Text Only
1
2
MySQL_INCLUDE_DIR c:\Program Files\MySQL\MySQL Server 8.4\include\
MySQL_LIBRARY c:\Program Files\MySQL\MySQL Server 8.4\lib\libmysql.lib
Text Only
1
./vcpkg install liblas:x64-windows
Text Only
1
./vcpkg install adios2:x64-windows
Text Only
1
./vcpkg install msmpi:x64-windows
Text Only
1
./vcpkg install boost:x64-windows
Text Only
1
./vcpkg install openslide:x64-windows
Text Only
1
2
3
4
5
6
删除损坏的下载文件:
# 删除 gdk-pixbuf 的下载缓存
Remove-Item -Path "C:\dev\vcpkg\downloads\GNOME-gdk-pixbuf-2.42.12.tar.gz*" -Force

# 或手动删除整个 downloads 目录(谨慎操作)
# Remove-Item -Path "C:\dev\vcpkg\downloads\*" -Force
Text Only
1
2
3
4
5
cd C:\dev\vcpkg
git pull
.\bootstrap-vcpkg.bat
.\vcpkg upgrade --no-dry-run
.\vcpkg install openslide:x64-windows
Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# 进入 vcpkg 根目录(你的路径是 C:\dev\vcpkg)
cd C:\dev\vcpkg

# 拉取最新代码(需要 git 环境)
git pull

# 更新端口索引
.\vcpkg update

# 清理之前的构建缓存(避免旧缓存干扰)
.\vcpkg remove gdk-pixbuf:x64-windows --purge
.\vcpkg clean gdk-pixbuf:x64-windows
.\vcpkg install gdk-pixbuf:x64-windows
Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
PS C:\dev\vcpkg> ./vcpkg install openslide:x64-windows
Computing installation plan...
The following packages will be rebuilt:
  * gdk-pixbuf[core,jpeg,others,png,tiff]:x64-windows@2.42.12#4
The following packages will be built and installed:
  * libdicom:x64-windows@1.2.0#1
    openslide:x64-windows@4.0.0#4
  * uthash:x64-windows@2.3.0
Additional packages (*) will be modified to complete this operation.
warning: If you are sure you want to rebuild the above packages, run the command with the --recurse option.

使用新 Triplet 安装

Text Only
1
2
# 使用新的 triplet 安装 openslide
./vcpkg install openslide:x64-windows-clang --recurse

x64-windows-clang.cmake

CMake
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE dynamic)

# 指定使用 clang-cl 编译器
set(VCPKG_CMAKE_CONFIGURE_OPTIONS 
    -T ClangCL
    -DCMAKE_C_COMPILER=clang-cl
    -DCMAKE_CXX_COMPILER=clang-cl
)

# 继承 x64-windows 的其他设置
set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE "${VCPKG_ROOT_DIR}/scripts/toolchains/windows.cmake")

Text Only
1
2
3
4
5
6
7
8
PS C:\Users\eric> clang-cl --version
clang-cl: The term 'clang-cl' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
PS C:\Users\eric> & "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\bin\clang-cl.exe" --version
clang version 19.1.5
Target: i686-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\bin
Text Only
1
2
OPENSLIDE_INCLUDE_DIR c:\dev\openslide\include
OPENSLIDE_LIBRARY c:\dev\openslide\lib\libopenslide.lib
Text Only
1
./vcpkg install libarchive:x64-windows
Text Only
1
.\vcpkg install freeglut:x64-windows
Text Only
1
.\vcpkg install openxr-loader:x64-windows
Text Only
1
2
3
4
5
# 卸载
.\vcpkg remove liblas:x64-windows

# 重新安装(会自动拉取所有依赖)
.\vcpkg install liblas:x64-windows
Text Only
1
2
显式添加 find_package:如果您能编辑CMakeLists.txt(例如在VTK的IO/LAS/CMakeLists.txt或主项目中),
添加:find_package(Boost REQUIRED COMPONENTS serialization)

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
CMAKE_INSTALL_PREFIX C:/dev/VTK
VTK_BUILD_ALL_MODULES
VTK_BUILD_EXAMPLES
VTK_BUILD_TESTING ON
VTK_MODULE_ENABLE_VTK_RenderingOpenXRRemoting NO
ODBC_INCLUDE_DIR c:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\
ODBC_LIBRARY c:\Program Files (x86)\Windows Kits\10\Lib\10.0.26100.0\um\x64\odbc32.lib
MySQL_INCLUDE_DIR c:\Program Files\MySQL\MySQL Server 8.4\include\
MySQL_LIBRARY c:\Program Files\MySQL\MySQL Server 8.4\lib\libmysql.lib
VTK_MODULE_ENABLE_VTK_GUISupportMFC NO
OPENSLIDE_INCLUDE_DIR c:\dev\openslide\include
OPENSLIDE_LIBRARY c:\dev\openslide\lib\libopenslide.lib
Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
CMake Error at C:/dev/vcpkg/installed/x64-windows/share/liblas/liblas-depends.cmake:61 (set_target_properties):
  The link interface of target "liblas" contains:

    Boost::serialization

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  C:/dev/vcpkg/installed/x64-windows/share/liblas/liblas-config.cmake:24 (include)
  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:904 (_find_package)
  CMake/vtkModule.cmake:5351 (find_package)
  IO/LAS/CMakeLists.txt:1 (vtk_module_find_package)

test_boost_targets.cmake

CMake
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# test_boost_targets.cmake
cmake_minimum_required(VERSION 3.15)
project(TestBoostTargets)

# 查找 Boost(不指定组件,看能找到什么)
find_package(Boost CONFIG REQUIRED)

message(STATUS "=== Boost 找到的版本: ${Boost_VERSION} ===")
message(STATUS "Boost_INCLUDE_DIRS: ${Boost_INCLUDE_DIRS}")

# 测试每个目标是否存在
set(BOOST_TARGETS_TO_TEST 
    Boost::iostreams 
    Boost::program_options 
    Boost::serialization 
    Boost::thread
    Boost::system
    Boost::filesystem
)

foreach(target ${BOOST_TARGETS_TO_TEST})
    if(TARGET ${target})
        message(STATUS "✓ ${target} 存在")
        # 获取目标的位置信息
        get_target_property(target_loc ${target} LOCATION)
        message(STATUS "  位置: ${target_loc}")
    else()
        message(STATUS "✗ ${target} 不存在")
    endif()
endforeach()

# 测试查找 serialization 组件
message(STATUS "\n=== 测试显式查找 serialization ===")
find_package(Boost REQUIRED COMPONENTS serialization)
if(TARGET Boost::serialization)
    message(STATUS "✓ 显式查找后 Boost::serialization 已存在")
endif()

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
cmake -G "Visual Studio 17 2022" -A x64 `
  -D CMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake `
  -D CMAKE_INSTALL_PREFIX=C:/dev/VTK `
  -D VTK_BUILD_ALL_MODULES=ON `
  -D VTK_BUILD_EXAMPLES=ON `
  -D VTK_BUILD_TESTING=ON `
  -D VTK_MODULE_ENABLE_VTK_RenderingOpenXRRemoting=NO `
  -D ODBC_INCLUDE_DIR="c:/Program Files (x86)/Windows Kits/10/Include/10.0.26100.0/um" `
  -D ODBC_LIBRARY="c:/Program Files (x86)/Windows Kits/10/Lib/10.0.26100.0/um/x64/odbc32.lib" `
  -D MySQL_INCLUDE_DIR="c:/Program Files/MySQL/MySQL Server 8.4/include" `
  -D MySQL_LIBRARY="c:/Program Files/MySQL/MySQL Server 8.4/lib/libmysql.lib" `
  -D VTK_MODULE_ENABLE_VTK_GUISupportMFC=NO `
  -D OPENSLIDE_INCLUDE_DIR="c:/dev/openslide/include" `
  -D OPENSLIDE_LIBRARY="c:/dev/openslide/lib/libopenslide.lib"

TestLASReader_test_1.cxx

Text Only
1
2
3
D:\work\vtk2025\VTK-9.5.2\build\IO\LAS\Testing\Cxx\TestLASReader_test_1.cxx
//int TestLASReader_test_1(int argc, char **argv)
int TestLASReader_test_1(int argc, char** const argv)

TestGDALRasterReader.cxx

Text Only
1
2
3
4
5
6
D:\work\vtk2025\VTK-9.5.2\IO\GDAL\Testing\Cxx\TestGDALRasterReader.cxx
//int TestGDALRasterReader(int argc, char** argv)
int TestGDALRasterReader(int argc, char** const)
D:\work\vtk2025\VTK-9.5.2\build\IO\GDAL\Testing\Cxx\vtkIOGDALCxxTests.cxx
//extern int TestGDALRasterReader(int, char*[]);
extern int TestGDALRasterReader(int, char** const);

TestOpenSlideReader.cxx

Text Only
1
2
3
D:\work\vtk2025\VTK-9.5.2\Domains\Microscopy\Testing\Cxx\TestOpenSlideReader.cxx
//int TestOpenSlideReader(int argc, char** argv)
int TestOpenSlideReader(int argc, char** const argv)

TestOpenSlideReaderPartial.cxx

Text Only
1
2
3
D:\work\vtk2025\VTK-9.5.2\Domains\Microscopy\Testing\Cxx\TestOpenSlideReaderPartial.cxx
//int TestOpenSlideReaderPartial(int argc, char** argv)
int TestOpenSlideReaderPartial(int argc, char** const argv)

vtkDomainsMicroscopyCxxTests.cxx

Text Only
1
2
3
4
5
D:\work\vtk2025\VTK-9.5.2\build\Domains\Microscopy\Testing\Cxx\vtkDomainsMicroscopyCxxTests.cxx
//extern int TestOpenSlideReader(int, char*[]);
//extern int TestOpenSlideReaderPartial(int, char*[]);
extern int TestOpenSlideReader(int argc, char** const argv);
extern int TestOpenSlideReaderPartial(int argc, char** const argv);

TestLASReader_test_2.cxx

Text Only
1
2
3
D:\work\vtk2025\VTK-9.5.2\build\IO\LAS\Testing\Cxx\TestLASReader_test_2.cxx
//int TestLASReader_test_2(int argc, char **argv)
int TestLASReader_test_2(int argc, char** const argv)

vtkIOLASCxxTests.cxx

Text Only
1
2
3
4
5
D:\work\vtk2025\VTK-9.5.2\build\IO\LAS\Testing\Cxx\vtkIOLASCxxTests.cxx
// extern int TestLASReader_test_1(int, char*[]);
// extern int TestLASReader_test_2(int, char*[]);
extern int TestLASReader_test_1(int argc, char** const argv);
extern int TestLASReader_test_2(int argc, char** const argv);

TestGDALRasterReader.cxx

Text Only
1
2
3
D:\work\vtk2025\VTK-9.5.2\IO\GDAL\Testing\Cxx\TestGDALRasterReader.cxx
//int TestGDALRasterReader(int argc, char** argv)
int TestGDALRasterReader(int argc, char** const argv)

TestGDALRasterNoDataValue.cxx

Text Only
1
2
3
4
5
6
7
D:\work\vtk2025\VTK-9.5.2\IO\GDAL\Testing\Cxx\TestGDALRasterNoDataValue.cxx
//int TestGDALRasterNoDataValue(int argc, char** argv)
int TestGDALRasterNoDataValue(int argc, char** const argv)
//extern int TestGDALRasterReader(int, char*[]);
//extern int TestGDALRasterNoDataValue(int, char*[]);
extern int TestGDALRasterReader(int argc, char** const argv);
extern int TestGDALRasterNoDataValue(int argc, char** const argv);

vtkIOGDALCxxTests.cxx

Text Only
1
2
3
4
5
6
7
D:\work\vtk2025\VTK-9.5.2\build\IO\GDAL\Testing\Cxx\vtkIOGDALCxxTests.cxx
//extern int TestGDALRasterReader(int, char*[]);
//extern int TestGDALRasterNoDataValue(int, char*[]);
//extern int TestGDALRasterPalette(int, char*[]);
extern int TestGDALRasterReader(int argc, char** const argv);
extern int TestGDALRasterNoDataValue(int argc, char** const argv);
extern int TestGDALRasterPalette(int argc, char** const argv);

TestGDALRasterPalette.cxx

Text Only
1
2
3
D:\work\vtk2025\VTK-9.5.2\IO\GDAL\Testing\Cxx\TestGDALRasterPalette.cxx
//int TestGDALRasterPalette(int argc, char** argv)
int TestGDALRasterPalette(int argc, char** const argv)

d:\work\vtk2025\VTK-9.5.2\IO\LAS\Testing\Cxx\CMakeLists.txt

CMake
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
# TODO: Simplify this with some argument passing.
set(VTK_LAS_READER_TESTS)
function(add_vtk_las_reader_test test_input elevation)
  get_filename_component(VTK_LAS_READER_POSTFIX ${test_input} NAME_WE)
  set(VTK_LAS_READER_TEST_INPUT "${test_input}")
  set(VTK_LAS_READER_ELEVATION "${elevation}")
  set(test_source "TestLASReader_${VTK_LAS_READER_POSTFIX}.cxx")
  configure_file(TestLASReader.cxx.in ${test_source})
  set(VTK_LAS_READER_TESTS ${VTK_LAS_READER_TESTS} ${test_source} PARENT_SCOPE)
endfunction()

add_vtk_las_reader_test(test_1.las 0)
add_vtk_las_reader_test(test_2.las -90)

vtk_add_test_cxx(vtkIOLASCxxTests tests
  ${VTK_LAS_READER_TESTS}
  )
vtk_test_cxx_executable(vtkIOLASCxxTests tests)

d:\work\vtk2025\VTK-9.5.2\IO\LAS\Testing\Cxx\TestLASReader.cxx.in

C++
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
// SPDX-License-Identifier: BSD-3-Clause
/**
 * This tests reading a LAS file.
 */

#include "vtkCamera.h"
#include "vtkLookupTable.h"
#include "vtkNew.h"
#include "vtkPointData.h"
#include "vtkPolyDataMapper.h"
#include "vtkRegressionTestImage.h"
#include "vtkRenderer.h"
#include "vtkRenderWindowInteractor.h"
#include "vtkRenderWindow.h"
#include "vtkSmartPointer.h"
#include "vtkTestUtilities.h"
#include "vtkUnsignedCharArray.h"
#include "vtkUnsignedShortArray.h"


//#include "vtkXMLPolyDataWriter.h"

#include "vtkLASReader.h"

int TestLASReader_@VTK_LAS_READER_POSTFIX@(int argc, char **argv)
{
  const char* fileName = "Data/@VTK_LAS_READER_TEST_INPUT@";
  const char* path = vtkTestUtilities::ExpandDataFileName(argc, argv, fileName);
  vtkNew<vtkLASReader> reader;
  //Select source file
  reader->SetFileName(path);

  //Read the output
  reader->Update();

  delete [] path;

  vtkSmartPointer<vtkPolyData> outputData = reader->GetOutput();

  bool useClassification = false;
  bool useColor = false;
  vtkUnsignedShortArray* classification =
    vtkUnsignedShortArray::SafeDownCast(outputData->GetPointData()->GetArray("classification"));
  vtkUnsignedShortArray* intensity =
    vtkUnsignedShortArray::SafeDownCast(outputData->GetPointData()->GetArray("intensity"));
  vtkUnsignedShortArray* color =
    vtkUnsignedShortArray::SafeDownCast(outputData->GetPointData()->GetArray("color"));
  double range[2];
  if (classification)
  {
    classification->GetRange(range, 0);
    if (range[0] != range[1])
    {
      std::cout << "Color by classification\n";
      useClassification = true;
      outputData->GetPointData()->SetActiveScalars("classification");
    }
  }
  if (! useClassification)
  {
    if (color)
    {
      color->GetRange(range, 0);
      if (range[0] != range[1])
      {
        std::cout << "Color by color scalar\n";
        useColor = true;
        outputData->GetPointData()->SetActiveScalars("color");
      }
    }
    else
    {
      std::cout << "Color by intensity\n";
      intensity->GetRange(range, 0);
      outputData->GetPointData()->SetActiveScalars("intensity");
    }
  }


  // vtkNew<vtkXMLPolyDataWriter> writer;
  // writer->SetFileName("test.vtp");
  // writer->SetInputData(outputData);
  // writer->Write();

  //Visualise in a render window
  vtkNew<vtkPolyDataMapper> mapper;
  mapper->SetInputData(outputData);
  if (useColor)
  {
    mapper->SetColorModeToDirectScalars();
  }
  else
  {
    mapper->SetScalarRange(range);
  }

  vtkNew<vtkActor> actor;
  actor->SetMapper(mapper);

  vtkNew<vtkRenderer> renderer;
  vtkNew<vtkRenderWindow> renderWindow;
  renderWindow->AddRenderer(renderer);

  vtkNew<vtkRenderWindowInteractor> renderWindowInteractor;
  renderWindowInteractor->SetRenderWindow(renderWindow);
  renderer->AddActor(actor);
  renderer->ResetCamera();

  vtkCamera *camera=renderer->GetActiveCamera();
  camera->Elevation(@VTK_LAS_READER_ELEVATION@);

  int retVal = vtkRegressionTestImageThreshold (renderWindow, 0.2);
  if (retVal == vtkRegressionTester::DO_INTERACTOR)
  {
    renderWindowInteractor->Start ();
    retVal = vtkRegressionTester::PASSED;
  }
  return !((retVal == vtkTesting::PASSED) || (retVal == vtkTesting::DO_INTERACTOR));
}

Text Only
1
2
3
D:\work\vtk2025\VTK-9.5.2\IO\GDAL\Testing\Cxx\TestGDALRasterNoDataValue.cxx
D:\work\vtk2025\VTK-9.5.2\IO\GDAL\Testing\Cxx\TestGDALRasterReader.cxx
D:\work\vtk2025\VTK-9.5.2\IO\GDAL\Testing\Cxx\TestGDALRasterNoDataValue.cxx

example 1

Text Only
1
cmake .. -DVTK_GROUP_ENABLE_Qt=YES

example 2

Text Only
1
cmake .. cmake -DCMAKE_INSTALL_PREFIX="c:/dev/VTK" -DVTK_GROUP_ENABLE_Qt=YES
Text Only
1
2
3
4
5
cmake .. -D CMAKE_INSTALL_PREFIX="c:/dev/VTK" `
         -D CMAKE_BUILD_TYPE=Release `
         -D BUILD_SHARED_LIBS=ON `
         -D VTK_GROUP_ENABLE_Qt=YES `
         -D VTK_BUILD_EXAMPLES=ON
Text Only
1
2
3
4
5
6
cmake -D CMAKE_INSTALL_PREFIX="c:/dev/VTK" `
      -D CMAKE_BUILD_TYPE=Release `
      -D BUILD_SHARED_LIBS=ON `
      -D VTK_GROUP_ENABLE_Qt=YES `
      -D VTK_BUILD_EXAMPLES=ON `
      ..
Text Only
1
2
3
4
5
6
7
cmake -D CMAKE_INSTALL_PREFIX="c:/dev/VTK" `
      -D CMAKE_BUILD_TYPE=Release `
      -D BUILD_SHARED_LIBS=ON `
      -D VTK_GROUP_ENABLE_Qt=YES `
      -D VTK_BUILD_ALL_MODULES=ON `
      -D VTK_BUILD_EXAMPLES=ON `
      ..
Text Only
1
2
3
4
5
cmake -D CMAKE_INSTALL_PREFIX="c:/dev/VTK" `
      -D CMAKE_BUILD_TYPE=Release `
      -D BUILD_SHARED_LIBS=ON `
      -D VTK_BUILD_ALL_MODULES=ON `
      ..
Text Only
1
2
3
4
5
6
7
cmake .. `
      -D CMAKE_INSTALL_PREFIX="c:/dev/VTK" `
      -D CMAKE_BUILD_TYPE=Release `
      -D BUILD_SHARED_LIBS=ON `
      -D VTK_BUILD_ALL_MODULES=ON `
      -D VTK_MODULE_ENABLE_VTK_RenderingOpenXRRemoting=NO `
      -D VTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig=NO
Text Only
1
2
3
4
5
6
7
8
cmake .. `
      -D CMAKE_INSTALL_PREFIX="c:/dev/VTK" `
      -D CMAKE_BUILD_TYPE=Release `
      -D BUILD_SHARED_LIBS=ON `
      -D VTK_BUILD_ALL_MODULES=ON `
      -D VTK_MODULE_ENABLE_VTK_RenderingOpenXRRemoting=NO `
      -D VTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig=NO `
      | Tee-Object -FilePath output.txt
Text Only
1
2
3
4
5
6
7
8
cmake .. `
      -D CMAKE_INSTALL_PREFIX="c:/dev/VTK" `
      -D CMAKE_BUILD_TYPE=Release `
      -D BUILD_SHARED_LIBS=ON `
      -D VTK_BUILD_ALL_MODULES=ON `
      -D VTK_MODULE_ENABLE_VTK_RenderingOpenXRRemoting=NO `
      -D VTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig=NO | `
      Tee-Object -FilePath "output.txt"
Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
cmake .. `
      -D CMAKE_MODULE_PATH="c:/dev/OpenVDB/lib/cmake/OpenVDB" `
      -D CMAKE_INSTALL_PREFIX="c:/dev/VTK" `
      -D CMAKE_BUILD_TYPE=Release `
      -D BUILD_SHARED_LIBS=ON `
      -D VTK_BUILD_ALL_MODULES=ON `
      -D VTK_MODULE_ENABLE_VTK_RenderingOpenXRRemoting=NO `
      -D VTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig=NO `
      -D VTK_MODULE_ENABLE_VTK_IOPDAL=NO `
      | Tee-Object -FilePath "output.txt"
Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
cmake .. `
      -D ODBC_INCLUDE_DIR="C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/um" `
      -D ODBC_LIBRARY="C:/Program Files (x86)/Windows Kits/10/Lib/10.0.22621.0/um/x64/odbc32.lib" `
      -D CMAKE_MODULE_PATH="c:/dev/OpenVDB/lib/cmake/OpenVDB" `
      -D CMAKE_INSTALL_PREFIX="c:/dev/VTK" `
      -D CMAKE_BUILD_TYPE=Release `
      -D BUILD_SHARED_LIBS=ON `
      -D VTK_BUILD_ALL_MODULES=ON `
      -D VTK_MODULE_ENABLE_VTK_RenderingOpenXRRemoting=NO `
      -D VTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig=NO `
      -D VTK_MODULE_ENABLE_VTK_IOPDAL=NO `
      | Tee-Object -FilePath "output.txt"
Text Only
1
2
cmake -D MySQL_INCLUDE_DIR="c:/Program Files/MySQL/MySQL Server 9.3/include" `
      -D MySQL_LIBRARY="c:/Program Files/MySQL/MySQL Server 9.3/lib/libmysql.lib" `
Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
cmake .. `
      -D ODBC_INCLUDE_DIR="C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/um" `
      -D ODBC_LIBRARY="C:/Program Files (x86)/Windows Kits/10/Lib/10.0.22621.0/um/x64/odbc32.lib" `
      -D MySQL_INCLUDE_DIR="c:/Program Files/MySQL/MySQL Server 9.3/include" `
      -D MySQL_LIBRARY="c:/Program Files/MySQL/MySQL Server 9.3/lib/libmysql.lib" `
      -D CMAKE_MODULE_PATH="c:/dev/OpenVDB/lib/cmake/OpenVDB" `
      -D CMAKE_INSTALL_PREFIX="c:/dev/VTK" `
      -D CMAKE_BUILD_TYPE=Release `
      -D BUILD_SHARED_LIBS=ON `
      -D VTK_BUILD_ALL_MODULES=ON `
      -D VTK_MODULE_ENABLE_VTK_RenderingOpenXRRemoting=NO `
      -D VTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig=NO `
      -D VTK_MODULE_ENABLE_VTK_IOPDAL=NO `
      | Tee-Object -FilePath "output.txt"
Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
cmake .. `
      -D ODBC_INCLUDE_DIR="C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/um" `
      -D ODBC_LIBRARY="C:/Program Files (x86)/Windows Kits/10/Lib/10.0.22621.0/um/x64/odbc32.lib" `
      -D MySQL_INCLUDE_DIR="c:/Program Files/MySQL/MySQL Server 9.3/include" `
      -D MySQL_LIBRARY="c:/Program Files/MySQL/MySQL Server 9.3/lib/libmysql.lib" `
      -D CMAKE_MODULE_PATH="c:/dev/OpenVDB/lib/cmake/OpenVDB" `
      -D CMAKE_INSTALL_PREFIX="c:/dev/VTK" `
      -D CMAKE_BUILD_TYPE=Release `
      -D BUILD_SHARED_LIBS=ON `
      -D VTK_BUILD_ALL_MODULES=ON `
      -D VTK_USE_MPI=ON `
      -D VTK_MODULE_ENABLE_VTK_RenderingOpenXRRemoting=NO `
      -D VTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig=NO `
      -D VTK_MODULE_ENABLE_VTK_IOPDAL=NO `
      -D VTK_MODULE_ENABLE_VTK_GUISupportMFC=NO `
      | Tee-Object -FilePath "output.txt"
Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
cmake .. `
      -D ODBC_INCLUDE_DIR="c:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/um" `
      -D ODBC_LIBRARY="c:/Program Files (x86)/Windows Kits/10/Lib/10.0.22621.0/um/x64/odbc32.lib" `
      -D MySQL_INCLUDE_DIR="c:/Program Files/MySQL/MySQL Server 9.3/include" `
      -D MySQL_LIBRARY="c:/Program Files/MySQL/MySQL Server 9.3/lib/libmysql.lib" `
      -D OPENSLIDE_INCLUDE_DIR="c:/msys64/usr/local/openslide/include" `
      -D OPENSLIDE_LIBRARY="c:/msys64/usr/local/openslide/lib/libopenslide.lib" `
      -D CMAKE_MODULE_PATH="c:/dev/OpenVDB/lib/cmake/OpenVDB" `
      -D CMAKE_INSTALL_PREFIX="c:/dev/VTK" `
      -D LibArchive_INCLUDE_DIR="c:/dev/libarchive/include" `
      -D LibArchive_LIBRARY="c:/dev/libarchive/lib/archive.lib" `
      -D CMAKE_BUILD_TYPE=Release `
      -D BUILD_SHARED_LIBS=ON `
      -D VTK_BUILD_ALL_MODULES=ON `
      -D VTK_USE_MPI=ON `
      -D VTK_MODULE_ENABLE_VTK_jsoncpp=YES `
      -D VTK_MODULE_ENABLE_VTK_RenderingOpenXRRemoting=NO `
      -D VTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig=NO `
      -D VTK_MODULE_ENABLE_VTK_IOPDAL=NO `
      -D VTK_MODULE_ENABLE_VTK_GUISupportMFC=NO `
      | Tee-Object -FilePath "output.txt"
Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
cmake .. `
      -D ODBC_INCLUDE_DIR="c:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/um" `
      -D ODBC_LIBRARY="c:/Program Files (x86)/Windows Kits/10/Lib/10.0.22621.0/um/x64/odbc32.lib" `
      -D MySQL_INCLUDE_DIR="c:/Program Files/MySQL/MySQL Server 9.3/include" `
      -D MySQL_LIBRARY="c:/Program Files/MySQL/MySQL Server 9.3/lib/libmysql.lib" `
      -D OPENSLIDE_INCLUDE_DIR="c:/msys64/usr/local/openslide/include" `
      -D OPENSLIDE_LIBRARY="c:/msys64/usr/local/openslide/lib/libopenslide.lib" `
      -D CMAKE_MODULE_PATH="c:/dev/OpenVDB/lib/cmake/OpenVDB" `
      -D CMAKE_INSTALL_PREFIX="c:/dev/VTK" `
      -D LibArchive_INCLUDE_DIR="c:/dev/libarchive/include" `
      -D LibArchive_LIBRARY="c:/dev/libarchive/lib/archive.lib" `
      -D JsonCpp_INCLUDE_DIR="c:/dev/jsoncpp/include" `
      -D JsonCpp_LIBRARY="c:/dev/jsoncpp/lib/jsoncpp.lib" `
      -D CMAKE_BUILD_TYPE=Release `
      -D BUILD_SHARED_LIBS=ON `
      -D VTK_BUILD_ALL_MODULES=ON `
      -D VTK_USE_MPI=ON `
      -D VTK_MODULE_USE_EXTERNAL_VTK_jsoncpp=ON `
      -D VTK_MODULE_ENABLE_VTK_MomentInvariants=NO `
      -D VTK_MODULE_ENABLE_VTK_RenderingLookingGlass=NO `
      -D VTK_MODULE_ENABLE_VTK_RenderingOpenXRRemoting=NO `
      -D VTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig=NO `
      -D VTK_MODULE_ENABLE_VTK_IOPDAL=NO `
      -D VTK_MODULE_ENABLE_VTK_GUISupportMFC=NO `
      | Tee-Object -FilePath "output.txt"
Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
cmake .. `
  -G "Visual Studio 17 2022" -A x64 `
  -D CMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake `
  -D CMAKE_INSTALL_PREFIX=C:/dev/VTK `
  -D CMAKE_BUILD_TYPE=Release `
  -D BUILD_SHARED_LIBS=ON `
  -D VTK_BUILD_ALL_MODULES=ON `
  -D VTK_BUILD_EXAMPLES=ON `
  -D VTK_BUILD_TESTING=ON `
  -D VTK_MODULE_ENABLE_VTK_RenderingOpenXRRemoting=NO `
  -D ODBC_INCLUDE_DIR="c:/Program Files (x86)/Windows Kits/10/Include/10.0.26100.0/um" `
  -D ODBC_LIBRARY="c:/Program Files (x86)/Windows Kits/10/Lib/10.0.26100.0/um/x64/odbc32.lib" `
  -D MySQL_INCLUDE_DIR="c:/Program Files/MySQL/MySQL Server 9.5/include" `
  -D MySQL_LIBRARY="c:/Program Files/MySQL/MySQL Server 9.5/lib/libmysql.lib" `
  -D VTK_MODULE_ENABLE_VTK_GUISupportMFC=NO `
  -D OPENSLIDE_INCLUDE_DIR="c:/dev/openslide/include" `
  -D OPENSLIDE_LIBRARY="c:/dev/openslide/lib/libopenslide.lib" `
  | Tee-Object -FilePath "output.txt"
Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
cmake .. `
  -G "Visual Studio 17 2022" -A x64 `
  -D CMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake `
  -D CMAKE_INSTALL_PREFIX=C:/dev/VTK `
  -D CMAKE_BUILD_TYPE=Release `
  -D BUILD_SHARED_LIBS=ON `
  -D VTK_BUILD_ALL_MODULES=ON `
  -D VTK_BUILD_EXAMPLES=ON `
  -D VTK_BUILD_TESTING=ON `
  -D VTK_MODULE_ENABLE_VTK_RenderingOpenXRRemoting=NO `
  -D VTK_MODULE_ENABLE_VTK_FiltersParallelVerdict=YES `
  -D VTK_MODULE_ENABLE_VTK_IOPIO=YES `
  -D MySQL_INCLUDE_DIR="c:/Program Files/MySQL/MySQL Server 9.5/include" `
  -D MySQL_LIBRARY="c:/Program Files/MySQL/MySQL Server 9.5/lib/libmysql.lib" `
  -D ODBC_INCLUDE_DIR="c:/Program Files (x86)/Windows Kits/10/Include/10.0.26100.0/um" `
  -D ODBC_LIBRARY="c:/Program Files (x86)/Windows Kits/10/Lib/10.0.26100.0/um/x64/odbc32.lib" `
  -D VTK_MODULE_ENABLE_VTK_GUISupportMFC=NO `
  -D OPENSLIDE_INCLUDE_DIR="c:/dev/openslide/include" `
  -D OPENSLIDE_LIBRARY="c:/dev/openslide/lib/libopenslide.lib" `
  | Tee-Object -FilePath "output.txt"
Text Only
1
2
3
4
CMake Error at CMakeLists.txt:567 (message):
  Please reconfigure VTK with the following parameters to add required
  modules: -DVTK_MODULE_ENABLE_VTK_FiltersParallelVerdict=WANT
  -DVTK_MODULE_ENABLE_VTK_IOPIO=WANT
Text Only
1
2
3
4
5
6
7
8
9
PS C:\Users\eric> choco upgrade chocolatey
Chocolatey v2.5.1
Upgrading the following packages:
chocolatey
By upgrading, you accept licenses for the packages.
chocolatey v2.5.1 is the latest version available based on your source(s).

Chocolatey upgraded 0/1 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
PS C:\Users\eric> choco install xsltproc
Chocolatey v2.5.1
Installing the following packages:
xsltproc
By installing, you accept licenses for the packages.
Downloading package from source 'https://community.chocolatey.org/api/v2/'
Progress: Downloading xsltproc 1.1.28.0... 100%

Added C:\ProgramData\chocolatey\bin\xsltproc.exe shim pointed to '..\lib\xsltproc\tools\xsltproc.bat'.
 ShimGen has successfully created a shim for iconv.exe
 ShimGen has successfully created a shim for xmlcatalog.exe
 ShimGen has successfully created a shim for xmllint.exe
 The install of xsltproc was successful.
  Deployed to 'C:\ProgramData\chocolatey\lib\xsltproc\tools\..\dist'

Chocolatey installed 1/1 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Text Only
1
2
3
4
5
6
7
cmake ..
cmake --build . --parallel 4 --config Release
cmake --install .  --config Release
or
cmake --install .
or 
cmake --install . --prefix "c:/dev/VTK/"  --config Release
Text Only
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
VTK::CommonCore
VTK::FiltersGeneral
VTK::FiltersHybrid
VTK::vtksys
VTK::AcceleratorsVTKmFilters
VTK::IOXdmf2
VTK::IOCGNSReader
VTK::DomainsChemistry
VTK::FiltersAMR
VTK::FiltersCellGrid
VTK::FiltersCore
VTK::FiltersExtraction
VTK::FiltersFlowPaths
VTK::FiltersGeneric
VTK::FiltersGeometry
VTK::FiltersHyperTree
VTK::FiltersModeling
VTK::FiltersParallel
VTK::FiltersParallelDIY2
VTK::FiltersParallelVerdict
VTK::FiltersSources
VTK::FiltersStatistics
VTK::FiltersTemporal
VTK::FiltersTensor
VTK::FiltersTexture
VTK::FiltersVerdict
VTK::ImagingCore
VTK::ImagingFourier
VTK::ImagingGeneral
VTK::ImagingHybrid
VTK::ImagingSources
VTK::IOAsynchronous
VTK::IOChemistry
VTK::IOGeometry
VTK::IOImage
VTK::IOInfovis
VTK::IOLegacy
VTK::IOParallel
VTK::IOParallelXML
VTK::IOPLY
VTK::IOVPIC
VTK::IOXML
VTK::IOAMR
VTK::IOAvmesh
VTK::IOCellGrid
VTK::IOCityGML
VTK::IOCONVERGECFD
VTK::IOERF
VTK::IOFDS
VTK::IOIOSS
VTK::IOLANLX3D
VTK::IOH5part
VTK::IOH5Rage
VTK::IONetCDF
VTK::IOOggTheora
VTK::IOOMF
VTK::IOParallelExodus
VTK::IOParallelLSDyna
VTK::IOPIO
VTK::IOHDF
VTK::IOSegY
VTK::IOTRUCHAS
VTK::IOVeraOut
VTK::IOTecplotTable
VTK::IOFLUENTCFF
VTK::RenderingCellGrid
VTK::RenderingFreeType
VTK::WrappingTools
VTK::CommonDataModel
VTK::FiltersPoints
VTK::ParallelCore
VTK::CommonSystem
VTK::CommonExecutionModel
VTK::IOEnSight
VTK::IOCore
VTK::cgns
VTK::FiltersParallelStatistics
VTK::GUISupportQt
VTK::IOImport
VTK::jsoncpp
VTK::nlohmannjson
VTK::ChartsCore
VTK::pugixml
VTK::IOExportGL2PS
VTK::cli11
VTK::TestingRendering
VTK::netcdf
VTK::FiltersGeometryPreview
VTK::GeovisCore
VTK::IOMovie
VTK::CommonComputationalGeometry
VTK::IOExport
VTK::CommonMisc
VTK::fmt
VTK::RenderingAnnotation
VTK::RenderingContext2D
VTK::RenderingCore
VTK::RenderingGridAxes
VTK::RenderingParallel
VTK::ViewsContext2D
VTK::ViewsCore
VTK::CommonColor
VTK::DomainsChemistryOpenGL2
VTK::glad
VTK::InteractionStyle
VTK::RenderingContextOpenGL2
VTK::RenderingLICOpenGL2
VTK::RenderingLabel
VTK::RenderingOpenGL2
VTK::RenderingVolumeAMR
VTK::zlib
VTK::lz4
VTK::RenderingVolume
VTK::CommonMath
VTK::FiltersImaging
VTK::doubleconversion
VTK::loguru
Text Only
1
2
cd ThirdParty/QtTesting
git clone https://gitlab.kitware.com/utils/vtkqttesting.git vtkqttesting
Text Only
1
2
cd ThirdParty/QtTesting
git clone https://github.com/Kitware/QtTesting.git vtkqttesting
Text Only
1
2
3
4
5
6
7
8
9
# 查看所有 tag(正式 release 版本通常都在 tag 里)
git tag -l           # 列出所有 tag
git tag -l "v5.11.*" # 模糊搜索,比如只看 5.11 系列

# 查看所有分支(本地 + 远程)
git branch -a        # 带 remotes/origin/ 的就是远程分支

# 查看最新的几个 tag(按时间倒序)
git tag -l --sort=-version:refname | head -20
Text Only
1
2
3
4
5
6
7
# 推荐写法(会创建一个新分支,避免 detached HEAD)
git checkout -b paraview-6.0.1 tags/v6.0.1
# 或者简写(ParaView 的 tag 通常是 v5.x.x)
git checkout -b pv-6.0.1 v6.0.1

# 如果你不在乎 detached HEAD,直接切(只读用,没问题)
git checkout v6.0.1
Text Only
1
2
PS C:\Users\eric> cd d:\work\paraview_work\ParaView\VTK\
git checkout v9.5.2

ubuntu cmake 1

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
cmake .. \
      -D CMAKE_BUILD_TYPE=Release \
      -D BUILD_SHARED_LIBS=ON \
      -D VTK_BUILD_ALL_MODULES=ON \
      -D VTK_USE_MPI=ON \
      -D VTK_MODULE_USE_EXTERNAL_VTK_jsoncpp=ON \
      -D VTK_MODULE_ENABLE_VTK_MomentInvariants=NO \
      -D VTK_MODULE_ENABLE_VTK_RenderingLookingGlass=NO \
      -D VTK_MODULE_ENABLE_VTK_RenderingOpenXRRemoting=NO \
      -D VTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig=NO \
      -D VTK_MODULE_ENABLE_VTK_IOPDAL=NO \
      -D VTK_MODULE_ENABLE_VTK_GUISupportMFC=NO \
      | tee output.txt

ubuntu cmake 2

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
cmake .. \
      -D ODBC_INCLUDE_DIR="c:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/um" \
      -D ODBC_LIBRARY="c:/Program Files (x86)/Windows Kits/10/Lib/10.0.22621.0/um/x64/odbc32.lib" \
      -D MySQL_INCLUDE_DIR="c:/Program Files/MySQL/MySQL Server 9.3/include" \
      -D MySQL_LIBRARY="c:/Program Files/MySQL/MySQL Server 9.3/lib/libmysql.lib" \
      -D OPENSLIDE_INCLUDE_DIR="c:/msys64/usr/local/openslide/include" `
      -D OPENSLIDE_LIBRARY="c:/msys64/usr/local/openslide/lib/libopenslide.lib" \
      -D CMAKE_MODULE_PATH="c:/dev/OpenVDB/lib/cmake/OpenVDB" \
      -D CMAKE_INSTALL_PREFIX="c:/dev/VTK" \
      -D LibArchive_INCLUDE_DIR="c:/dev/libarchive/include" \
      -D LibArchive_LIBRARY="c:/dev/libarchive/lib/archive.lib" \
      -D JsonCpp_INCLUDE_DIR="c:/dev/jsoncpp/include" \
      -D JsonCpp_LIBRARY="c:/dev/jsoncpp/lib/jsoncpp.lib" \
      -D CMAKE_BUILD_TYPE=Release \
      -D BUILD_SHARED_LIBS=ON \
      -D VTK_BUILD_ALL_MODULES=ON \
      -D VTK_USE_MPI=ON \
      -D VTK_MODULE_USE_EXTERNAL_VTK_jsoncpp=ON \
      -D VTK_MODULE_ENABLE_VTK_MomentInvariants=NO \
      -D VTK_MODULE_ENABLE_VTK_RenderingLookingGlass=NO \
      -D VTK_MODULE_ENABLE_VTK_RenderingOpenXRRemoting=NO \
      -D VTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig=NO \
      -D VTK_MODULE_ENABLE_VTK_IOPDAL=NO \
      -D VTK_MODULE_ENABLE_VTK_GUISupportMFC=NO \
      | tee output.txt

C++
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
my_bool
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;

typedef unsigned char u_int8_t;
typedef unsigned int u_int16_t;
typedef unsigned long int u_int32_t;
typedef unsigned long long int u_int64_t;
C++
1
2
3
4
5
6
7
8
vtk_module_add_module(VTK::IOOpenVDB
  CLASSES ${classes})
vtk_module_link(VTK::IOOpenVDB
  NO_KIT_EXPORT_IF_SHARED
  PRIVATE
    OpenVDB::openvdb
    Imath::Imath
    )
Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
-- Found Boost: C:/dev/boost_1_88_0/stage/lib/cmake/Boost-1.88.0/BoostConfig.cmake (found version "1.88.0")
-- Found OpenSlide: c:/msys64/usr/local/openslide/lib/libopenslide.lib
-- Found LibArchive: c:/dev/libarchive/lib/archive.lib (found version "3.9.0")
-- Configuring done (333.5s)
CMake Error at C:/dev/OPENXR/cmake/OpenXRTargets.cmake:59 (set_target_properties):
  The link interface of target "OpenXR::openxr_loader" contains:

    JsonCpp::JsonCpp

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  C:/dev/OPENXR/cmake/OpenXRConfig.cmake:34 (include)
  CMake/vtkModule.cmake:5351 (find_package)
  Rendering/OpenXR/CMakeLists.txt:1 (vtk_module_find_package)

CMakeLists.txt(OLD) d:\work\vtk2025\VTK-9.4.2\Rendering\OpenXR\

CMake
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
vtk_module_find_package(PACKAGE OpenXR)

set(classes
  vtkOpenXRRenderWindow
  vtkOpenXRRenderWindowInteractor
  vtkOpenXRCamera
  vtkOpenXRControlsHelper
  vtkOpenXRModel
  vtkOpenXRRenderer
  vtkOpenXRInteractorStyle)

set(nowrap_classes
  vtkOpenXRManager
  vtkOpenXRManagerGraphics
  vtkOpenXRManagerOpenGLGraphics
  vtkOpenXRManagerConnection
  )

set(nowrap_headers
  vtkOpenXR.h
  vtkOpenXRPlatform.h
  vtkOpenXRUtilities.h
  XrExtensions.h
  XrGraphicsExtensions.h
  )

vtk_module_add_module(VTK::RenderingOpenXR
  CLASSES ${classes}
  NOWRAP_CLASSES ${nowrap_classes}
  NOWRAP_HEADERS ${nowrap_headers}
  )

vtk_module_link(VTK::RenderingOpenXR
  PUBLIC
    OpenXR::openxr_loader
    OpenXR::headers)

set(openxr_input_files
  vtk_openxr_actions.json
  vtk_openxr_binding_htc_vive_controller.json
  vtk_openxr_binding_khr_simple_controller.json
  vtk_openxr_binding_hp_mixed_reality.json
  vtk_openxr_binding_knuckles.json
  vtk_openxr_binding_microsoft_hand_interaction.json
)

foreach(inputfile ${openxr_input_files})
  configure_file(
    ${CMAKE_CURRENT_SOURCE_DIR}/${inputfile}
    ${CMAKE_CURRENT_BINARY_DIR}/${inputfile}
    COPYONLY)
endforeach()

install(
  FILES ${openxr_input_files}
  DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/xr_actions/"
  COMPONENT   runtime
)
vtk_add_test_mangling(VTK::RenderingOpenXR)

CMakeLists.txt(NEW)

CMake
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
vtk_module_find_package(PACKAGE OpenXR)
vtk_module_find_package(PRIVATE_IF_SHARED
  PACKAGE JsonCpp)

set(classes
  vtkOpenXRRenderWindow
  vtkOpenXRRenderWindowInteractor
  vtkOpenXRCamera
  vtkOpenXRControlsHelper
  vtkOpenXRModel
  vtkOpenXRRenderer
  vtkOpenXRInteractorStyle)

set(nowrap_classes
  vtkOpenXRManager
  vtkOpenXRManagerGraphics
  vtkOpenXRManagerOpenGLGraphics
  vtkOpenXRManagerConnection
  )

set(nowrap_headers
  vtkOpenXR.h
  vtkOpenXRPlatform.h
  vtkOpenXRUtilities.h
  XrExtensions.h
  XrGraphicsExtensions.h
  )

vtk_module_add_module(VTK::RenderingOpenXR
  CLASSES ${classes}
  NOWRAP_CLASSES ${nowrap_classes}
  NOWRAP_HEADERS ${nowrap_headers}
  )

vtk_module_link(VTK::RenderingOpenXR
  PUBLIC
    OpenXR::openxr_loader
    OpenXR::headers)

set(openxr_input_files
  vtk_openxr_actions.json
  vtk_openxr_binding_htc_vive_controller.json
  vtk_openxr_binding_khr_simple_controller.json
  vtk_openxr_binding_hp_mixed_reality.json
  vtk_openxr_binding_knuckles.json
  vtk_openxr_binding_microsoft_hand_interaction.json
)

foreach(inputfile ${openxr_input_files})
  configure_file(
    ${CMAKE_CURRENT_SOURCE_DIR}/${inputfile}
    ${CMAKE_CURRENT_BINARY_DIR}/${inputfile}
    COPYONLY)
endforeach()

install(
  FILES ${openxr_input_files}
  DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/xr_actions/"
  COMPONENT   runtime
)
vtk_add_test_mangling(VTK::RenderingOpenXR)

IO\MySQL

vtkMySQLQuery.cxx

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
D:\work\vtk2025\VTK-9.4.2\IO\MySQL\vtkMySQLQuery.cxx(93,11): error C3646: “IsNull”: 未知重写说明符 [D:\work\vtk2025\VTK-9.4.2\
build\IO\MySQL\IOMySQL.vcxproj]
  my_bool IsNull;                 // Is this parameter nullptr?
  my_bool IsUnsigned;             // For integer types, is it unsigned?
  char* Data;                     // Buffer holding actual data
  unsigned long BufferSize;       // Buffer size
  unsigned long DataLength;       // Size of the data in the buffer (must
                                  // be less than or equal to BufferSize)
  my_bool HasError;               // for the server to report truncation
  enum enum_field_types DataType; // MySQL data type for the contained data
==>
  bool IsNull;                 // Is this parameter nullptr?
  bool IsUnsigned;             // For integer types, is it unsigned?
  char* Data;                     // Buffer holding actual data
  unsigned long BufferSize;       // Buffer size
  unsigned long DataLength;       // Size of the data in the buffer (must
                                  // be less than or equal to BufferSize)
  bool HasError;               // for the server to report truncation
  enum enum_field_types DataType; // MySQL data type for the contained data

vtkMySQLDatabase.cxx

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
D:\work\vtk2025\VTK-9.4.2\IO\MySQL\vtkMySQLDatabase.cxx(127,5): error C2065: “my_bool”: 未声明的标识符 [D:\work\vtk2025\VTK-9.
4.2\build\IO\MySQL\IOMySQL.vcxproj]
  if (this->Reconnect)
  {
    my_bool recon = true;
    mysql_options(&this->Private->NullConnection, MYSQL_OPT_RECONNECT, &recon);
  }
==>
  if (this->Reconnect)
  {
    bool recon = true;
    mysql_options(&this->Private->NullConnection, MYSQL_OPT_RECONNECT, &recon);
  }  

### IO\OpenVDB\

vtkOpenVDBWriter.obj

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
vtkOpenVDBWriter.obj : error LNK2019: 无法解析的外部符号 imath_half_to_float_table,函数 "void __cdecl openvdb::v12_0::io::writeCom
pressedValues<float,class openvdb::v12_0::util::NodeMask<3> >(class std::basic_ostream<char,struct std::char_traits<cha
r> > &,float *,unsigned int,class openvdb::v12_0::util::NodeMask<3> const &,class openvdb::v12_0::util::NodeMask<3> con
st &,bool)" (??$writeCompressedValues@MV?$NodeMask@$02@util@v12_0@openvdb@@@io@v12_0@openvdb@@YAXAEAV?$basic_ostream@DU
?$char_traits@D@std@@@std@@PEAMIAEBV?$NodeMask@$02@util@12@2_N@Z) 中引用了该符号 [D:\work\vtk2025\VTK-9.4.2\build\IO\OpenVDB\I
OOpenVDB.vcxproj]
vtkOpenVDBReader.obj : error LNK2001: 无法解析的外部符号 imath_half_to_float_table [D:\work\vtk2025\VTK-9.4.2\build\IO\OpenVDB\I
OOpenVDB.vcxproj]
D:\work\vtk2025\VTK-9.4.2\build\bin\Release\vtkIOOpenVDB-9.4.dll : fatal error LNK1120: 1 个无法解析的外部命令 [D:\work\vtk2025\V
TK-9.4.2\build\IO\OpenVDB\IOOpenVDB.vcxproj]

CMake
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Resolve the OpenVDB external dependency
find_path(OpenVDB_CMAKE_PATH
  NAMES FindOpenVDB.cmake
  DOC "Path to OpenVDB CMake files")
mark_as_advanced(OpenVDB_CMAKE_PATH)

list(INSERT CMAKE_MODULE_PATH 0
  "${OpenVDB_CMAKE_PATH}")
vtk_module_find_package(PRIVATE_IF_SHARED
  PACKAGE OpenVDB)

set(classes
  vtkOpenVDBWriter
  vtkOpenVDBReader)

vtk_module_add_module(VTK::IOOpenVDB
  CLASSES ${classes})
vtk_module_link(VTK::IOOpenVDB
  NO_KIT_EXPORT_IF_SHARED
  PRIVATE
    OpenVDB::openvdb)
vtk_add_test_mangling(VTK::IOOpenVDB)

==>

CMake
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Resolve the OpenVDB external dependency
find_path(OpenVDB_CMAKE_PATH
  NAMES FindOpenVDB.cmake
  DOC "Path to OpenVDB CMake files")
mark_as_advanced(OpenVDB_CMAKE_PATH)

list(INSERT CMAKE_MODULE_PATH 0
  "${OpenVDB_CMAKE_PATH}")
vtk_module_find_package(PRIVATE_IF_SHARED
  PACKAGE OpenVDB)
vtk_module_find_package(PRIVATE_IF_SHARED
  PACKAGE Imath)

set(classes
  vtkOpenVDBWriter
  vtkOpenVDBReader)

vtk_module_add_module(VTK::IOOpenVDB
  CLASSES ${classes})
vtk_module_link(VTK::IOOpenVDB
  NO_KIT_EXPORT_IF_SHARED
  PRIVATE
    OpenVDB::openvdb
    Imath::Imath
)
vtk_add_test_mangling(VTK::IOOpenVDB)

rendering\ANARI

vtkAnariRendererNode.cxx

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
D:\work\vtk2025\VTK-9.4.2\Rendering\ANARI\vtkAnariRendererNode.cxx(126,15): error C2065: “u_char”: 未声明的标识符 [D:\work\vtk
2025\VTK-9.4.2\build\Rendering\ANARI\RenderingAnari.vcxproj]
D:\work\vtk2025\VTK-9.4.2\Rendering\ANARI\vtkAnariRendererNode.cxx(583,41): error C2061: 语法错误: 标识符“uint” [D:\work\vtk20
25\VTK-9.4.2\build\Rendering\ANARI\RenderingAnari.vcxproj]

加入
#ifdef _WIN32
typedef unsigned char u_char;
typedef unsigned int uint;
#endif

vtkAnariPolyDataMapperNode.cxx

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
D:\work\vtk2025\VTK-9.4.2\Rendering\ANARI\vtkAnariPolyDataMapperNode.cxx(81,17): error C2065: “u_int”: 未声明的标识符 [D:\work
\vtk2025\VTK-9.4.2\build\Rendering\ANARI\RenderingAnari.vcxproj]
D:\work\vtk2025\VTK-9.4.2\Rendering\ANARI\vtkAnariPolyDataMapperNode.cxx(370,19): error C2065: “u_char”: 未声明的标识 符 [D:\wo
rk\vtk2025\VTK-9.4.2\build\Rendering\ANARI\RenderingAnari.vcxproj]
D:\work\vtk2025\VTK-9.4.2\Rendering\ANARI\vtkAnariPolyDataMapperNode.cxx(434,19): error C2065: “u_short”: 未声明的标识符 [D:\w
ork\vtk2025\VTK-9.4.2\build\Rendering\ANARI\RenderingAnari.vcxproj]
D:\work\vtk2025\VTK-9.4.2\Rendering\ANARI\vtkAnariPolyDataMapperNode.cxx(1550,41): error C2065: “u_int32_t”: 未声明的 标识符 [D
:\work\vtk2025\VTK-9.4.2\build\Rendering\ANARI\RenderingAnari.vcxproj]
加入
#ifdef _WIN32
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long int u_int32_t;
#endif

vtkAnariVolumeMapperNode.cxx

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
D:\work\vtk2025\VTK-9.4.2\Rendering\ANARI\vtkAnariVolumeMapperNode.cxx(190,30): error C2131: 表达式的计算结果不是常数 [D:\work\vtk2
025\VTK-9.4.2\build\Rendering\ANARI\RenderingAnari.vcxproj]

  // Color
  int colorSize = this->Owner->GetColorSize();
  float colorArray[colorSize * 3];
#ifdef _WIN32
std::vector<float> colorArray(colorSize * 3);
#else
float colorArray[colorSize * 3];
#endif

Release

Text Only
1
cmake --build . --parallel 4 --config Release

Install

Text Only
1
cmake --install . --prefix "c:/dev/VTK"  --config Release

or

Text Only
1
cmake --install . --prefix "c:/dev/VTK"  --config Debug

Text Only
1
$env:PATH = "c:/local/Qt/6.9.0/msvc2022_64/bin;" + $env:PATH

or

Text Only
1
c:\local\Qt\6.9.0\msvc2022_64\bin\windeployqt.exe .\Release
Text Only
1
2
3
4
VTK_MODULE_ENABLE_VTK_cli11
VTK_MODULE_USE_EXTERNAL_VTK_cli11
VTK_MODULE_ENABLE_VTK_FiltersParallelStatistics
IOFFMPEG
Text Only
1
2
VTK_MODULE_ENABLE_VTK_InfovisBoost
VTK_MODULE_ENABLE_VTK_InfovisBoostGraphAlgorithms

MPEG

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Search results:
[26 files and 0 directories found]
d:\work\vtk2025\codes\VTK-9.4.2\ThirdParty\theora\vtktheora\README
d:\work\vtk2025\codes\VTK-9.4.2\CMake\FindFFMPEG.cmake
d:\work\vtk2025\codes\VTK-9.4.2\CMake\vtkInstallFFMPEGPackage.cmake
d:\work\vtk2025\codes\VTK-9.4.2\ThirdParty\libproj\vtklibproj\src\iso191111\operation\parmappings.cpp
d:\work\vtk2025\codes\VTK-9.4.2\IO\FFMPEG\Testing\Cxx\TestFFMPEGVideoSource.cxx
d:\work\vtk2025\codes\VTK-9.4.2\IO\FFMPEG\Testing\Cxx\TestFFMPEGVideoSourceWithAudio.cxx
d:\work\vtk2025\codes\VTK-9.4.2\IO\FFMPEG\Testing\Cxx\TestFFMPEGWriter.cxx
d:\work\vtk2025\codes\VTK-9.4.2\IO\FFMPEG\vtkFFMPEGVideoSource.cxx
d:\work\vtk2025\codes\VTK-9.4.2\IO\FFMPEG\vtkFFMPEGWriter.cxx
d:\work\vtk2025\codes\VTK-9.4.2\IO\Movie\vtkFFMPEG\vtkFFMPEGWriter.cxx
d:\work\vtk2025\codes\VTK-9.4.2\Rendering\FFMPEGOpenGL2\Testing\Cxx\TestMovieSphere.cxx
d:\work\vtk2025\codes\VTK-9.4.2\Rendering\FFMPEGOpenGL2\vtkOpenGLMovieSphere.cxx
d:\work\vtk2025\codes\VTK-9.4.2\IO\FFMPEG\vtkFFMPEGVideoSource.h
d:\work\vtk2025\codes\VTK-9.4.2\IO\FFMPEG\vtkFFMPEGVideoSource.h
d:\work\vtk2025\codes\VTK-9.4.2\IO\FFMPEG\vtkFFMPEGWriter.h
d:\work\vtk2025\codes\VTK-9.4.2\Ogg\Theora\vtkOggTheoraWriter.h
d:\work\vtk2025\codes\VTK-9.4.2\Rendering\FFMPEGOpenGL2\vtkOpenGLMovieSphere.h
d:\work\vtk2025\codes\VTK-9.4.2\ThirdParty\jpeg\vtkjpeg\README.jg
d:\work\vtk2025\codes\VTK-9.4\Documentation\docs\build_instructions\build.md
d:\work\vtk2025\codes\VTK-9.4\Documentation\release\9.2.md
d:\work\vtk2025\codes\VTK-9.4\IO\FFMPEG\vtk.module
d:\work\vtk2025\codes\VTK-9.4\Rendering\FFMPEGOpenGL2\vtk_module
d:\work\vtk2025\codes\VTK-9.4.2\CMake\vtkcppcheck_Suppressions.txt
d:\work\vtk2025\codes\VTK-9.4\IO\FFMPEG\CMakeLists.txt
d:\work\vtk2025\codes\VTK-9.4\IO\FFMPEG\Testing\Cxx\CMakeLists.txt
d:\work\vtk2025\codes\VTK-9.4\Rendering\FFMPEGOpenGL2\Testing\Cxx\CMakeLists.txt

VTK_USE_MPEG2_ENCODER

Text Only
1
2
Search results:
[No files found]

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Search results:
[23 files and 0 directories found]
d:\work\vtk2025\VTK-8.2.0\CMake\FindFFMPEG.cmake
d:\work\vtk2025\VTK-8.2\CMake\FindFFMPEG2.cmake
d:\work\vtk2025\VTK-8.2\CMake\VTKcppcheck_Suppressions.txt
d:\work\vtk2025\VTK-8.2\CMake\vtkTestFFMPEG.cmake
d:\work\vtk2025\VTK-8.2\Common\Core\vtkToolkit.h.in
d:\work\vtk2025\VTK-8.2\IO\FFMPEG\CMakeLists.txt
d:\work\vtk2025\VTK-8.2\IO\FFMPEG\module.cmake
d:\work\vtk2025\VTK-8.2\IO\FFMPEG\Testing\Cxx\CMakeLists.txt
d:\work\vtk2025\VTK-8.2\IO\FFMPEG\Testing\Cxx\TestFFMPEGVideoSource.cxx
d:\work\vtk2025\VTK-8.2\IO\FFMPEG\Testing\Cxx\TestFFMPEGVideoSourceWithAudio.cxx
d:\work\vtk2025\VTK-8.2\IO\FFMPEG\vtkFFMPEGConfig.h.in
d:\work\vtk2025\VTK-8.2\IO\FFMPEG\vtkFFMPEGVideoSource.cxx
d:\work\vtk2025\VTK-8.2\IO\FFMPEG\vtkFFMPEGVideoSource.h
d:\work\vtk2025\VTK-8.2\IO\FFMPEG\vtkFFMPEGWriter.cxx
d:\work\vtk2025\VTK-8.2\IO\FFMPEG\vtkFFMPEGWriter.h
d:\work\vtk2025\VTK-8.2\IO\Movie\vtkOggTheoraWriter.h
d:\work\vtk2025\VTK-8.2\ThirdParty\glew\vtkglew\include\GL\glew.h
d:\work\vtk2025\VTK-8.2\ThirdParty\glew\vtkglew\src\glewinfo.c
d:\work\vtk2025\VTK-8.2\ThirdParty\glew\vtkglew\src\glewinfo.c
d:\work\vtk2025\VTK-8.2\ThirdParty\jpeg\vtkjpeg\README
d:\work\vtk2025\VTK-8.2\ThirdParty\theora\vtktheora\README
d:\work\vtk2025\VTK-8.2\Wrapping\Python\CMakeLists.txt

VTK_USE_MPEG2_ENCODER

Text Only
1
2
3
4
Search results:
[2 files and 0 directories found]
d:\work\vtk2025\VTK-8.2.0\CMake\FindMPEG2.cmake
d:\work\vtk2025\VTK-8.2.0\Common\Core\vtkToolkits.h.in

GenericClip: examples/Filtering/GenericClip

CMake
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
cmake_minimum_required(VERSION 3.12 FATAL_ERROR)

project(GenericClip)

find_package(VTK COMPONENTS 
  CommonColor
  CommonCore
  CommonDataModel
  FiltersCore
  FiltersGeneric
  FiltersSources
  ImagingHybrid
  InteractionStyle
  RenderingContextOpenGL2
  RenderingCore
  RenderingFreeType
  RenderingGL2PSOpenGL2
  RenderingOpenGL2
  TestingGenericBridge
)

if (NOT VTK_FOUND)
  message(FATAL_ERROR "GenericClip: Unable to find the VTK build folder.")
endif()

# Prevent a "command line is too long" failure in Windows.
set(CMAKE_NINJA_FORCE_RESPONSE_FILE "ON" CACHE BOOL "Force Ninja to use response files.")
add_executable(GenericClip MACOSX_BUNDLE GenericClip.cxx )
  target_link_libraries(GenericClip PRIVATE ${VTK_LIBRARIES}
)
# vtk_module_autoinit is needed
vtk_module_autoinit(
  TARGETS GenericClip
  MODULES ${VTK_LIBRARIES}
)

output

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
PS D:\work\vtk_2024_work\ModernVTK\codes\examples\Filtering\GenericClip\01\build> cmake ..;cmake --build . --parallel 4 --config Release
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.
-- The C compiler identification is MSVC 19.43.34810.0
-- The CXX compiler identification is MSVC 19.43.34810.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/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/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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
CMake Warning at CMakeLists.txt:6 (find_package):
  Found package configuration file:

    C:/dev/VTK/lib/cmake/vtk-9.4/vtk-config.cmake

  but it set VTK_FOUND to FALSE so package "VTK" is considered to be NOT
  FOUND.  Reason given by package:

  Could not find the VTK package with the following required components:
  TestingGenericBridge.



CMake Error at CMakeLists.txt:24 (message):
  GenericClip: Unable to find the VTK build folder.


-- Configuring incomplete, errors occurred!
适用于 .NET Framework MSBuild 版本 17.13.19+0d9f5a35a
MSBUILD : error MSB1009: 项目文件不存在。
开关:ALL_BUILD.vcxproj

LinearCellDemo: examples/GeometricObjects/LinearCellDemo

CMake
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
cmake_minimum_required(VERSION 3.12 FATAL_ERROR)

project(LinearCellDemo)

find_package(VTK COMPONENTS 
  CommonColor
  CommonCore
  CommonDataModel
  FiltersSources
  InteractionStyle
  RenderingContextOpenGL2
  RenderingCore
  RenderingFreeType
  RenderingGL2PSOpenGL2
  RenderingLabel
  RenderingOpenGL2
  cli11
)

if (NOT VTK_FOUND)
  message(FATAL_ERROR "LinearCellDemo: Unable to find the VTK build folder.")
endif()

# Prevent a "command line is too long" failure in Windows.
set(CMAKE_NINJA_FORCE_RESPONSE_FILE "ON" CACHE BOOL "Force Ninja to use response files.")
add_executable(LinearCellDemo MACOSX_BUNDLE LinearCellDemo.cxx )
  target_link_libraries(LinearCellDemo PRIVATE ${VTK_LIBRARIES}
)
# vtk_module_autoinit is needed
vtk_module_autoinit(
  TARGETS LinearCellDemo
  MODULES ${VTK_LIBRARIES}
)

output

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
PS D:\work\vtk_2024_work\ModernVTK\codes\examples\GeometricObjects\LinearCellDemo\01\build> cmake ..;cmake --build . --parallel 4 --config Release
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.
-- The C compiler identification is MSVC 19.43.34810.0
-- The CXX compiler identification is MSVC 19.43.34810.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/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/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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
CMake Warning at CMakeLists.txt:6 (find_package):
  Found package configuration file:

    C:/dev/VTK/lib/cmake/vtk-9.4/vtk-config.cmake

  but it set VTK_FOUND to FALSE so package "VTK" is considered to be NOT
  FOUND.  Reason given by package:

  Could not find the VTK package with the following required components:
  cli11.



CMake Error at CMakeLists.txt:22 (message):
  LinearCellDemo: Unable to find the VTK build folder.


-- Configuring incomplete, errors occurred!
适用于 .NET Framework MSBuild 版本 17.13.19+0d9f5a35a
MSBUILD : error MSB1009: 项目文件不存在。
开关:ALL_BUILD.vcxproj

ParametricObjectsDemo: examples/GeometricObjects/ParametricObjectsDemo

CMake
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
cmake_minimum_required(VERSION 3.12 FATAL_ERROR)

project(ParametricObjectsDemo)

find_package(VTK COMPONENTS 
  CommonColor
  CommonComputationalGeometry
  CommonCore
  FiltersCore
  FiltersSources
  IOImage
  InteractionStyle
  RenderingContextOpenGL2
  RenderingCore
  RenderingFreeType
  RenderingGL2PSOpenGL2
  RenderingOpenGL2
  cli11
  fmt
)

if (NOT VTK_FOUND)
  message(FATAL_ERROR "ParametricObjectsDemo: Unable to find the VTK build folder.")
endif()

# Prevent a "command line is too long" failure in Windows.
set(CMAKE_NINJA_FORCE_RESPONSE_FILE "ON" CACHE BOOL "Force Ninja to use response files.")
add_executable(ParametricObjectsDemo MACOSX_BUNDLE ParametricObjectsDemo.cxx )
  target_link_libraries(ParametricObjectsDemo PRIVATE ${VTK_LIBRARIES}
)
# vtk_module_autoinit is needed
vtk_module_autoinit(
  TARGETS ParametricObjectsDemo
  MODULES ${VTK_LIBRARIES}
)

output

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
PS D:\work\vtk_2024_work\ModernVTK\codes\examples\GeometricObjects\ParametricObjectsDemo\01\build> cmake ..;cmake --build . --parallel 4 --config Release
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.
-- The C compiler identification is MSVC 19.43.34810.0
-- The CXX compiler identification is MSVC 19.43.34810.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/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/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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
CMake Warning at CMakeLists.txt:6 (find_package):
  Found package configuration file:

    C:/dev/VTK/lib/cmake/vtk-9.4/vtk-config.cmake

  but it set VTK_FOUND to FALSE so package "VTK" is considered to be NOT
  FOUND.  Reason given by package:

  Could not find the VTK package with the following required components:
  cli11.



CMake Error at CMakeLists.txt:24 (message):
  ParametricObjectsDemo: Unable to find the VTK build folder.


-- Configuring incomplete, errors occurred!
适用于 .NET Framework MSBuild 版本 17.13.19+0d9f5a35a
MSBUILD : error MSB1009: 项目文件不存在。
开关:ALL_BUILD.vcxproj

Text Only
1
2
3
2025-05-12 17:49:04.559 (   0.249s) [8AB821A10DDBFA96]vtkTreeLayoutStrategy.c:72
ERR| vtkTreeLayoutStrategy (0000021B0B534600):
Layout only works on vtkTree if VTK::InfovisBoostGraphAlgorithms is available.

BoostBreadthFirstSearchTree: examples/Graphs/BoostBreadthFirstSearchTree

CMake
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
cmake_minimum_required(VERSION 3.12 FATAL_ERROR)

project(BoostBreadthFirstSearchTree)

find_package(VTK COMPONENTS 
  CommonCore
  CommonDataModel
  InfovisBoostGraphAlgorithms
  InteractionStyle
  RenderingContextOpenGL2
  RenderingCore
  RenderingFreeType
  RenderingGL2PSOpenGL2
  RenderingOpenGL2
  ViewsInfovis
)

if (NOT VTK_FOUND)
  message(FATAL_ERROR "BoostBreadthFirstSearchTree: Unable to find the VTK build folder.")
endif()

# Prevent a "command line is too long" failure in Windows.
set(CMAKE_NINJA_FORCE_RESPONSE_FILE "ON" CACHE BOOL "Force Ninja to use response files.")
add_executable(BoostBreadthFirstSearchTree MACOSX_BUNDLE BoostBreadthFirstSearchTree.cxx )
  target_link_libraries(BoostBreadthFirstSearchTree PRIVATE ${VTK_LIBRARIES}
)
# vtk_module_autoinit is needed
vtk_module_autoinit(
  TARGETS BoostBreadthFirstSearchTree
  MODULES ${VTK_LIBRARIES}
)
Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
PS D:\work\vtk_2024_work\ModernVTK\codes\examples\Graphs\BoostBreadthFirstSearchTree\01\build> cmake ..;cmake --build . --parallel 4 --config Release
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.
-- The C compiler identification is MSVC 19.43.34810.0
-- The CXX compiler identification is MSVC 19.43.34810.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/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/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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
CMake Warning at CMakeLists.txt:6 (find_package):
  Found package configuration file:

    C:/dev/VTK/lib/cmake/vtk-9.4/vtk-config.cmake

  but it set VTK_FOUND to FALSE so package "VTK" is considered to be NOT
  FOUND.  Reason given by package:

  Could not find the VTK package with the following required components:
  InfovisBoostGraphAlgorithms.



CMake Error at CMakeLists.txt:20 (message):
  BoostBreadthFirstSearchTree: Unable to find the VTK build folder.


-- Configuring incomplete, errors occurred!
适用于 .NET Framework MSBuild 版本 17.13.19+0d9f5a35a
MSBUILD : error MSB1009: 项目文件不存在。
开关:ALL_BUILD.vcxproj

FiltersParallelStatistics

CMake
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
cmake_minimum_required(VERSION 3.12 FATAL_ERROR)

project(PKMeansClustering)

find_package(VTK COMPONENTS 
  CommonCore
  CommonDataModel
  FiltersGeneral
  FiltersParallelStatistics
  IOXML
  InteractionStyle
  RenderingContextOpenGL2
  RenderingCore
  RenderingFreeType
  RenderingGL2PSOpenGL2
  RenderingOpenGL2
)

if (NOT VTK_FOUND)
  message(FATAL_ERROR "PKMeansClustering: Unable to find the VTK build folder.")
endif()

# Prevent a "command line is too long" failure in Windows.
set(CMAKE_NINJA_FORCE_RESPONSE_FILE "ON" CACHE BOOL "Force Ninja to use response files.")
add_executable(PKMeansClustering MACOSX_BUNDLE PKMeansClustering.cxx )
  target_link_libraries(PKMeansClustering PRIVATE ${VTK_LIBRARIES}
)
# vtk_module_autoinit is needed
vtk_module_autoinit(
  TARGETS PKMeansClustering
  MODULES ${VTK_LIBRARIES}
)

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
PS D:\work\vtk_2024_work\ModernVTK\codes\examples\InfoVis\PKMeansClustering\01\build> cmake ..;cmake --build . --parallel 4 --config Release
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.
-- The C compiler identification is MSVC 19.43.34810.0
-- The CXX compiler identification is MSVC 19.43.34810.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/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/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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
CMake Warning at CMakeLists.txt:6 (find_package):
  Found package configuration file:

    C:/dev/VTK/lib/cmake/vtk-9.4/vtk-config.cmake

  but it set VTK_FOUND to FALSE so package "VTK" is considered to be NOT
  FOUND.  Reason given by package:

  Could not find the VTK package with the following required components:
  FiltersParallelStatistics.



CMake Error at CMakeLists.txt:21 (message):
  PKMeansClustering: Unable to find the VTK build folder.


-- Configuring incomplete, errors occurred!
适用于 .NET Framework MSBuild 版本 17.13.19+0d9f5a35a
MSBUILD : error MSB1009: 项目文件不存在。
开关:ALL_BUILD.vcxproj
Text Only
1
2
3
4
PS D:\work\vtk_2024_work\ModernVTK\codes\examples\Math\VectorDot\01\build> .\Release\VectorDot.exe
Value 0 : -nan(ind)
Value 1 : inf
Value 2 : inf

Matlab\MatlabEngineFilter

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
PS D:\work\vtk_2024_work\ModernVTK\codes\examples\Matlab\MatlabEngineFilter\01\build> cmake ..;cmake --build . --parallel 4 --config Release
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.
-- The C compiler identification is MSVC 19.43.34810.0
-- The CXX compiler identification is MSVC 19.43.34810.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/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/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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
-- Configuring done (7.9s)
-- Generating done (0.0s)
-- Build files have been written to: D:/work/vtk_2024_work/ModernVTK/codes/examples/Matlab/MatlabEngineFilter/01/build
适用于 .NET Framework MSBuild 版本 17.13.19+0d9f5a35a

  1>Checking Build System
  Building Custom Rule D:/work/vtk_2024_work/ModernVTK/codes/examples/Matlab/MatlabEngineFilter/01/CMakeLists.txt
  MatlabEngineFilter.cxx
D:\work\vtk_2024_work\ModernVTK\codes\examples\Matlab\MatlabEngineFilter\01\MatlabEngineFilter.cxx(3,10): error C1083:
无法打开包括文件: “vtkMatlabEngineFilter.h”: No such file or directory [D:\work\vtk_2024_work\ModernVTK\codes\examples\Matlab\M
atlabEngineFilter\01\build\MatlabEngineFilter.vcxproj]

Points\CompareExtractSurface

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
PS D:\work\vtk_2024_work\ModernVTK\codes\examples\Points\CompareExtractSurface\01\build> cmake ..;cmake --build . --parallel 4 --config Release
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.
-- The C compiler identification is MSVC 19.43.34810.0
-- The CXX compiler identification is MSVC 19.43.34810.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/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/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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
-- Configuring done (8.0s)
-- Generating done (0.1s)
-- Build files have been written to: D:/work/vtk_2024_work/ModernVTK/codes/examples/Points/CompareExtractSurface/01/build
适用于 .NET Framework MSBuild 版本 17.13.19+0d9f5a35a

  1>Checking Build System
  Building Custom Rule D:/work/vtk_2024_work/ModernVTK/codes/examples/Points/CompareExtractSurface/01/CMakeLists.txt
  CompareExtractSurface.cxx
D:\work\vtk_2024_work\ModernVTK\codes\examples\Points\CompareExtractSurface\01\CompareExtractSurface.cxx(9,10): error C
1083: 无法打开包括文件: “vtkPoissonReconstruction.h”: No such file or directory [D:\work\vtk_2024_work\ModernVTK\codes\examples
\Points\CompareExtractSurface\01\build\CompareExtractSurface.vcxproj]

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
1. Verify VTK Installation
Ensure that VTK is properly installed and includes the vtkPoissonReconstruction module. The vtkPoissonReconstruction.h header is part of the vtkFiltersPoints module, which may not be included in a minimal VTK build.

Check VTK Installation:
Confirm that VTK is installed and built correctly on your system.
If you built VTK from source, ensure the VTK_MODULE_ENABLE_VTK_FiltersPoints option was enabled during the CMake configuration. Run cmake -L in your VTK build directory to list available modules and verify that VTK_FiltersPoints is enabled.
If you used a pre-built VTK binary, ensure it includes the vtkFiltersPoints module. Some pre-built distributions may exclude optional modules.
Rebuild VTK if Necessary: If the module is missing, reconfigure and rebuild VTK with CMake:
Open the CMake GUI or use the command line in your VTK source directory.
Set VTK_MODULE_ENABLE_VTK_FiltersPoints=ON.
Configure, generate, and rebuild VTK.
Install the rebuilt VTK to your desired location (e.g., C:\VTK or D:\VTK).

Points\PoissonExtractSurface

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
PS D:\work\vtk_2024_work\ModernVTK\codes\examples\Points\PoissonExtractSurface\01\build> cmake ..;cmake --build . --parallel 4 --config Release
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.
-- The C compiler identification is MSVC 19.43.34810.0
-- The CXX compiler identification is MSVC 19.43.34810.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/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/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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
-- Configuring done (8.0s)
-- Generating done (0.1s)
-- Build files have been written to: D:/work/vtk_2024_work/ModernVTK/codes/examples/Points/PoissonExtractSurface/01/build
适用于 .NET Framework MSBuild 版本 17.13.19+0d9f5a35a

  1>Checking Build System
  Building Custom Rule D:/work/vtk_2024_work/ModernVTK/codes/examples/Points/PoissonExtractSurface/01/CMakeLists.txt
  PoissonExtractSurface.cxx
  vtkPoissonReconstruction.cxx
D:\work\vtk_2024_work\ModernVTK\codes\examples\Points\PoissonExtractSurface\01\PoissonExtractSurface.cxx(12,10): error
C1083: 无法打开包括文件: “vtkPoissonReconstruction.h”: No such file or directory [D:\work\vtk_2024_work\ModernVTK\codes\example
s\Points\PoissonExtractSurface\01\build\PoissonExtractSurface.vcxproj]
D:\work\vtk_2024_work\ModernVTK\codes\examples\Points\PoissonExtractSurface\01\vtkPoissonReconstruction.h(38,10): error
 C1083: 无法打开包括文件: “PoissonReconstructionModule.h”: No such file or directory [D:\work\vtk_2024_work\ModernVTK\codes\exa
mples\Points\PoissonExtractSurface\01\build\PoissonExtractSurface.vcxproj]
  正在生成代码...
  (编译源文件“../vtkPoissonReconstruction.cxx”)

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
PS D:\work\vtk_2024_work\ModernVTK\codes\examples\Qt\BarChartQt\01\build> cmake ..;cmake --build . --parallel 4 --config Release
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.
-- The C compiler identification is MSVC 19.43.34810.0
-- The CXX compiler identification is MSVC 19.43.34810.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/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/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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
CMake Warning at CMakeLists.txt:11 (find_package):
  Found package configuration file:

    C:/dev/VTK/lib/cmake/vtk-9.4/vtk-config.cmake

  but it set VTK_FOUND to FALSE so package "VTK" is considered to be NOT
  FOUND.  Reason given by package:

  Could not find the VTK package with the following required components:
  GUISupportQt, RenderingQt.



CMake Error at CMakeLists.txt:28 (message):
  BarChartQt: Unable to find the VTK build folder.


-- Configuring incomplete, errors occurred!
适用于 .NET Framework MSBuild 版本 17.13.19+0d9f5a35a
MSBUILD : error MSB1009: 项目文件不存在。
开关:ALL_BUILD.vcxproj

StructuredGrid\BlankPoint

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
PS D:\work\vtk_2024_work\ModernVTK\codes\examples\StructuredGrid\BlankPoint\01\build> cmake ..;cmake --build . --parallel 4 --config Release
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.
-- The C compiler identification is MSVC 19.43.34810.0
-- The CXX compiler identification is MSVC 19.43.34810.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/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/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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
-- Configuring done (8.0s)
-- Generating done (0.1s)
-- Build files have been written to: D:/work/vtk_2024_work/ModernVTK/codes/examples/StructuredGrid/BlankPoint/01/build
适用于 .NET Framework MSBuild 版本 17.13.19+0d9f5a35a

  1>Checking Build System
  Building Custom Rule D:/work/vtk_2024_work/ModernVTK/codes/examples/StructuredGrid/BlankPoint/01/CMakeLists.txt
  BlankPoint.cxx
BlankPoint.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: static class vtkStructuredGridGeometryFilter *
 __cdecl vtkStructuredGridGeometryFilter::New(void)" (__imp_?New@vtkStructuredGridGeometryFilter@@SAPEAV1@XZ),函数 main 中
引用了该符号 [D:\work\vtk_2024_work\ModernVTK\codes\examples\StructuredGrid\BlankPoint\01\build\BlankPoint.vcxproj]
    已定义且可能匹配的符号上的提示:
      "__declspec(dllimport) public: static class vtkActor * __cdecl vtkActor::New(void)" (__imp_?New@vtkActor@@SAPEAV1
  @XZ)
      "__declspec(dllimport) public: static class vtkDataSetMapper * __cdecl vtkDataSetMapper::New(void)" (__imp_?New@v
  tkDataSetMapper@@SAPEAV1@XZ)
      "__declspec(dllimport) public: static class vtkNamedColors * __cdecl vtkNamedColors::New(void)" (__imp_?New@vtkNa
  medColors@@SAPEAV1@XZ)
      "__declspec(dllimport) public: static class vtkPoints * __cdecl vtkPoints::New(void)" (__imp_?New@vtkPoints@@SAPE
  AV1@XZ)
      "__declspec(dllimport) public: static class vtkRenderWindow * __cdecl vtkRenderWindow::New(void)" (__imp_?New@vtk
  RenderWindow@@SAPEAV1@XZ)
      "__declspec(dllimport) public: static class vtkRenderWindowInteractor * __cdecl vtkRenderWindowInteractor::New(vo
  id)" (__imp_?New@vtkRenderWindowInteractor@@SAPEAV1@XZ)
      "__declspec(dllimport) public: static class vtkRenderer * __cdecl vtkRenderer::New(void)" (__imp_?New@vtkRenderer
  @@SAPEAV1@XZ)
      "__declspec(dllimport) public: static class vtkStructuredGrid * __cdecl vtkStructuredGrid::New(void)" (__imp_?New
  @vtkStructuredGrid@@SAPEAV1@XZ)
D:\work\vtk_2024_work\ModernVTK\codes\examples\StructuredGrid\BlankPoint\01\build\Release\BlankPoint.exe : fatal error
LNK1120: 1 个无法解析的外部命令 [D:\work\vtk_2024_work\ModernVTK\codes\examples\StructuredGrid\BlankPoint\01\build\BlankPoint.vcx
proj]

Visualization\ExtrudePolyDataAlongLine

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
PS D:\work\vtk_2024_work\ModernVTK\codes\examples\Visualization\ExtrudePolyDataAlongLine\01\build> cmake ..;cmake --build . --parallel 4 --config Release
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.
-- The C compiler identification is MSVC 19.43.34810.0
-- The CXX compiler identification is MSVC 19.43.34810.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/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/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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
CMake Warning at CMakeLists.txt:6 (find_package):
  Found package configuration file:

    C:/dev/VTK/lib/cmake/vtk-9.4/vtk-config.cmake

  but it set VTK_FOUND to FALSE so package "VTK" is considered to be NOT
  FOUND.  Reason given by package:

  Could not find the VTK package with the following required components:
  SplineDrivenImageSlicer.



CMake Error at CMakeLists.txt:30 (message):
  ExtrudePolyDataAlongLine: Unable to find the VTK build folder.


-- Configuring incomplete, errors occurred!
适用于 .NET Framework MSBuild 版本 17.13.19+0d9f5a35a
MSBUILD : error MSB1009: 项目文件不存在。
开关:ALL_BUILD.vcxproj

VolumeRendering\OpenVRVolume

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
PS D:\work\vtk_2024_work\ModernVTK\codes\examples\VolumeRendering\OpenVRVolume\01\build> cmake ..;cmake --build . --parallel 4 --config Release
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.
-- The C compiler identification is MSVC 19.43.34810.0
-- The CXX compiler identification is MSVC 19.43.34810.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/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/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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
CMake Warning at CMakeLists.txt:5 (find_package):
  Found package configuration file:

    C:/dev/VTK/lib/cmake/vtk-9.4/vtk-config.cmake

  but it set VTK_FOUND to FALSE so package "VTK" is considered to be NOT
  FOUND.  Reason given by package:

  Could not find the VTK package with the following required components:
  RenderingOpenVR.



CMake Error at CMakeLists.txt:20 (message):
  OpenVRVolume: Unable to find the VTK build folder.


-- Configuring incomplete, errors occurred!
适用于 .NET Framework MSBuild 版本 17.13.26+f3741e9cf
MSBUILD : error MSB1009: 项目文件不存在。
开关:ALL_BUILD.vcxproj

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
200>D:\work\vtk2025\VTK-9.4.2\IO\FFMPEG\vtkFFMPEGVideoSource.cxx(75,7): warning C4996: 'avcodec_close': 被声明为已否决
200>D:\work\vtk2025\VTK-9.4.2\IO\FFMPEG\vtkFFMPEGVideoSource.cxx(80,7): warning C4996: 'avcodec_close': 被声明为已否决
198>  正在创建库 D:/work/vtk2025/VTK-9.4.2/build/lib/Release/vtkFiltersGeometryPreview-9.4.lib 和对象 D:/work/vtk2025/VTK-9.4.2/build/lib/Release/vtkFiltersGeometryPreview-9.4.exp
185>vtkImageCast.cxx
191>vtkBase64Utilities.cxx
184>  正在创建库 D:/work/vtk2025/VTK-9.4.2/build/lib/Release/vtkImagingMath-9.4.lib 和对象 D:/work/vtk2025/VTK-9.4.2/build/lib/Release/vtkImagingMath-9.4.exp
191>vtkDataCompressor.cxx
185>vtkImageChangeInformation.cxx
200>LINK : fatal error LNK1181: 无法打开输入文件“C:\msys64\usr\local\ffmpeg\lib\avformat.lib”
200>已完成生成项目“IOFFMPEG.vcxproj”的操作 - 失败。
198>FiltersGeometryPreview.vcxproj -> D:\work\vtk2025\VTK-9.4.2\build\bin\Release\vtkFiltersGeometryPreview-9.4.dll
184>ImagingMath.vcxproj -> D:\work\vtk2025\VTK-9.4.2\build\bin\Release\vtkImagingMath-9.4.dll
Text Only
1
290>LINK : fatal error LNK1181: 无法打开输入文件“..\..\lib\Release\vtkIOFFMPEG-9.4.lib”

VTK::opengl(VTK-9.4.2)

Text Only
1
2
3
4
5
6
7
8
Search results:
[5 files and 0 directories found]
- d:\work\vtk2025\codes\VTK-9.4.2\Documentation\release\9.4.md
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\CellGrid\vtk.module
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\ContextOpenGL2\vtk.module
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\OpenGL2\vtk.kit
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\OpenGL2\vtk.module
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\VolumeOpenGL2\vtk.module

VTK::opengl(VTK-9.3.1)

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
Search results:
[20 files and 0 directories found]
- d:\work\vtk2025\VTK-9.3.1\CMake\vtk-config.cmake.in
- d:\work\vtk2025\VTK-9.3.1\GUISupport\Qt\vtk.module
- d:\work\vtk2025\VTK-9.3.1\IO\Import\vtk.module
- d:\work\vtk2025\VTK-9.3.1\Rendering\CellGrid\vtk.module
- d:\work\vtk2025\VTK-9.3.1\Rendering\ContextOpenGL2\vtk.module
- d:\work\vtk2025\VTK-9.3.1\Rendering\External\vtk.module
- d:\work\vtk2025\VTK-9.3.1\Rendering\GL2PSOpenGL2\vtk.module
- d:\work\vtk2025\VTK-9.3.1\Rendering\LICOpenGL2\vtk.module
- d:\work\vtk2025\VTK-9.3.1\Rendering\OpenGL2\vtk.kit
- d:\work\vtk2025\VTK-9.3.1\Rendering\OpenGL2\vtk.module
- d:\work\vtk2025\VTK-9.3.1\Rendering\OpenVR\vtk.module
- d:\work\vtk2025\VTK-9.3.1\Rendering\OpenXR\vtk.module
- d:\work\vtk2025\VTK-9.3.1\Rendering\Parallel\vtk.module
- d:\work\vtk2025\VTK-9.3.1\Rendering\UI\vtk.module
- d:\work\vtk2025\VTK-9.3.1\Rendering\VolumeOpenGL2\vtk.module
- d:\work\vtk2025\VTK-9.3.1\Rendering\VR\vtk.module
- d:\work\vtk2025\VTK-9.3.1\ThirdParty\gl2ps\vtk.module
- d:\work\vtk2025\VTK-9.3.1\ThirdParty\glew\vtk.module
- d:\work\vtk2025\VTK-9.3.1\Utilities\OpenGL\CMakeLists.txt
- d:\work\vtk2025\VTK-9.3.1\Utilities\OpenGL\vtk.module

d:\work\vtk2025\VTK-9.3.1\Utilities\OpenGL\vtk.module

Text Only
1
2
3
4
5
NAME
  VTK::opengl
LIBRARY_NAME
  vtkopengl
THIRD_PARTY

vtk_modules=

Text Only
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
- VTK::DICOM
- VTK::SplineDrivenImageSlicer
- VTK::RenderingLookingGlass
- VTK::MomentInvariants
- VTK::WrappingTools
- VTK::WebGLExporter
- VTK::ViewsQt
- VTK::UtilitiesBenchmarks
- VTK::ViewsContext2D
- VTK::zfp
- VTK::loguru
- VTK::cli11
- VTK::TestingRendering
- VTK::TestingIOSQL
- VTK::TestingGenericBridge
- VTK::TestingDataModel
- VTK::TestingCore
- VTK::RenderingZSpace
- VTK::ViewsInfovis
- VTK::ViewsCore
- VTK::RenderingRayTracing
- VTK::RenderingVolumeAMR
- VTK::RenderingQt
- VTK::RenderingParallel
- VTK::RenderingOpenXRRemoting
- VTK::RenderingOpenXR
- VTK::RenderingOpenVR
- VTK::RenderingVR
- VTK::RenderingVRModels
- VTK::RenderingLabel
- VTK::octree
- VTK::RenderingLOD
- VTK::RenderingLICOpenGL2
- VTK::RenderingImage
- VTK::RenderingFreeTypeFontConfig
- VTK::RenderingFFMPEGOpenGL2
- VTK::RenderingExternal
- VTK::RenderingContextOpenGL2
- VTK::RenderingCellGrid
- VTK::RenderingAnari
- VTK::RenderingVolumeOpenGL2
- VTK::IOXdmf2
- VTK::xdmf2
- VTK::IOVeraOut
- VTK::IOVPIC
- VTK::vpic
- VTK::IOTecplotTable
- VTK::IOTRUCHAS
- VTK::IOSegY
- VTK::IOPostgreSQL
- VTK::IOXdmf3
- VTK::xdmf3
- VTK::IOParallelXML
- VTK::IOParallelLSDyna
- VTK::IOParallelExodus
- VTK::IOParallel
- VTK::IOPLY
- VTK::IOPIO
- VTK::IOPDAL
- VTK::IOOpenVDB
- VTK::IOOggTheora
- VTK::theora
- VTK::ogg
- VTK::IOOMF
- VTK::IOODBC
- VTK::IOOCCT
- VTK::IONetCDF
- VTK::IOMySQL
- VTK::IOMotionFX
- VTK::IOMINC
- VTK::IOLSDyna
- VTK::IOLAS
- VTK::IOImport
- VTK::IOIOSS
- VTK::ioss
- VTK::IOHDF
- VTK::IOH5part
- VTK::h5part
- VTK::IOH5Rage
- VTK::IOGeoJSON
- VTK::IOFides
- VTK::fides
- VTK::IOFLUENTCFF
- VTK::IOFFMPEG
- VTK::IOVideo
- VTK::IOMovie
- VTK::IOFDS
- VTK::IOInfovis
- VTK::libxml2
- VTK::IOExportPDF
- VTK::libharu
- VTK::IOExportGL2PS
- VTK::RenderingGL2PSOpenGL2
- VTK::gl2ps
- VTK::IOExodus
- VTK::exodusII
- VTK::netcdf
- VTK::IOEngys
- VTK::IOEnSight
- VTK::IOERF
- VTK::IOCityGML
- VTK::IOChemistry
- VTK::IOCesium3DTiles
- VTK::IOCONVERGECFD
- VTK::IOHDFTools
- VTK::IOCGNSReader
- VTK::cgns
- VTK::IOAsynchronous
- VTK::IOAlembic
- VTK::IOExport
- VTK::IOGeometry
- VTK::RenderingVtkJS
- VTK::jsoncpp
- VTK::RenderingSceneGraph
- VTK::IOAMR
- VTK::hdf5
- VTK::IOADIOS2
- VTK::InteractionImage
- VTK::InfovisLayout
- VTK::InfovisBoostGraphAlgorithms
- VTK::InfovisBoost
- VTK::ImagingStencil
- VTK::ImagingStatistics
- VTK::ImagingOpenGL2
- VTK::ImagingMorphological
- VTK::ImagingMath
- VTK::ImagingFourier
- VTK::GUISupportQtSQL
- VTK::IOSQL
- VTK::GUISupportQtQuick
- VTK::GUISupportQt
- VTK::InteractionWidgets
- VTK::RenderingVolume
- VTK::RenderingAnnotation
- VTK::InteractionStyle
- VTK::ImagingHybrid
- VTK::ImagingColor
- VTK::GUISupportMFC
- VTK::GeovisGDAL
- VTK::IOGDAL
- VTK::GeovisCore
- VTK::libproj
- VTK::sqlite
- VTK::FiltersTopology
- VTK::FiltersTensor
- VTK::FiltersSelection
- VTK::FiltersSMP
- VTK::FiltersReebGraph
- VTK::FiltersProgrammable
- VTK::FiltersPoints
- VTK::FiltersParallelStatistics
- VTK::FiltersParallelImaging
- VTK::FiltersParallelDIY2
- VTK::FiltersTemporal
- VTK::FiltersOpenTURNS
- VTK::FiltersImaging
- VTK::ImagingGeneral
- VTK::FiltersGeometryPreview
- VTK::FiltersGeneric
- VTK::FiltersFlowPaths
- VTK::FiltersAMR
- VTK::FiltersParallel
- VTK::FiltersTexture
- VTK::FiltersModeling
- VTK::DomainsMicroscopy
- VTK::DomainsChemistryOpenGL2
- VTK::RenderingOpenGL2
- VTK::glad
- VTK::RenderingUI
- VTK::RenderingHyperTreeGrid
- VTK::FiltersHybrid
- VTK::DomainsChemistry
- VTK::CommonArchive
- VTK::ChartsCore
- VTK::InfovisCore
- VTK::FiltersExtraction
- VTK::ParallelDIY
- VTK::IOXML
- VTK::IOXMLParser
- VTK::expat
- VTK::diy2
- VTK::ParallelCore
- VTK::IOLegacy
- VTK::IOCellGrid
- VTK::FiltersCellGrid
- VTK::IOCore
- VTK::lzma
- VTK::lz4
- VTK::FiltersStatistics
- VTK::eigen
- VTK::FiltersHyperTree
- VTK::ImagingSources
- VTK::IOImage
- VTK::tiff
- VTK::png
- VTK::metaio
- VTK::jpeg
- VTK::DICOMParser
- VTK::RenderingContext2D
- VTK::RenderingFreeType
- VTK::utf8
- VTK::freetype
- VTK::zlib
- VTK::RenderingCore
- VTK::FiltersSources
- VTK::CommonColor
- VTK::AcceleratorsVTKmFilters
- VTK::ImagingCore
- VTK::FiltersGeneral
- VTK::fmt
- VTK::FiltersVerdict
- VTK::verdict
- VTK::FiltersGeometry
- VTK::CommonComputationalGeometry
- VTK::FiltersCore
- VTK::FiltersReduction
- VTK::CommonExecutionModel
- VTK::AcceleratorsVTKmDataModel
- VTK::CommonDataModel
- VTK::pugixml
- VTK::pegtl
- VTK::CommonSystem
- VTK::CommonMisc
- VTK::exprtk
- VTK::CommonTransforms
- VTK::CommonMath
- VTK::kissfft
- VTK::AcceleratorsVTKmCore
- VTK::vtkvtkm
- VTK::CommonCore
- VTK::doubleconversion
- VTK::fast_float
- VTK::token
- VTK::nlohmannjson
- VTK::vtksys
- VTK::kwiml

OpenXRRemoting

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
Search results:
[14 files and 0 directories found]
- d:\work\vtk2025\codes\VTK-9.4.2\CMake\FindOpenXRRemoting.cmake
- d:\work\vtk2025\codes\VTK-9.4.2\CMake\vtkInstall\CMakePackage.cmake
- d:\work\vtk2025\codes\VTK-9.4.2\Documentation\docs\supported_hardware.md
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\OpenXR\README.md
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\OpenXRRemoting\CMakeLists.txt
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\OpenXRRemoting\README.md
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\OpenXRRemoting\Testing\Cxx\CMakeLists.txt
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\OpenXRRemoting\Testing\Cxx\TestOpenXRRemotingInitialization.cxx
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\OpenXRRemoting\Testing\Cxx\TestOpenXRRemotingInstantiation.cxx
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\OpenXRRemoting\vtk.module
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\OpenXRRemoting\vtkOpenXRManagerD3DGraphics.h
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\OpenXRRemoting\vtkOpenXRManagerRemoteConnection.h
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\OpenXRRemoting\vtkOpenXRRemotingRenderWindow.cxx
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\OpenXRRemoting\vtkOpenXRRemotingRenderWindow.h

FontConfig(VTK-9.3.1)

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
Search results:
[13 files and 0 directories found]
- d:\work\vtk2025\VTK-9.3.1\CMake\CTestCustom.cmake.in
- d:\work\vtk2025\VTK-9.3.1\CMake\FindFontConfig.cmake
- d:\work\vtk2025\VTK-9.3.1\CMake\patches\3.19\FindX11.cmake
- d:\work\vtk2025\VTK-9.3.1\CMake\vtkInstall\CMakePackage.cmake
- d:\work\vtk2025\VTK-9.3.1\Rendering\FreeType\vtkFreeTypeTools.h
- d:\work\vtk2025\VTK-9.3.1\Rendering\FreeTypeFontConfig\Testing\Cxx\CMakeLists.txt
- d:\work\vtk2025\VTK-9.3.1\Rendering\FreeTypeFontConfig\Testing\Cxx\TestSystemFontRendering.cxx
- d:\work\vtk2025\VTK-9.3.1\Rendering\FreeTypeFontConfig\vtkFontConfigFreeTypeTools.cxx
- d:\work\vtk2025\VTK-9.3.1\Rendering\FreeTypeFontConfig\vtkFontConfigFreeTypeTools.h
- d:\work\vtk2025\VTK-9.3.1\Rendering\FreeTypeFontConfig\vtk.module
- d:\work\vtk2025\VTK-9.3.1\Rendering\FreeTypeFontConfig\CMakeLists.txt
- d:\work\vtk2025\VTK-9.3.1\ThirdParty\freetype\vtkfreetype\include\freetype\ftlcdfil.h
- d:\work\vtk2025\VTK-9.3.1\ThirdParty\freetype\vtkfreetype\src\truetype\ttsubpix.c

FontConfig(VTK-9.4.2)

Text Only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
Search results:
[13 files and 0 directories found]
- d:\work\vtk2025\codes\VTK-9.4.2\CMake\CTestCustom.cmake.in
- d:\work\vtk2025\codes\VTK-9.4.2\CMake\FindFontConfig.cmake
- d:\work\vtk2025\codes\VTK-9.4.2\CMake\patches\99\FindX11.cmake
- d:\work\vtk2025\codes\VTK-9.4.2\CMake\vtkInstall\CMakePackage.cmake
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\FreeType\vtkFreeTypeTools.h
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\FreeTypeFontConfig\CMakeLists.txt
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\FreeTypeFontConfig\Testing\Cxx\CMakeLists.txt
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\FreeTypeFontConfig\Testing\Cxx\TestSystemFontRendering.cxx
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\FreeTypeFontConfig\vtk.module
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\FreeTypeFontConfig\vtkFontConfigFreeTypeTools.cxx
- d:\work\vtk2025\codes\VTK-9.4.2\Rendering\FreeTypeFontConfig\vtkFontConfigFreeTypeTools.h
- d:\work\vtk2025\codes\VTK-9.4.2\ThirdParty\freetype\vtkfreetype\include\freetype\ftlcdfil.h
- d:\work\vtk2025\codes\VTK-9.4.2\ThirdParty\freetype\vtkfreetype\src\truetype\ttsubpix.c