I'm amazed by the plethora of great examples and I'd like to learn more.
I've tried building them all based on the instructions:
cd vtk-examplescd buildcmake -DVTK_DIR:PATH=YOUR_VTK_BIN_DIR -DBUILD_TESTING:BOOL=ON ..make
I'm running into two issues:
for some reasons the generated vcxproj files sometimes miss include and library paths
I get vtkInteractorStyle related errors on a some examples:
vtkInteractorStyleSwitc:37 WARN| vtkInteractorStyleSwitchBase (00000189831BE010): Warning: Link to vtkInteractionStyle for default style selection.C:\dev\vtk\vtk-examples\build\bin\Release\BooleanOperationImplicitFunctions.exe (process 30716) exited with code 0.
I double checked and indeed I am linking against vtkInteractionStyle-9.0.lib
I'm not sure what I'm doing wrong. I've built VTK-9.0 from source and using the following:
include dir: C:\dev\vtk\VTK-9.0.1\build\install\include\vtk-9.0
Have you added the VTK bin path to the PATH? Look at windows_path.bat.
As for the
No `MODULES` passed to `vtk_modules_autoinit`
messages in cmake-log.txt I suspect that your CMake version is too old. You need Version 3.12 or later for VTK 9. I recommend downloading the latest version.
I use VS2019 and have no issues building the vtk-examples.
If you look at BooleanOperationImplicitFunctions you will see that vtkInteractionStyle is already added into the provided CMakeLists.txt file. If you are building it with your own CMakeLiasts.txt file you may have to manually add it. This script FindNeededModules.py is very useful for determining what modules your code needs.
I've searched for windows_path.bat in both the main VTK and this repo and couldn't find it.
I can confirm the PATH environment variable includes C:\dev\vtk\VTK-9.0.1\build\install\bin
Additionally the following system variables are defined:
I can also confirm C:\dev\vtk\vtk-examples\src\Cxx\PolyData\CMakeLists.txt contains vtkInteractionStyle in the find_package list of arguments.
I'm relieved to hear you use VS2019 and have no issues building the vtk-examples.
I must be missing some detail in how I'm generating / compiling VTK and vtk-examples.
Just to double check:
I'm using CMakeGUI to generate a VS2019 64bit solution in folder C:/dev/vtk/vtk-examples/build (with source in C:/dev/vtk/vtk-examples)
VTK_DIR correctly points to C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0
set PATH=C:\dev\vtk\VTK-9.0.1\build\install\bin;%PATH%set VTK_DIR=C:\dev\vtk\VTK-9.0.1\build\install\set VTK_LIB=C:\dev\vtk\VTK-9.0.1\build\install\lib
In C:\dev\vtk\VTK-9.0.1\build\install, there should be a file vtk-config-version.cmake
I've tried setting the above but ran into errors again:
C:\dev\vtk\vtk-examples>set PATH=C:\dev\vtk\VTK-9.0.1\build\install\bin;%PATH%C:\dev\vtk\vtk-examples>set VTK_DIR=C:\dev\vtk\VTK-9.0.1\build\install\C:\dev\vtk\vtk-examples>set VTK_LIB=C:\dev\vtk\VTK-9.0.1\build\install\libC:\dev\vtk\vtk-examples>mkdir build-amacleanC:\dev\vtk\vtk-examples>cd build-amacleanC:\dev\vtk\vtk-examples\build-amaclean>cmake .. -G "Visual Studio 16 2019"-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042.-- The C compiler identification is MSVC 19.28.29334.0-- The CXX compiler identification is MSVC 19.28.29334.0-- Detecting C compiler ABI info-- Detecting C compiler ABI info - done-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped-- Detecting C compile features-- Detecting C compile features - done-- Detecting CXX compiler ABI info-- Detecting CXX compiler ABI info - done-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped-- Detecting CXX compile features-- Detecting CXX compile features - done-- VTKWikiExamples: Building VTKWikiExamples stand-alone-- VTKWikiExamples: Building VTKWikiExamples stand-alone - yes-- VTKWikiExamples: Setting executables prefix-- VTKWikiExamples: Setting executables prefix - no-- VTKWikiExamples: VTK VERSION: 9.0.1(OpenGL2)-- VTKWikiExamples: Example executables are stored in C:/dev/vtk/vtk-examples/build-amaclean/bin-- VTKWikiExamples: Tests will not be builtCMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2847 (message): No `MODULES` passed to `vtk_modules_autoinit`.Call Stack (most recent call first): src/Cxx/DataStructures/CMakeLists.txt:48 (vtk_module_autoinit)This warning is for project developers. Use -Wno-dev to suppress it.-- VTKWikiExamples: GenericClip requires the setting TESTING_GENERIC_BRIDGE:BOOL=ON and will not be builtCMake Error at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:1136 (message): Failed to determine the real target for the `VTK::TestingGenericBridge` module. Is a `find_package` missing a required component?Call Stack (most recent call first): C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2865 (_vtk_module_real_target) src/Cxx/Filtering/CMakeLists.txt:57 (vtk_module_autoinit)-- Configuring incomplete, errors occurred!See also "C:/dev/vtk/vtk-examples/build-amaclean/CMakeFiles/CMakeOutput.log".See also "C:/dev/vtk/vtk-examples/build-amaclean/CMakeFiles/CMakeError.log".
I've noticed vtk-config-version.cmake lives in C:\dev\vtk\VTK-9.0.1\build\install\lib\cmake\vtk-9.0 not C:\dev\vtk\VTK-9.0.1\build\install. I'm not sure if this simply a Windows related configuration or not and how this affects what paths vtk-examples might expect.
The errors seems pthread related. I haven't dug deep enough to see how I could disable the pthread option.
Using CMake GUI instead of CLI displays a different error:
VTKWikiExamples: GenericClip requires the setting TESTING_GENERIC_BRIDGE:BOOL=ON and will not be builtCMake Error at C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:1136 (message): Failed to determine the real target for the `VTK::TestingGenericBridge` module. Is a `find_package` missing a required component?Call Stack (most recent call first): C:/dev/vtk/VTK-9.0.1/build/install/lib/cmake/vtk-9.0/vtkModule.cmake:2865 (_vtk_module_real_target) src/Cxx/Filtering/CMakeLists.txt:57 (vtk_module_autoinit)
My hunch so far is there might be a Windows specific cmake configuration which has paths/options slightly different to UNIX.
Double checking my install, I see I had VTK_BUILD_TESTING set to OFF.
I've tried recompiling with VTK_BUILD_TESTING set to ON and additionally setting the following to WANT:
I've checked and it's only version 14.28.29333 of MSVC build tools I have currently installed and cl.exe is indeed present.
If that wasn't the case none of the examples would build I assume.
I also found this post hinting that cl.exe is found and no further checks are needed.
Additionally I've attempted to build examples via CLI instead of Visual Studio and I'm confused to why some examples are missing the include (and library paths). I can manually open the solution and set the paths to VTK include directory, library directory and libraries to link against, however this probably shouldn't be required, right ?
partial example of console output:
-- VTKWikiExamples: Not building Qt examples-- VTKWikiExamples: git lfs is installed.-- Configuring done-- Generating done-- Build files have been written to: C:/dev/vtk/vtk-examples/buildMicrosoft (R) Build Engine version 16.8.2+25e4d540b for .NET FrameworkCopyright (C) Microsoft Corporation. All rights reserved. 1DTupleInterpolation.cxxC:\dev\vtk\vtk-examples\src\Cxx\Math\1DTupleInterpolation.cxx(10,10): fatal error C1083: Cannot open include file: 'vtkCardinalSpline.h': No such file or directory [C:\dev\vtk\vtk-examples\build\src\Cxx\Math\1DTupleInterpolation.vcxproj] 2DArray.vcxproj -> C:\dev\vtk\vtk-examples\build\bin\Release\2DArray.exe 3DArray.vcxproj -> C:\dev\vtk\vtk-examples\build\bin\Release\3DArray.exe 3DSImporter.cxxC:\dev\vtk\vtk-examples\src\Cxx\IO\3DSImporter.cxx(1,10): fatal error C1083: Cannot open include file: 'vtk3DSImporter.h': No such file or directory [C:\dev\vtk\vtk-examples\build\src\Cxx\IO\3DSImporter.vcxproj] Actor2D.vcxproj -> C:\dev\vtk\vtk-examples\build\bin\Release\Actor2D.exe AddCell.cxxC:\dev\vtk\vtk-examples\src\Cxx\Meshes\AddCell.cxx(1,10): fatal error C1083: Cannot open include file: 'vtkCellArray.h': No such file or directory [C:\dev\vtk\vtk-examples\build\src\Cxx\Meshes\AddCell.vcxproj] AdjacencyMatrixToEdgeTable.vcxproj -> C:\dev\vtk\vtk-examples\build\bin\Release\AdjacencyMatrixToEdgeTable.exe AffineWidget.vcxproj -> C:\dev\vtk\vtk-examples\build\bin\Release\AffineWidget.exe AlgorithmFilter.vcxproj -> C:\dev\vtk\vtk-examples\build\bin\Release\AlgorithmFilter.exe AlgorithmSource.vcxproj -> C:\dev\vtk\vtk-examples\build\bin\Release\AlgorithmSource.exe AlignFrames.cxx AlignFrames.vcxproj -> C:\dev\vtk\vtk-examples\build\bin\Release\AlignFrames.exe Building Custom Rule C:/dev/vtk/vtk-examples/src/Cxx/PolyData/CMakeLists.txt AlignTwoPolyDatas.cxx AlignTwoPolyDatas.vcxproj -> C:\dev\vtk\vtk-examples\build\bin\Release\AlignTwoPolyDatas.exe
I'm not aware of that script.
I don't explicitly call it and I've double checked the generated build folder and it doesn't seem to reference this line either.
I've tried either building via cmake CLI:
cmake --build . --config Release
or manually opening the generated VS solution's ALL_BUILD.
Additionally I've manually tried compiling the BooleanOperationImplicitFunctions example from a downloaded tarball, but ran into this:
cmake .. -G "Visual Studio 16 2019"-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042.Skipping BooleanOperationImplicitFunctions: Could not find the VTK package with the following required components: RenderingContextOpenGL2.-- Configuring done-- Generating done-- Build files have been written to: C:/dev/vtk/vtk-example-tarballs/BooleanOperationImplicitFunctions/build
Not 100% how interpret this, but guessing I need double check the flags used to compile VTK itself so that is has the RenderingContextOpenGL2 component enabled ?
What is the recommended method of compiling VTK and this vtk-examples repo ?
Thank you for the continued support and patience,
George
Ok, that's from a ninja script so please ignore it.
Have you built VTK as release or debug?
When building vtk-examples you must match what vtk-examples was built with.
If those points are correct, then see if you can build testing in VTK. If the tests run then your VTK build is Ok. If this is the case then you should have no issues building and running the vtk-examples.
Also do you have the most recent display drivers containing OpenGL installed on your machine?
I strongly suspect there is something wrong in your setup or graphics drivers. So you may have to uninstall everything (including Visual Studio) and start again.
I build VTK using ninja and build vtk-examples using both ninja and the Visual Studio IDE with no problems.
Unfortunately reinstalling VS and the OpenGL Drivers isn't an option.
I'll try a fresh clone and double check the VTK library process step by step and ensure the tests run before building the vtk-examples repo separately.
I've tried install ninja and using that but ran into separate issues:
The C compiler identification is MSVC 19.29.30040.0The CXX compiler identification is MSVC 19.29.30040.0Detecting C compiler ABI infoDetecting C compiler ABI info - failedCheck for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exeCheck for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - brokenCMake Error at C:/Program Files/CMake/share/cmake-3.20/Modules/CMakeTestCCompiler.cmake:66 (message): The C compiler "C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/dev/vtk/vtk-examples/build-amaclean-ninja/CMakeFiles/CMakeTmp Run Build Command(s):C:/dev/scripts/ninja.exe cmTC_23528 && [1/2] Building C object CMakeFiles\cmTC_23528.dir\testCCompiler.c.obj [2/2] Linking C executable cmTC_23528.exe FAILED: cmTC_23528.exe cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_23528.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests -- C:\PROGRA~2\MICROS~2\2019\PROFES~1\VC\Tools\MSVC\1429~1.300\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_23528.dir\testCCompiler.c.obj /out:cmTC_23528.exe /implib:cmTC_23528.lib /pdb:cmTC_23528.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." RC Pass 1: command "rc /fo CMakeFiles\cmTC_23528.dir/manifest.res CMakeFiles\cmTC_23528.dir/manifest.rc" failed (exit code 0) with the following output: The system cannot find the file specified ninja: build stopped: subcommand failed. CMake will not be able to correctly generate this project.Call Stack (most recent call first): CMakeLists.txt:3 (project)Configuring incomplete, errors occurred!See also "C:/dev/vtk/vtk-examples/build-amaclean-ninja/CMakeFiles/CMakeOutput.log".See also "C:/dev/vtk/vtk-examples/build-amaclean-ninja/CMakeFiles/CMakeError.log".`
I may need to pause this rabbit hole for now and come back later.
Happy to close it for now and will reopen later as time permits (hopefully with a solution).