USE_SYSTEM_qt not there while building Superbuild on Windows 11 | No Paraview Application

You mean clone the Superbuild-Example again and makes these changes again?

Just clone and try building it.

So I cloned it and built it (without making any changes) and it worked perfectly fine and created SimpleParaview binary files.

But I need to change it for my own application

But one thing I changed was to use ninja instead of make

git clone --recursive https://gitlab.kitware.com/paraview/paraview-based-superbuild-example pbse
mkdir build
cd build
cmake ..\pbse -G Ninja
ninja
ctest -R cpack

The error you have is related to the way you are building ParaView, what do you change there ?

Nothing, I was getting that error when I change the superbuild example to use my own custom application instead of simpleParaview

So after successful build Paraview Superbuild example I made changes to make binary of my custom application. When I run ninja command But I am getting this:

[0/1] Install the project...
[31/34] Performing configure step for 'm3simgui'
FAILED: pvsb/superbuild/m3simgui/stamp/m3simgui-configure C:/Users/msaad/build/pvsb/superbuild/m3simgui/stamp/m3simgui-configure
cmd.exe /C "cd /D C:\Users\msaad\build\pvsb\superbuild\m3simgui\build && "C:\Program Files\CMake\bin\cmake.exe" -P C:/Users/msaad/build/pvsb/superbuild/sb-m3simgui-configure.cmake && "C:\Program Files\CMake\bin\cmake.exe" -E touch C:/Users/msaad/build/pvsb/superbuild/m3simgui/stamp/m3simgui-configure"
Not searching for unused variables given on the command line.
-- The C compiler identification is MSVC 19.29.30148.0
-- The CXX compiler identification is MSVC 19.29.30148.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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
-- Found OpenGL: opengl32  found components: OpenGL
CMake Deprecation Warning at C:/Users/msaad/build/install/lib/cmake/paraview-5.10/vtk/vtk-use-file-deprecated.cmake:1 (message):
  The `VTK_USE_FILE` is no longer used starting with 8.90.
Call Stack (most recent call first):
  CMakeLists.txt:6 (include)


CMake Error at C:/Users/msaad/build/install/lib/cmake/paraview-5.10/ParaViewPlugin.cmake:1054 (message):
  Failed to find the required module VTK::FiltersGeometryPreview.
Call Stack (most recent call first):
  plugins/M3SIMCustomFilters/CMakeLists.txt:1 (paraview_add_plugin)


-- Configuring incomplete, errors occurred!
CMake Error at C:/Users/msaad/build/pvsb/superbuild/sb-m3simgui-configure.cmake:47 (message):
  Failed with exit code 1


ninja: build stopped: subcommand failed.

Looks like there is old, incompatible code in your application. update it first.

I will do that and see if it removes other errors also

I fixed that warning but getting different errors now while building:

[14/20] Performing build step for 'paraview'
FAILED: pvsb/superbuild/paraview/stamp/paraview-build C:/Users/msaad/buildExe/pvsb/superbuild/paraview/stamp/paraview-build 
cmd.exe /C "cd /D C:\Users\msaad\buildExe\pvsb\superbuild\paraview\build && "C:\Program Files\CMake\bin\cmake.exe" -P C:/Users/msaad/buildExe/pvsb/superbuild/sb-paraview-build.cmake && "C:\Program Files\CMake\bin\cmake.exe" -E touch C:/Users/msaad/buildExe/pvsb/superbuild/paraview/stamp/paraview-build"
[1/11110] Linking C shared library bin\libvtktiff-pv5.10.dll
FAILED: bin/libvtktiff-pv5.10.dll lib/libvtktiff-pv5.10.dll.a 
cmd.exe /C "cd . && C:\msys64\mingw64\bin\cc.exe -mwin32 -mthreads -Wall -Winline -Wformat-security -Wpointer-arith -Wdisabled-optimization -Wno-unknown-pragmas -fstrict-aliasing -O3 -DNDEBUG  -mthreads  -Wl,--version-script=C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/libtiff.map  C:\Users\msaad\buildExe\pvsb\superbuild\paraview\src\VTK\ThirdParty\tiff\vtktiff\libtiff\libtiff.def -shared -o bin\libvtktiff-pv5.10.dll -Wl,--out-implib,lib\libvtktiff-pv5.10.dll.a -Wl,--major-image-version,5,--minor-image-version,10 VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_aux.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_close.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_codec.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_color.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_compress.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_dir.c.obj

C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/vtk_tiff_mangle.h:5:28: warning: array 'vtktiff__TIFFBuiltinCODECS' assumed to have one element
    5 | #define _TIFFBuiltinCODECS vtktiff__TIFFBuiltinCODECS
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffiop.h:434:32: note: in expansion of macro '_TIFFBuiltinCODECS'
  434 | vtktiff_EXPORT const TIFFCodec _TIFFBuiltinCODECS[];
      |                                ^~~~~~~~~~~~~~~~~~
[1430/12605] Building C object VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_open.c.obj
In file included from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiff.h:28,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffio.h:31,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffiop.h:49,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tif_open.c:28:
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/vtk_tiff_mangle.h:5:28: warning: array 'vtktiff__TIFFBuiltinCODECS' assumed to have one element
    5 | #define _TIFFBuiltinCODECS vtktiff__TIFFBuiltinCODECS
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffiop.h:434:32: note: in expansion of macro '_TIFFBuiltinCODECS'
  434 | vtktiff_EXPORT const TIFFCodec _TIFFBuiltinCODECS[];
      |                                ^~~~~~~~~~~~~~~~~~
[1431/12605] Building C object VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_pixarlog.c.obj
In file included from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiff.h:28,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffio.h:31,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffiop.h:49,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tif_pixarlog.c:25:
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/vtk_tiff_mangle.h:5:28: warning: array 'vtktiff__TIFFBuiltinCODECS' assumed to have one element
    5 | #define _TIFFBuiltinCODECS vtktiff__TIFFBuiltinCODECS
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffiop.h:434:32: note: in expansion of macro '_TIFFBuiltinCODECS'
  434 | vtktiff_EXPORT const TIFFCodec _TIFFBuiltinCODECS[];
      |                                ^~~~~~~~~~~~~~~~~~
[1432/12605] Building CXX object VTK/Imaging/General/CMakeFiles/ImagingGeneral.dir/vtkImageSlab.cxx.obj
In file included from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Imaging/General/vtkImageSlab.cxx:21:
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkMath.h:2041:20: warning: 'static vtkTypeBool vtkMath::IsNan(double)' redeclared without dllimport attribute after being referenced with dll linkage
 2041 | inline vtkTypeBool vtkMath::IsNan(double x)
      |                    ^~~~~~~
[1433/12605] Building C object VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_ojpeg.c.obj
In file included from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/jpeg/vtkjpeg/jpeglib.h:31,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tif_ojpeg.c:215:
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/build/VTK/ThirdParty/jpeg/vtkjpeg/jconfig.h:33: warning: "XMD_H" redefined
   33 | #define XMD_H                   /* prevent jmorecfg.h from redefining it */
      |
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tif_ojpeg.c:204: note: this is the location of the previous definition     
  204 | # define XMD_H 1
      |
In file included from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiff.h:28,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffio.h:31,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffiop.h:49,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tif_ojpeg.c:124:
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/vtk_tiff_mangle.h:5:28: warning: array 'vtktiff__TIFFBuiltinCODECS' assumed to have one element
    5 | #define _TIFFBuiltinCODECS vtktiff__TIFFBuiltinCODECS
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffiop.h:434:32: note: in expansion of macro '_TIFFBuiltinCODECS'
  434 | vtktiff_EXPORT const TIFFCodec _TIFFBuiltinCODECS[];
      |                                ^~~~~~~~~~~~~~~~~~
[1434/12605] Building C object VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_fax3.c.obj
In file included from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiff.h:28,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffio.h:31,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffiop.h:49,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tif_fax3.c:25:
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/vtk_tiff_mangle.h:5:28: warning: array 'vtktiff__TIFFBuiltinCODECS' assumed to have one element
    5 | #define _TIFFBuiltinCODECS vtktiff__TIFFBuiltinCODECS
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffiop.h:434:32: note: in expansion of macro '_TIFFBuiltinCODECS'
  434 | vtktiff_EXPORT const TIFFCodec _TIFFBuiltinCODECS[];
      |                                ^~~~~~~~~~~~~~~~~~
[1435/12605] Building C object VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_dirread.c.obj
In file included from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiff.h:28,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffio.h:31,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffiop.h:49,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tif_dirread.c:38:
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/vtk_tiff_mangle.h:5:28: warning: array 'vtktiff__TIFFBuiltinCODECS' assumed to have one element
    5 | #define _TIFFBuiltinCODECS vtktiff__TIFFBuiltinCODECS
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffiop.h:434:32: note: in expansion of macro '_TIFFBuiltinCODECS'
  434 | vtktiff_EXPORT const TIFFCodec _TIFFBuiltinCODECS[];
      |                                ^~~~~~~~~~~~~~~~~~
[1436/12605] Building C object VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_print.c.obj
In file included from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiff.h:28,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffio.h:31,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffiop.h:49,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tif_print.c:30:
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/vtk_tiff_mangle.h:5:28: warning: array 'vtktiff__TIFFBuiltinCODECS' assumed to have one element
    5 | #define _TIFFBuiltinCODECS vtktiff__TIFFBuiltinCODECS
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffiop.h:434:32: note: in expansion of macro '_TIFFBuiltinCODECS'
  434 | vtktiff_EXPORT const TIFFCodec _TIFFBuiltinCODECS[];
      |                                ^~~~~~~~~~~~~~~~~~
[1437/12605] Building C object VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_predict.c.obj
In file included from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiff.h:28,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffio.h:31,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffiop.h:49,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tif_predict.c:30:
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/vtk_tiff_mangle.h:5:28: warning: array 'vtktiff__TIFFBuiltinCODECS' assumed to have one element
    5 | #define _TIFFBuiltinCODECS vtktiff__TIFFBuiltinCODECS
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/tiffiop.h:434:32: note: in expansion of macro '_TIFFBuiltinCODECS'
  434 | vtktiff_EXPORT const TIFFCodec _TIFFBuiltinCODECS[];
      |                                ^~~~~~~~~~~~~~~~~~
VTK/IO/Image/CMakeFiles/IOImage.dir/vtkImageImportExecutive.cxx.obj
[1452/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkImageReader2Collection.cxx.obj
[1453/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkDEMReader.cxx.obj
[1454/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkImageReader2Factory.cxx.obj
[1455/12605] Linking C shared library bin\libvtktiff-pv5.10.dll
FAILED: bin/libvtktiff-pv5.10.dll lib/libvtktiff-pv5.10.dll.a
cmd.exe /C "cd . && C:\msys64\mingw64\bin\cc.exe -mwin32 -mthreads -Wall -Winline -Wformat-security -Wpointer-arith -Wdisabled-optimization -Wno-unknown-pragmas -fstrict-aliasing -O3 -DNDEBUG  -mthreads  -Wl,--version-script=C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/ThirdParty/tiff/vtktiff/libtiff/libtiff.map  C:\Users\msaad\buildExe\pvsb\superbuild\paraview\src\VTK\ThirdParty\tiff\vtktiff\libtiff\libtiff.def -shared -o bin\libvtktiff-pv5.10.dll -Wl,--out-implib,lib\libvtktiff-pv5.10.dll.a -Wl,--major-image-version,5,--minor-image-version,10 VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_aux.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_close.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_codec.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_color.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_compress.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_dir.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_dirinfo.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_dirread.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_dirwrite.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_dumpmode.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_error.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_extension.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_fax3.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_fax3sm.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_flush.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_getimage.c.obj VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_win32.c.obj  -lgdi32  lib/libvtkjpeg-pv5.10.dll.a  lib/libvtkzlib-pv5.10.dll.a  -lgdi32  -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ."
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_close.c.obj:tif_close.c:(.rdata+0x10): multiple definition of `vtktiff__TIFFBuiltinCODECS'; VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_aux.c.obj:tif_aux.c:(.rdata+0x270): first defined here
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_close.c.obj:tif_close.c:(.bss+0x0): multiple definition of `vtktiff__TIFFerrorHandlerExt'; VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_aux.c.obj:tif_aux.c:(.bss+0x0): first defined here
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_close.c.obj:tif_close.c:(.bss+0x8): multiple definition of `vtktiff__TIFFwarningHandlerExt'; VTK/ThirdParty/tiff/vtktiff/libtiff/CMakeFiles/tiff.dir/tif_aux.c.obj:tif_aux.c:(.bss+0x8): first defined here
[1456/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkBMPWriter.cxx.obj
In file included from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkGenericDataArray.txx:21,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkGenericDataArray.h:422,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkAOSDataArrayTemplate.h:38,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkUnsignedCharArray.h:27,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/IO/Image/vtkBMPWriter.cxx:20:
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkMath.h:2041:20: warning: 'static vtkTypeBool vtkMath::IsNan(double)' redeclared without dllimport attribute after being referenced with dll linkage
 2041 | inline vtkTypeBool vtkMath::IsNan(double x)
      |                    ^~~~~~~
[1457/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkImageExport.cxx.obj
[1458/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkGESignaReader.cxx.obj
[1459/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkDICOMImageReader.cxx.obj
[1460/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkImageImport.cxx.obj
[1461/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkMedicalImageReader2.cxx.obj
[1462/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkJPEGWriter.cxx.obj
In file included from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkGenericDataArray.txx:21,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkGenericDataArray.h:422,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkAOSDataArrayTemplate.h:38,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkUnsignedCharArray.h:27,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/IO/Image/vtkJPEGWriter.cxx:22:
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkMath.h:2041:20: warning: 'static vtkTypeBool vtkMath::IsNan(double)' redeclared without dllimport attribute after being referenced with dll linkage
 2041 | inline vtkTypeBool vtkMath::IsNan(double x)
      |                    ^~~~~~~
[1463/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkImageWriter.cxx.obj
[1464/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkImageReader2.cxx.obj
[1465/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkHDRReader.cxx.obj
In file included from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkGenericDataArray.txx:21,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkGenericDataArray.h:422,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkAOSDataArrayTemplate.h:38,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkUnsignedCharArray.h:27,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkLookupTable.h:60,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/IO/Image/vtkHDRReader.cxx:20:
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkMath.h:2041:20: warning: 'static vtkTypeBool vtkMath::IsNan(double)' redeclared without dllimport attribute after being referenced with dll linkage
 2041 | inline vtkTypeBool vtkMath::IsNan(double x)
      |                    ^~~~~~~
[1466/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkJSONImageWriter.cxx.obj
In file included from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkGenericDataArray.txx:21,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkGenericDataArray.h:422,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkAOSDataArrayTemplate.h:38,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkCharArray.h:40,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/IO/Image/vtkJSONImageWriter.cxx:17:
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkMath.h:2041:20: warning: 'static vtkTypeBool vtkMath::IsNan(double)' redeclared without dllimport attribute after being referenced with dll linkage
 2041 | inline vtkTypeBool vtkMath::IsNan(double x)
      |                    ^~~~~~~
[1467/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkBMPReader.cxx.obj
In file included from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkGenericDataArray.txx:21,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkGenericDataArray.h:422,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkAOSDataArrayTemplate.h:38,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkUnsignedCharArray.h:27,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkLookupTable.h:60,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/IO/Image/vtkBMPReader.cxx:19:
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkMath.h:2041:20: warning: 'static vtkTypeBool vtkMath::IsNan(double)' redeclared without dllimport attribute after being referenced with dll linkage
 2041 | inline vtkTypeBool vtkMath::IsNan(double x)
      |                    ^~~~~~~
[1468/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkMetaImageWriter.cxx.obj
[1469/12605] Building CXX object VTK/Common/Misc/CMakeFiles/CommonMisc.dir/vtkExprTkFunctionParser.cxx.obj
[1470/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkNIFTIImageHeader.cxx.obj
[1471/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkJPEGReader.cxx.obj
[1472/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkMetaImageReader.cxx.obj
[1473/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkMRCReader.cxx.obj
In file included from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkGenericDataArray.txx:21,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkGenericDataArray.h:422,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkAOSDataArrayTemplate.h:38,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkFloatArray.h:27,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/IO/Image/vtkMRCReader.cxx:23:
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkMath.h:2041:20: warning: 'static vtkTypeBool vtkMath::IsNan(double)' redeclared without dllimport attribute after being referenced with dll linkage
 2041 | inline vtkTypeBool vtkMath::IsNan(double x)
      |                    ^~~~~~~
[1474/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkMedicalImageProperties.cxx.obj
[1475/12605] Building CXX object VTK/Filters/Core/CMakeFiles/FiltersCore.dir/vtkGridSynchronizedTemplates3D.cxx.obj
In file included from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkGenericDataArray.txx:21,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkGenericDataArray.h:422,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkAOSDataArrayTemplate.h:38,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkIdTypeArray.h:27,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/DataModel/vtkCellTypes.h:43,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/DataModel/vtkPointSet.h:58,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/DataModel/vtkPolyData.h:67,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/ExecutionModel/vtkPolyDataAlgorithm.h:36,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Filters/Core/vtkSynchronizedTemplates3D.h:36,
                 from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Filters/Core/vtkGridSynchronizedTemplates3D.cxx:15:
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/Core/vtkMath.h:2041:20: warning: 'static vtkTypeBool vtkMath::IsNan(double)' redeclared without dllimport attribute after being referenced with dll linkage
 2041 | inline vtkTypeBool vtkMath::IsNan(double x)
      |                    ^~~~~~~
In file included from C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/DataModel/vtkPolyData.h:69:
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/DataModel/vtkCellArray.h:1531:13: warning: 'void vtkCellArray::GetCellAtId(vtkIdType, vtkIdType&, co      |                  ^~~~~~~~~~~
C:/Users/msaad/buildExe/pvsb/superbuild/paraview/src/VTK/Common/DataModel/vtkPolyData.h:891:22: warning: 'unsigned char vtkPolyData::GetCellPoints(vtkIdType, vtkIdType&, const vtkIdType*&)' redeclared without dllimport attribute after being referenced with dll linkage
  891 | inline unsigned char vtkPolyData::GetCellPoints(
      |                      ^~~~~~~~~~~
[1476/12605] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkImageReader.cxx.obj
ninja: build stopped: subcommand failed.
CMake Error at C:/Users/msaad/buildExe/pvsb/superbuild/sb-paraview-build.cmake:47 (message):
  Failed with exit code 1


ninja: build stopped: subcommand failed.

Are you able to build an unmodified paraview superbuild ?

Yes

Then work you way backward, as the error you shared is about paraview, not your application.