Using VS2022, Qt6.9.3, Windows 11. Configuration goes fine, but then viskores doesn’t build:
FAILED: [code=2] VTK/ThirdParty/viskores/vtkviskores/viskores/viskores/cont/CMakeFiles/viskores_cont.dir/CellLocatorUniformBins.cxx.obj C:\PROGRA~1\MICROS~4\2022\PROFES~1\VC\Tools\MSVC\1444~1.352\bin\Hostx86\x86\cl.exe /nologo /TP -DVISKORESDIY_DEBUG -DVISKORESDIY_MPI_AS_LIB -DVISKORESDIY_NO_THREADS -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -Dviskores_cont_EXPORTS -IC:\Users\ttautges\ans\pv-git\VTK\ThirdParty\viskores\vtkviskores\viskores\viskores\thirdparty\optionparser -IC:\Users\ttautges\ans\pv-git\VTK\ThirdParty\viskores\vtkviskores\viskores\viskores\thirdparty\diy -IC:\Users\ttautges\ans\pv-git\VTK\ThirdParty\viskores\vtkviskores\viskores\viskores\thirdparty\lcl\viskoreslcl -IC:\Users\ttautges\ans\pv-git\VTK\ThirdParty\viskores\vtkviskores\viskores\viskores\thirdparty\loguru -IC:\Users\ttautges\ans\pv-git\VTK\ThirdParty\viskores\vtkviskores\viskores -IC:\Users\ttautges\ans\pv-git\build\VTK\ThirdParty\viskores\vtkviskores\viskores\include -external:IC:\Users\ttautges\ans\pv-git\VTK\ThirdParty\viskores\vtkviskores\viskores\viskores\thirdparty\diy\viskoresdiy\include -external:IC:\Users\ttautges\ans\pv-git\build\VTK\ThirdParty\viskores\vtkviskores\viskores\viskores\thirdparty\diy\viskoresdiy\include\viskoresdiy\mpi -external:W0 /DWIN32 /D_WINDOWS /GR /EHsc /W4 /bigobj /utf-8 /Zi /Ob0 /Od /RTC1 -std:c++17 -MDd -W3 -wd4702 -wd4505 /Gy /bigobj /showIncludes /FoVTK\ThirdParty\viskores\vtkviskores\viskores\viskores\cont\CMakeFiles\viskores_cont.dir\CellLocatorUniformBins.cxx.obj /FdVTK\ThirdParty\viskores\vtkviskores\viskores\viskores\cont\CMakeFiles\viskores_cont.dir\ /FS -c C:\Users\ttautges\ans\pv-git\VTK\ThirdParty\viskores\vtkviskores\viskores\viskores\cont\CellLocatorUniformBins.cxx cl : Command line warning D9025 : overriding ‘/W4’ with ‘/W3’ C:\Users\ttautges\ans\pv-git\VTK\ThirdParty\viskores\vtkviskores\viskores\viskores/Atomic.h(601): error C3861: ‘_InterlockedExchangeAdd64’: identifier not found C:\Users\ttautges\ans\pv-git\VTK\ThirdParty\viskores\vtkviskores\viskores\viskores/Atomic.h(601): error C3861: ‘_InterlockedAnd64’: identifier not found C:\Users\ttautges\ans\pv-git\VTK\ThirdParty\viskores\vtkviskores\viskores\viskores/Atomic.h(601): error C3861: ‘_InterlockedOr64’: identifier not found C:\Users\ttautges\ans\pv-git\VTK\ThirdParty\viskores\vtkviskores\viskores\viskores/Atomic.h(601): error C3861: ‘_InterlockedXor64’: identifier not found C:\Users\ttautges\ans\pv-git\VTK\ThirdParty\viskores\vtkviskores\viskores\viskores/Math.h(2970): error C3861: ‘_BitScanForward64’: identifier not found C:\Users\ttautges\ans\pv-git\VTK\ThirdParty\viskores\vtkviskores\viskores\viskores/Math.h(3053): error C3861: ‘__popcnt64’: identifier not found
If I had to guess I’m missing some dependency that viskores depends on, but searching doesn’t give me any clues.
Also, I might be interested in using the ParaView Plugin Windows Binary Compatible Guide, but it mentions a “configurations” directory that I don’t see in paraview/paraview-superbuild source anywhere.
Also, I might be interested in using the ParaView Plugin Windows Binary Compatible Guide, but it mentions a “configurations” directory that I don’t see in paraview/paraview-superbuild source anywhere.
Second subject: instructions for building binary-compatible plugin support fail also. cmake line and result are:
C:\Users\ttautges\ans\pv\build>cmake -G Ninja -C c:\users\ttautges\ans\pv\pv-superbuild\paraview-plugin-windows-binary-compatible-guide\configurations\config_v6.0.1.cmake -Dparaview_SOURCE_DIR=c:\users\ttautges\ans\pv\pv-git -DCMAKE_BUILD_TYPE=Release ..\pv-superbuild
loading initial cache file c:\users\ttautges\ans\pv\pv-superbuild\paraview-plugin-windows-binary-compatible-guide\configurations\config_v6.0.1.cmake
-- The C compiler identification is MSVC 19.44.35225.0
-- The CXX compiler identification is MSVC 19.44.35225.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.44.35207/bin/Hostx86/x86/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/Professional/VC/Tools/MSVC/14.44.35207/bin/Hostx86/x86/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check size of void*
-- Check size of void* - done
CMake Error at superbuild/cmake/SuperbuildUtils.cmake:83 (message):
32-bit targets are not supported.
Call Stack (most recent call first):
superbuild/CMakeLists.txt:56 (superbuild_detect_64bit_target)
-- Configuring incomplete, errors occurred!
Getting close with superbuild build. It’s stopping on the following:
-- VTK version: 9.6.0.rc3-5-g4f28f0202d
CMake Error at CMakeLists.txt:738 (message):
The following modules were requested or required, but not found:
VTK::doubleconversion.
-- Configuring incomplete, errors occurred!
CMake Error at C:/Users/ttautges/ans/pv/build/superbuild/sb-paraview-configure.cmake:48 (message):
Failed with exit code 1