VTK issueshttps://gitlab.kitware.com/vtk/vtk/-/issues2019-01-24T09:26:57-05:00https://gitlab.kitware.com/vtk/vtk/-/issues/17488Illegal path characters in directory name on windows (running INSTALL with VS...2019-01-24T09:26:57-05:00TimoIllegal path characters in directory name on windows (running INSTALL with VS 2017)I'm trying to build and install the latest version of the master branch (commit e81e5e736ee039049aeeb7f9be6b5297599813a7 on github). I can build VTK itself but when I build the INSTALL project I get a cmake error:
> file cannot create d...I'm trying to build and install the latest version of the master branch (commit e81e5e736ee039049aeeb7f9be6b5297599813a7 on github). I can build VTK itself but when I build the INSTALL project I get a cmake error:
> file cannot create directory:
> C:/libs/VTK/share/licenses/VTK/VTK::kwiml. Maybe need administrative privileges.
The specified folder is not restricted so I don't need admin privileges. I assume the error comes from the "::" in the path as colon is an illegal path char on windows.
**Edit**
Can confirm. If I replace the double colon with an underscore the install build completes successfully.Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17485Java Wrapping VTK 8.90 fails in Windows.2019-01-15T16:38:03-05:00Andrew MacleanJava Wrapping VTK 8.90 fails in Windows.It seems to work in Ubuntu 18.10 with a few warnings however it fails in Windows 10:
This is the first error:
```
vtkConvertSelectionDomainJava.cxx.obj : error LNK2019: unresolved external symbol vtkPassInputTypeAlgorithm_Typecast refere...It seems to work in Ubuntu 18.10 with a few warnings however it fails in Windows 10:
This is the first error:
```
vtkConvertSelectionDomainJava.cxx.obj : error LNK2019: unresolved external symbol vtkPassInputTypeAlgorithm_Typecast referenced in function vtkConvertSelectionDomain_Typecast
vtkDataRepresentationJava.cxx.obj : error LNK2001: unresolved external symbol vtkPassInputTypeAlgorithm_Typecast
vtkViewJava.cxx.obj : error LNK2019: unresolved external symbol vtkObject_Typecast referenced in function vtkView_Typecast
vtkViewThemeJava.cxx.obj : error LNK2001: unresolved external symbol vtkObject_Typecast
bin\vtkViewsCoreJava.dll : fatal error LNK1120: 2 unresolved externals
[500/7406] Building CXX object Wrapping\Java\CMakeFiles\vt...monCoreJava.dir\CMakeFiles\vtkTypeFloat64ArrayJava.cxx.obj
ninja: build stopped: subcommand failed.
```
Running `ninja -k 100`generates lots more errors.
Most of the errors (if not all) are related to `vtk*_Typecast` as above.
Finally:
```
warning: [options] bootstrap class path not set in conjunction with -source 6
warning: [options] source value 6 is obsolete and will be removed in a future release
warning: [options] target value 1.6 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
```
Setting Java Source/Target version to 1.9 (the highest I can set even though I am using Java 1.11) produces the same result with these warnings:
```
warning: [options] bootstrap class path not set in conjunction with -source 9
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
```
Cc: @ben.boeckelBen BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17484windows_path.bat is incorrect2019-01-15T17:27:08-05:00Andrew Macleanwindows_path.bat is incorrect`lib` instead of `bin` is being specified and `/bin/Lib/site-packages` is not being added to `PYTHONPATH`.
This file should look something like this:
```
set PATH=<path to build>/bin;%PATH%
set PYTHONPATH=<path to build>/bin/Lib/site-pa...`lib` instead of `bin` is being specified and `/bin/Lib/site-packages` is not being added to `PYTHONPATH`.
This file should look something like this:
```
set PATH=<path to build>/bin;%PATH%
set PYTHONPATH=<path to build>/bin/Lib/site-packages;%PYTHONPATH%
```
Currently it looks like this:
```
set PATH=<path to build>/lib;%PATH%
set PYTHONPATH=;%PYTHONPATH%
```
Cc: @ben.boeckelBen BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17483C++14 deprecation macro support2021-04-14T16:12:44-04:00Ben BoeckelC++14 deprecation macro support`VTK_DEPRECATED` is `[[deprecated]]` in C++14 mode. However, this does not mix well with `__attribute__` for export macros. Compiler-specific export attributes may be required. This is best done as a fix to `GenerateExportHeader.cmake` a...`VTK_DEPRECATED` is `[[deprecated]]` in C++14 mode. However, this does not mix well with `__attribute__` for export macros. Compiler-specific export attributes may be required. This is best done as a fix to `GenerateExportHeader.cmake` and upstreamed to CMake (VTK can carry the patch though).
If export macros can't be fixed before 9.0, `[[deprecated]]` should not be used until it is.
Cc: @seanmBen BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17478Static python failing2021-04-14T16:21:17-04:00Ben BoeckelStatic python failingSomething is blocking the loading of the modules added to the inittab. I have logs that they're there. If the modules are added to the top-level, they work, but if they're in the `vtkmodules` package, they fail. Needs investigation.Something is blocking the loading of the modules added to the inittab. I have logs that they're there. If the modules are added to the top-level, they work, but if they're in the `vtkmodules` package, they fail. Needs investigation.https://gitlab.kitware.com/vtk/vtk/-/issues/17477Convert verdict to use an import script2022-03-04T08:42:07-05:00Ben BoeckelConvert verdict to use an import scriptVerdict has a repository at https://gitlab.kitware.com/verdict/verdict. VTK should import its copy based on code from that repository.Verdict has a repository at https://gitlab.kitware.com/verdict/verdict. VTK should import its copy based on code from that repository.Spiros TsalikisSpiros Tsalikishttps://gitlab.kitware.com/vtk/vtk/-/issues/17476LNK4049 warnings when compiling kits on Windows2019-01-10T20:03:11-05:00Ben BoeckelLNK4049 warnings when compiling kits on WindowsOn Windows, there are warnings when compiling kits due to objects compiled with `__declspec(dllimport)` being linked into the same library as those which compiled it with `__declspec(dllexport)`. Should we just suppress these warnings? I...On Windows, there are warnings when compiling kits due to objects compiled with `__declspec(dllimport)` being linked into the same library as those which compiled it with `__declspec(dllexport)`. Should we just suppress these warnings? Is there some other way to handle symbol exporting for kits?
[Linker documentation](https://docs.microsoft.com/en-us/cpp/error-messages/tool-errors/linker-tools-warning-lnk4049?view=vs-2017)
Cc: @brad.king @robertmaynardBen BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17475VTK_GROUP_ENABLE_Rendering doesn't enable RenderingVolumeOpenGL22019-01-09T11:35:53-05:00Robert MaynardVTK_GROUP_ENABLE_Rendering doesn't enable RenderingVolumeOpenGL2On a clean build of VTK the `RenderingVolumeOpenGL2` is not enabled even though `RenderingOpenGL2` and `RenderingVolume` are.
```
make help | grep Rendering
... RenderingCore-hierarchy
... RenderingCore
... RenderingFreeType
... Render...On a clean build of VTK the `RenderingVolumeOpenGL2` is not enabled even though `RenderingOpenGL2` and `RenderingVolume` are.
```
make help | grep Rendering
... RenderingCore-hierarchy
... RenderingCore
... RenderingFreeType
... RenderingFreeType-hierarchy
... RenderingContext2D-hierarchy
... RenderingContext2D
... RenderingAnnotation-hierarchy
... RenderingAnnotation
... RenderingVolume-hierarchy
... RenderingVolume
... RenderingLabel
... RenderingLabel-hierarchy
... TestingRendering-hierarchy
... TestingRendering
... RenderingLOD
... RenderingLOD-hierarchy
... RenderingImage-hierarchy
... RenderingImage
... RenderingOpenGL2
... RenderingOpenGL2-hierarchy
... RenderingGL2PSOpenGL2
... RenderingGL2PSOpenGL2-hierarchy
... vtkRenderingLabelCxxTests
... vtkRenderingLODCxxTests
... vtkRenderingImageCxxTests
... vtkRenderingGL2PSOpenGL2CxxTests
... vtkRenderingAnnotationCxxTests
... vtkRenderingOpenGL2CxxTests
... vtkRenderingCoreCxxTests
```Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17474VTK_BUILD_TESTING 3 states are insufficient2019-01-09T11:53:58-05:00Robert MaynardVTK_BUILD_TESTING 3 states are insufficientCurrent `VTK_BUILD_TESTING` has the following three states:
1. 'ON' - try to enable all modules that are part of TEST_DEPENDS of any module that is default. This means that on machines without MPI enabled the configuration errors out si...Current `VTK_BUILD_TESTING` has the following three states:
1. 'ON' - try to enable all modules that are part of TEST_DEPENDS of any module that is default. This means that on machines without MPI enabled the configuration errors out since 'VTK::ParallelMPI' is not enabled.
2. 'OFF' - this works as expected
3. 'DEFAULT' - this means that only modules that are currently enabled will be enabled. So for example if you enable `VTK::AcceleratorsVTKm` you will NOT get any tests unless you manually enable all of the following modules:
```
VTK::CommonSystem
VTK::FiltersSources
VTK::IOImage
VTK::IOLegacy
VTK::IOPLY
VTK::IOXML
VTK::ImagingHybrid
VTK::ImagingSources
VTK::InteractionStyle
VTK::RenderingFreeType
VTK::RenderingOpenGL2
VTK::RenderingVolumeOpenGL2
VTK::TestingCore
VTK::TestingRendering
```
If these modules are marked as `DEFAULT` they will not be enabled you have to force them to `YES` or `WANT`.
So what we need is the ability for a module to mark all TEST_DEPENDS as `WANT` so they become enabled if the system supports them.Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17451VTK w/ TBB missing TBB config info in CMake2019-04-18T09:52:14-04:00IsaiahVTK w/ TBB missing TBB config info in CMakeVTK built against TBB exposes several TBB includes (`{atomic,blocked_range,parallel_for}.h`), in what are -- as far as I can tell -- public headers: `vtkAtomic.h` and `vtkSMPThreadLocal.h` (also `vtkSMPToolsInternal.h`, but that's not pu...VTK built against TBB exposes several TBB includes (`{atomic,blocked_range,parallel_for}.h`), in what are -- as far as I can tell -- public headers: `vtkAtomic.h` and `vtkSMPThreadLocal.h` (also `vtkSMPToolsInternal.h`, but that's not public).
This appears to mean that any program linked against VTK w/TBB needs to make TBB headers available. However, I don't see a way to discover that fact using VTKConfig.cmake, except by grep'ing the `INTERFACE_LINK_LIBRARIES` for libtbb.
Given the error below, it's unclear how I would determine, from VTK CMake config files, that ITK needs to pass TBB header paths to ITKVtkGlue (assuming ITK was also built with TBB -- otherwise it should probably raise an error).
<details>
<summary>example error in ITKVtkGlue (click to expand)</summary>
```
[100%] Built target ITKIOMesh
In file included from /bp/_h_env/include/vtk-8.1/vtkAtomicTypes.h:18:0,
from /bp/_h_env/include/vtk-8.1/vtkObjectBase.h:54,
from /bp/_h_env/include/vtk-8.1/vtkObject.h:45,
from /bp/_h_env/include/vtk-8.1/vtkVersion.h:32,
from /bp/work/build/ITKv5/Modules/Bridge/VtkGlue/src/QuickView.cxx:25:
/bp/_h_env/include/vtk-8.1/vtkAtomic.h:28:10: fatal error: tbb/atomic.h: No such file or directory
#include <tbb/atomic.h>
^~~~~~~~~~~~~~
compilation terminated.
[100%] Built target ITKIOMesh-all
make[2]: *** [Modules/Bridge/VtkGlue/src/CMakeFiles/ITKVtkGlue.dir/QuickView.cxx.o] Error 1
make[1]: *** [Modules/Bridge/VtkGlue/src/CMakeFiles/ITKVtkGlue.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
```
</details>
<br>
related: https://gitlab.kitware.com/vtk/vtk/issues/16867Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17433Build Errors on Windows, VS 20172019-04-18T09:43:10-04:00Matt LeottaBuild Errors on Windows, VS 2017I'm getting errors building VTK on Windows 10 in Visual Studio 2017. I get several copies of error similar to this:
```
8>CUSTOMBUILD : CMake error : Could not open file for write in copy operation C:/Build/maptk-sbnc/external/fletch-bu...I'm getting errors building VTK on Windows 10 in Visual Studio 2017. I get several copies of error similar to this:
```
8>CUSTOMBUILD : CMake error : Could not open file for write in copy operation C:/Build/maptk-sbnc/external/fletch-build/build/src/VTK-build/C:/Build/maptk-sbnc/external/fletch-build/install/lib/cmake/vtk-8.2/Modules/vtkkwiml.cmake.tmp
8>CUSTOMBUILD : CMake error : : System Error: Invalid argument
8>CMake Error at CMake/vtkModuleMacros.cmake:337 (configure_file):
8> configure_file Problem configuring file
8>Call Stack (most recent call first):
8> Utilities/KWIML/CMakeLists.txt:5 (vtk_module_export_info)
```
Note VTK is being built as part of Fletch, which specifies a custom install directory. It appears to be caused by changes in 2ef6c770. Apparently replacing `lib` with `${CMAKE_INSTALL_LIBDIR}` is problematic in cases where `${CMAKE_INSTALL_LIBDIR}` is an absolute path (at least on Windows).https://gitlab.kitware.com/vtk/vtk/-/issues/17432Error: Building CXX object VTK/GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/Q...2019-04-18T09:44:09-04:00Chong LInError: Building CXX object VTK/GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/QVTKOpenGLNativeWidget.cxx.oWhen I building my paraview, the following errors happened, I can’t solve it. Anybody else have met the similar errors? Could you give me some suggestions? Thank you very much.
```
zhou@zhou-virtual-machine:~$ cd paraview_build/
zhou@z...When I building my paraview, the following errors happened, I can’t solve it. Anybody else have met the similar errors? Could you give me some suggestions? Thank you very much.
```
zhou@zhou-virtual-machine:~$ cd paraview_build/
zhou@zhou-virtual-machine:~/paraview_build$ make
[ 8%] Built target ParaViewData
[ 19%] Built target VTKData
[ 19%] Built target kwiml_test
[ 19%] Built target vtksys
[ 19%] Built target vtkWrappingTools
[ 19%] Built target vtkWrapHierarchy
[ 19%] Built target vtkCommonCoreHierarchy
[ 20%] Built target vtkCommonCore
[ 20%] Built target vtkCommonMathHierarchy
[ 20%] Built target vtkCommonMath
[ 20%] Built target vtkCommonMiscHierarchy
[ 20%] Built target vtkCommonMisc
[ 20%] Built target vtkCommonSystemHierarchy
[ 20%] Built target vtkCommonSystem
[ 20%] Built target vtkCommonTransformsHierarchy
[ 20%] Built target vtkCommonTransforms
[ 20%] Built target vtkCommonDataModelHierarchy
[ 21%] Built target vtkCommonDataModel
[ 21%] Built target vtkCommonExecutionModelHierarchy
[ 21%] Built target vtkCommonExecutionModel
[ 21%] Built target vtkFiltersCoreHierarchy
[ 22%] Built target vtkFiltersCore
[ 22%] Built target vtkCommonComputationalGeometryHierarchy
[ 22%] Built target vtkCommonComputationalGeometry
[ 22%] Built target vtkFiltersGeneralHierarchy
[ 23%] Built target vtkFiltersGeneral
[ 23%] Built target vtkImagingCoreHierarchy
[ 23%] Built target vtkImagingCore
[ 23%] Built target vtkImagingFourierHierarchy
[ 23%] Built target vtkImagingFourier
[ 23%] Built target vtkFiltersStatisticsHierarchy
[ 23%] Built target vtkFiltersStatistics
[ 23%] Built target vtkFiltersExtractionHierarchy
[ 23%] Built target vtkFiltersExtraction
[ 23%] Built target vtkFiltersSourcesHierarchy
[ 23%] Built target vtkFiltersSources
[ 23%] Built target vtkCommonColorHierarchy
[ 23%] Built target vtkCommonColor
[ 23%] Built target vtkFiltersGeometryHierarchy
[ 23%] Built target vtkFiltersGeometry
[ 23%] Built target vtkRenderingCoreHierarchy
[ 24%] Built target vtkRenderingCore
[ 24%] Built target vtkInteractionStyleHierarchy
[ 25%] Built target vtkInteractionStyle
[ 25%] Built target vtkglew
[ 25%] Built target vtkRenderingOpenGL2Hierarchy
[ 25%] Built target vtkRenderingOpenGL2
[ 25%] Built target vtkProbeOpenGLVersion
[ 25%] Built target vtkProbeOpenGLVersion-launcher
Scanning dependencies of target vtkGUISupportQt
[ 25%] Building CXX object VTK/GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/QVTKOpenGLNativeWidget.cxx.o
/home/zhou/paraview/VTK/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx: In member function ‘void QVTKOpenGLNativeWidget::recreateFBO()’:
/home/zhou/paraview/VTK/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx:386:52: error: ‘GL_RENDERBUFFER_SAMPLES’ was not declared in this scope
f->glGetRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_SAMPLES, &samples);
^
/home/zhou/paraview/VTK/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx: In member function ‘virtual void QVTKOpenGLNativeWidget::paintGL()’:
/home/zhou/paraview/VTK/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx:526:3: error: ‘QOpenGLFunctions_3_2_Core’ was not declared in this scope
QOpenGLFunctions_3_2_Core* f =
^
/home/zhou/paraview/VTK/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx:526:30: error: ‘f’ was not declared in this scope
QOpenGLFunctions_3_2_Core* f =
^
/home/zhou/paraview/VTK/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx:527:56: error: the value of ‘QOpenGLFunctions_3_2_Core’ is not usable in a constant expression
QOpenGLContext::currentContext()->versionFunctions<QOpenGLFunctions_3_2_Core>();
^
/home/zhou/paraview/VTK/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx:526:3: note: ‘QOpenGLFunctions_3_2_Core’ was not declared ‘constexpr’
QOpenGLFunctions_3_2_Core* f =
^
/home/zhou/paraview/VTK/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx:527:83: error: no matching function for call to ‘QOpenGLContext::versionFunctions()’
QOpenGLContext::currentContext()->versionFunctions<QOpenGLFunctions_3_2_Core>();
^
/home/zhou/paraview/VTK/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx:527:83: note: candidate is:
In file included from /home/zhou/Qt/5.11.2/android_armv7/include/QtGui/QOpenGLContext:1:0,
from /home/zhou/paraview/VTK/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx:20:
/home/zhou/Qt/5.11.2/android_armv7/include/QtGui/qopenglcontext.h:194:11: note: template<class TYPE> TYPE* QOpenGLContext::versionFunctions() const
TYPE *versionFunctions() const
^
/home/zhou/Qt/5.11.2/android_armv7/include/QtGui/qopenglcontext.h:194:11: note: template argument deduction/substitution failed:
/home/zhou/paraview/VTK/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx:532:26: error: ‘GL_DRAW_FRAMEBUFFER’ was not declared in this scope
f->glBindFramebuffer(GL_DRAW_FRAMEBUFFER, this->defaultFramebufferObject());
^
/home/zhou/paraview/VTK/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx:535:26: error: ‘GL_READ_FRAMEBUFFER’ was not declared in this scope
f->glBindFramebuffer(GL_READ_FRAMEBUFFER, this->FBO->handle());
^
make[2]: *** [VTK/GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/QVTKOpenGLNativeWidget.cxx.o] Error 1
make[1]: *** [VTK/GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/all] Error 2
make: *** [all] Error 2
```
https://gitlab.kitware.com/vtk/vtk/-/issues/17412Consider using -dumpversion instead of --version for detecting compiler version2019-01-09T15:35:09-05:00Nehal J WaniConsider using -dumpversion instead of --version for detecting compiler versionThe compiler being used by me on --version, throws the following output:
```
x86_64-conda_cos6-linux-gnu-cc (crosstool-NG 1.23.0.449-a04d0) 7.3.0 ...The compiler being used by me on --version, throws the following output:
```
x86_64-conda_cos6-linux-gnu-cc (crosstool-NG 1.23.0.449-a04d0) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
```
The regex parsing in the macro `_vtk_test_compiler_hidden_visibility` in `CMake/VTKGenerateExportHeader.cmake` fails, because then it sets `gcc_version` to `3.0.449` instead of `7.3.0` and makes the assumption that the compiler is too old and ends up generating header files with no (blank) values for `DEFINE_EXPORT`, `DEFINE_IMPORT` and `DEFINE_NO_EXPORT`
Why use --version, instead of just -dumpversion or `CMAKE_CXX_COMPILER_VERSION` ?Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17374Building vtkAcceleratorsVTKm module in VTK 8.1.1 fails2018-10-23T09:51:10-04:00Ghost UserBuilding vtkAcceleratorsVTKm module in VTK 8.1.1 failsWindows 10 / Visual Studio 2017 / Cuda 9.2
During building VTK with enabled vtkAcceleratorsVTKm module I get these errors:
```
c:\program files\nvidia gpu computing toolkit\cuda\v9.2\include\thrust\system\cuda\detail\cub\device\...Windows 10 / Visual Studio 2017 / Cuda 9.2
During building VTK with enabled vtkAcceleratorsVTKm module I get these errors:
```
c:\program files\nvidia gpu computing toolkit\cuda\v9.2\include\thrust\system\cuda\detail\cub\device\dispatch/dispatch_reduce.cuh(361): error : class "std::iterator_traits<thrust::cuda_cub::pointer<const vtkm::Int32>>" has no member "value_type"
detected during:
processing of template argument list for "thrust::cuda_cub::cub::DispatchReduce" based on template arguments <thrust::cuda_cub::pointer<const vtkm::Int32>, int *, OffsetT, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>>
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.2/include\thrust/system/cuda/detail/cub/device/device_reduce.cuh(162): here
instantiation of "cudaError_t thrust::cuda_cub::cub::DeviceReduce::Reduce(void *, size_t &, InputIteratorT, OutputIteratorT, int, ReductionOpT, T, cudaStream_t, __nv_bool) [with InputIteratorT=thrust::cuda_cub::pointer<const vtkm::Int32>, OutputIteratorT=int *, ReductionOpT=vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>, T=int]"
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.2/include\thrust/system/cuda/detail/reduce.h(950): here
instantiation of "T thrust::cuda_cub::reduce_n(thrust::cuda_cub::execution_policy<Derived> &, InputIt, Size, T, BinaryOp) [with Derived=thrust::cuda_cub::execute_on_stream, InputIt=thrust::cuda_cub::pointer<const vtkm::Int32>, Size=ptrdiff_t, T=int, BinaryOp=vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>]"
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.2/include\thrust/system/cuda/detail/reduce.h(1010): here
instantiation of "T thrust::cuda_cub::reduce(thrust::cuda_cub::execution_policy<Derived> &, InputIt, InputIt, T, BinaryOp) [with Derived=thrust::cuda_cub::execute_on_stream, InputIt=thrust::cuda_cub::pointer<const vtkm::Int32>, T=int, BinaryOp=vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>]"
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.2/include\thrust/detail/reduce.inl(71): here
instantiation of "T thrust::reduce(const thrust::detail::execution_policy_base<DerivedPolicy> &, InputIterator, InputIterator, T, BinaryFunction) [with DerivedPolicy=thrust::cuda_cub::execute_on_stream, InputIterator=thrust::cuda_cub::pointer<const vtkm::Int32>, T=int, BinaryFunction=vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>]"
C:/Users/Administrator/Downloads/VTK-8.1.1/ThirdParty/vtkm/vtk-m\vtkm/cont/cuda/internal/DeviceAdapterAlgorithmThrust.h(343): here
[ 8 instantiation contexts not shown ]
instantiation of "void vtkm::detail::ListForEachImpl(Functor &&, brigand::list<T1, T2, T3>) [with Functor=vtkm::cont::detail::TryExecuteImpl<vtkm::filter::detail::FilterDataSetPrepareForExecutionFunctor<vtkm::filter::ExternalFaces, vtkmInputFilterPolicy>> &, T1=vtkm::cont::DeviceAdapterTagCuda, T2=vtkm::cont::DeviceAdapterTagTBB, T3=vtkm::cont::DeviceAdapterTagSerial]"
C:/Users/Administrator/Downloads/VTK-8.1.1/ThirdParty/vtkm/vtk-m\vtkm/ListTag.h(92): here
instantiation of "void vtkm::ListForEach(Functor &&, ListTag) [with Functor=vtkm::cont::detail::TryExecuteImpl<vtkm::filter::detail::FilterDataSetPrepareForExecutionFunctor<vtkm::filter::ExternalFaces, vtkmInputFilterPolicy>> &, ListTag=vtkmInputFilterPolicy::DeviceAdapterList]"
C:/Users/Administrator/Downloads/VTK-8.1.1/ThirdParty/vtkm/vtk-m\vtkm/cont/TryExecute.h(175): here
instantiation of "__nv_bool vtkm::cont::TryExecute(Functor &, vtkm::cont::RuntimeDeviceTracker, DeviceList) [with Functor=vtkm::filter::detail::FilterDataSetPrepareForExecutionFunctor<vtkm::filter::ExternalFaces, vtkmInputFilterPolicy>, DeviceList=vtkmInputFilterPolicy::DeviceAdapterList]"
C:/Users/Administrator/Downloads/VTK-8.1.1/ThirdParty/vtkm/vtk-m\vtkm/filter/FilterDataSet.hxx(116): here
instantiation of "vtkm::filter::Result vtkm::filter::FilterDataSet<Derived>::PrepareForExecution(const vtkm::cont::DataSet &, const vtkm::filter::PolicyBase<DerivedPolicy> &) [with Derived=vtkm::filter::ExternalFaces, DerivedPolicy=vtkmInputFilterPolicy]"
C:/Users/Administrator/Downloads/VTK-8.1.1/ThirdParty/vtkm/vtk-m\vtkm/filter/FilterDataSet.hxx(70): here
instantiation of "vtkm::filter::Result vtkm::filter::FilterDataSet<Derived>::Execute(const vtkm::cont::DataSet &, const vtkm::filter::PolicyBase<DerivedPolicy> &) [with Derived=vtkm::filter::ExternalFaces, DerivedPolicy=vtkmInputFilterPolicy]"
c:\users\administrator\downloads\vtk-8.1.1\accelerators\vtkm\vtkmExternalFaces.cxx(133): here
c:\program files\nvidia gpu computing toolkit\cuda\v9.2\include\thrust\system\cuda\detail\cub\device\dispatch\../../agent/agent_reduce.cuh(107): error : class "std::iterator_traits<thrust::cuda_cub::pointer<const vtkm::Int32>>" has no member "value_type"
detected during:
instantiation of class "thrust::cuda_cub::cub::AgentReduce<AgentReducePolicy, InputIteratorT, OutputIteratorT, OffsetT, ReductionOp> [with AgentReducePolicy=thrust::cuda_cub::cub::AgentReducePolicy<256, 16, 4, thrust::cuda_cub::cub::BLOCK_REDUCE_WARP_REDUCTIONS, thrust::cuda_cub::cub::LOAD_LDG>, InputIteratorT=thrust::cuda_cub::pointer<const vtkm::Int32>, OutputIteratorT=int *, OffsetT=int, ReductionOp=vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>]"
c:\program files\nvidia gpu computing toolkit\cuda\v9.2\include\thrust\system\cuda\detail\cub\device\dispatch/dispatch_reduce.cuh(130): here
instantiation of "void thrust::cuda_cub::cub::DeviceReduceSingleTileKernel<ChainedPolicyT,InputIteratorT,OutputIteratorT,OffsetT,ReductionOpT,OutputT>(InputIteratorT, OutputIteratorT, OffsetT, ReductionOpT, OutputT) [with ChainedPolicyT=thrust::cuda_cub::cub::DeviceReducePolicy<std::remove_cv_t<int>, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>>::Policy600, InputIteratorT=thrust::cuda_cub::pointer<const vtkm::Int32>, OutputIteratorT=int *, OffsetT=int, ReductionOpT=vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>, OutputT=std::remove_cv_t<int>]"
c:\program files\nvidia gpu computing toolkit\cuda\v9.2\include\thrust\system\cuda\detail\cub\device\dispatch/dispatch_reduce.cuh(599): here
instantiation of "cudaError_t thrust::cuda_cub::cub::DispatchReduce<InputIteratorT, OutputIteratorT, OffsetT, ReductionOpT, OutputT>::Invoke<ActivePolicyT>() [with InputIteratorT=thrust::cuda_cub::pointer<const vtkm::Int32>, OutputIteratorT=int *, OffsetT=int, ReductionOpT=vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>, OutputT=std::remove_cv_t<int>, ActivePolicyT=thrust::cuda_cub::cub::DeviceReducePolicy<std::remove_cv_t<int>, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>>::Policy130]"
c:\program files\nvidia gpu computing toolkit\cuda\v9.2\include\thrust\system\cuda\detail\cub\iterator\../util_device.cuh(332): here
instantiation of "cudaError_t thrust::cuda_cub::cub::ChainedPolicy<PTX_VERSION, PolicyT, PolicyT>::Invoke(int, FunctorT &) [with PTX_VERSION=130, PolicyT=thrust::cuda_cub::cub::DeviceReducePolicy<std::remove_cv_t<int>, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>>::Policy130, FunctorT=thrust::cuda_cub::cub::DispatchReduce<thrust::cuda_cub::pointer<const vtkm::Int32>, int *, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>, std::remove_cv_t<int>>]"
c:\program files\nvidia gpu computing toolkit\cuda\v9.2\include\thrust\system\cuda\detail\cub\iterator\../util_device.cuh(315): here
instantiation of "cudaError_t thrust::cuda_cub::cub::ChainedPolicy<PTX_VERSION, PolicyT, PrevPolicyT>::Invoke(int, FunctorT &) [with PTX_VERSION=200, PolicyT=thrust::cuda_cub::cub::DeviceReducePolicy<std::remove_cv_t<int>, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>>::Policy200, PrevPolicyT=thrust::cuda_cub::cub::DeviceReducePolicy<std::remove_cv_t<int>, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>>::Policy130, FunctorT=thrust::cuda_cub::cub::DispatchReduce<thrust::cuda_cub::pointer<const vtkm::Int32>, int *, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>, std::remove_cv_t<int>>]"
c:\program files\nvidia gpu computing toolkit\cuda\v9.2\include\thrust\system\cuda\detail\cub\iterator\../util_device.cuh(315): here
[ 16 instantiation contexts not shown ]
instantiation of "void vtkm::detail::ListForEachImpl(Functor &&, brigand::list<T1, T2, T3>) [with Functor=vtkm::cont::detail::TryExecuteImpl<vtkm::filter::detail::FilterDataSetPrepareForExecutionFunctor<vtkm::filter::ExternalFaces, vtkmInputFilterPolicy>> &, T1=vtkm::cont::DeviceAdapterTagCuda, T2=vtkm::cont::DeviceAdapterTagTBB, T3=vtkm::cont::DeviceAdapterTagSerial]"
C:/Users/Administrator/Downloads/VTK-8.1.1/ThirdParty/vtkm/vtk-m\vtkm/ListTag.h(92): here
instantiation of "void vtkm::ListForEach(Functor &&, ListTag) [with Functor=vtkm::cont::detail::TryExecuteImpl<vtkm::filter::detail::FilterDataSetPrepareForExecutionFunctor<vtkm::filter::ExternalFaces, vtkmInputFilterPolicy>> &, ListTag=vtkmInputFilterPolicy::DeviceAdapterList]"
C:/Users/Administrator/Downloads/VTK-8.1.1/ThirdParty/vtkm/vtk-m\vtkm/cont/TryExecute.h(175): here
instantiation of "__nv_bool vtkm::cont::TryExecute(Functor &, vtkm::cont::RuntimeDeviceTracker, DeviceList) [with Functor=vtkm::filter::detail::FilterDataSetPrepareForExecutionFunctor<vtkm::filter::ExternalFaces, vtkmInputFilterPolicy>, DeviceList=vtkmInputFilterPolicy::DeviceAdapterList]"
C:/Users/Administrator/Downloads/VTK-8.1.1/ThirdParty/vtkm/vtk-m\vtkm/filter/FilterDataSet.hxx(116): here
instantiation of "vtkm::filter::Result vtkm::filter::FilterDataSet<Derived>::PrepareForExecution(const vtkm::cont::DataSet &, const vtkm::filter::PolicyBase<DerivedPolicy> &) [with Derived=vtkm::filter::ExternalFaces, DerivedPolicy=vtkmInputFilterPolicy]"
C:/Users/Administrator/Downloads/VTK-8.1.1/ThirdParty/vtkm/vtk-m\vtkm/filter/FilterDataSet.hxx(70): here
instantiation of "vtkm::filter::Result vtkm::filter::FilterDataSet<Derived>::Execute(const vtkm::cont::DataSet &, const vtkm::filter::PolicyBase<DerivedPolicy> &) [with Derived=vtkm::filter::ExternalFaces, DerivedPolicy=vtkmInputFilterPolicy]"
c:\users\administrator\downloads\vtk-8.1.1\accelerators\vtkm\vtkmExternalFaces.cxx(133): here
c:\program files\nvidia gpu computing toolkit\cuda\v9.2\include\thrust\system\cuda\detail\cub\device\dispatch\../../agent/agent_reduce.cuh(111): error : class "std::iterator_traits<thrust::cuda_cub::pointer<const vtkm::Int32>>" has no member "value_type"
detected during:
instantiation of class "thrust::cuda_cub::cub::AgentReduce<AgentReducePolicy, InputIteratorT, OutputIteratorT, OffsetT, ReductionOp> [with AgentReducePolicy=thrust::cuda_cub::cub::AgentReducePolicy<256, 16, 4, thrust::cuda_cub::cub::BLOCK_REDUCE_WARP_REDUCTIONS, thrust::cuda_cub::cub::LOAD_LDG>, InputIteratorT=thrust::cuda_cub::pointer<const vtkm::Int32>, OutputIteratorT=int *, OffsetT=int, ReductionOp=vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>]"
c:\program files\nvidia gpu computing toolkit\cuda\v9.2\include\thrust\system\cuda\detail\cub\device\dispatch/dispatch_reduce.cuh(130): here
instantiation of "void thrust::cuda_cub::cub::DeviceReduceSingleTileKernel<ChainedPolicyT,InputIteratorT,OutputIteratorT,OffsetT,ReductionOpT,OutputT>(InputIteratorT, OutputIteratorT, OffsetT, ReductionOpT, OutputT) [with ChainedPolicyT=thrust::cuda_cub::cub::DeviceReducePolicy<std::remove_cv_t<int>, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>>::Policy600, InputIteratorT=thrust::cuda_cub::pointer<const vtkm::Int32>, OutputIteratorT=int *, OffsetT=int, ReductionOpT=vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>, OutputT=std::remove_cv_t<int>]"
c:\program files\nvidia gpu computing toolkit\cuda\v9.2\include\thrust\system\cuda\detail\cub\device\dispatch/dispatch_reduce.cuh(599): here
instantiation of "cudaError_t thrust::cuda_cub::cub::DispatchReduce<InputIteratorT, OutputIteratorT, OffsetT, ReductionOpT, OutputT>::Invoke<ActivePolicyT>() [with InputIteratorT=thrust::cuda_cub::pointer<const vtkm::Int32>, OutputIteratorT=int *, OffsetT=int, ReductionOpT=vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>, OutputT=std::remove_cv_t<int>, ActivePolicyT=thrust::cuda_cub::cub::DeviceReducePolicy<std::remove_cv_t<int>, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>>::Policy130]"
c:\program files\nvidia gpu computing toolkit\cuda\v9.2\include\thrust\system\cuda\detail\cub\iterator\../util_device.cuh(332): here
instantiation of "cudaError_t thrust::cuda_cub::cub::ChainedPolicy<PTX_VERSION, PolicyT, PolicyT>::Invoke(int, FunctorT &) [with PTX_VERSION=130, PolicyT=thrust::cuda_cub::cub::DeviceReducePolicy<std::remove_cv_t<int>, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>>::Policy130, FunctorT=thrust::cuda_cub::cub::DispatchReduce<thrust::cuda_cub::pointer<const vtkm::Int32>, int *, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>, std::remove_cv_t<int>>]"
c:\program files\nvidia gpu computing toolkit\cuda\v9.2\include\thrust\system\cuda\detail\cub\iterator\../util_device.cuh(315): here
instantiation of "cudaError_t thrust::cuda_cub::cub::ChainedPolicy<PTX_VERSION, PolicyT, PrevPolicyT>::Invoke(int, FunctorT &) [with PTX_VERSION=200, PolicyT=thrust::cuda_cub::cub::DeviceReducePolicy<std::remove_cv_t<int>, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>>::Policy200, PrevPolicyT=thrust::cuda_cub::cub::DeviceReducePolicy<std::remove_cv_t<int>, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>>::Policy130, FunctorT=thrust::cuda_cub::cub::DispatchReduce<thrust::cuda_cub::pointer<const vtkm::Int32>, int *, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>, std::remove_cv_t<int>>]"
c:\program files\nvidia gpu computing toolkit\cuda\v9.2\include\thrust\system\cuda\detail\cub\iterator\../util_device.cuh(315): here
[ 16 instantiation contexts not shown ]
instantiation of "void vtkm::detail::ListForEachImpl(Functor &&, brigand::list<T1, T2, T3>) [with Functor=vtkm::cont::detail::TryExecuteImpl<vtkm::filter::detail::FilterDataSetPrepareForExecutionFunctor<vtkm::filter::ExternalFaces, vtkmInputFilterPolicy>> &, T1=vtkm::cont::DeviceAdapterTagCuda, T2=vtkm::cont::DeviceAdapterTagTBB, T3=vtkm::cont::DeviceAdapterTagSerial]"
C:/Users/Administrator/Downloads/VTK-8.1.1/ThirdParty/vtkm/vtk-m\vtkm/ListTag.h(92): here
instantiation of "void vtkm::ListForEach(Functor &&, ListTag) [with Functor=vtkm::cont::detail::TryExecuteImpl<vtkm::filter::detail::FilterDataSetPrepareForExecutionFunctor<vtkm::filter::ExternalFaces, vtkmInputFilterPolicy>> &, ListTag=vtkmInputFilterPolicy::DeviceAdapterList]"
C:/Users/Administrator/Downloads/VTK-8.1.1/ThirdParty/vtkm/vtk-m\vtkm/cont/TryExecute.h(175): here
instantiation of "__nv_bool vtkm::cont::TryExecute(Functor &, vtkm::cont::RuntimeDeviceTracker, DeviceList) [with Functor=vtkm::filter::detail::FilterDataSetPrepareForExecutionFunctor<vtkm::filter::ExternalFaces, vtkmInputFilterPolicy>, DeviceList=vtkmInputFilterPolicy::DeviceAdapterList]"
C:/Users/Administrator/Downloads/VTK-8.1.1/ThirdParty/vtkm/vtk-m\vtkm/filter/FilterDataSet.hxx(116): here
instantiation of "vtkm::filter::Result vtkm::filter::FilterDataSet<Derived>::PrepareForExecution(const vtkm::cont::DataSet &, const vtkm::filter::PolicyBase<DerivedPolicy> &) [with Derived=vtkm::filter::ExternalFaces, DerivedPolicy=vtkmInputFilterPolicy]"
C:/Users/Administrator/Downloads/VTK-8.1.1/ThirdParty/vtkm/vtk-m\vtkm/filter/FilterDataSet.hxx(70): here
instantiation of "vtkm::filter::Result vtkm::filter::FilterDataSet<Derived>::Execute(const vtkm::cont::DataSet &, const vtkm::filter::PolicyBase<DerivedPolicy> &) [with Derived=vtkm::filter::ExternalFaces, DerivedPolicy=vtkmInputFilterPolicy]"
c:\users\administrator\downloads\vtk-8.1.1\accelerators\vtkm\vtkmExternalFaces.cxx(133): here
c:\program files\nvidia gpu computing toolkit\cuda\v9.2\include\thrust\system\cuda\detail\cub\device\dispatch/dispatch_reduce.cuh(78): error : class "std::iterator_traits<thrust::cuda_cub::pointer<const vtkm::Int32>>" has no member "value_type"
detected during:
instantiation of "void thrust::cuda_cub::cub::DeviceReduceKernel<ChainedPolicyT,InputIteratorT,OutputIteratorT,OffsetT,ReductionOpT>(InputIteratorT, OutputIteratorT, OffsetT, thrust::cuda_cub::cub::GridEvenShare<OffsetT>, ReductionOpT) [with ChainedPolicyT=thrust::cuda_cub::cub::DeviceReducePolicy<std::remove_cv_t<int>, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>>::Policy600, InputIteratorT=thrust::cuda_cub::pointer<const vtkm::Int32>, OutputIteratorT=std::remove_cv_t<int> *, OffsetT=int, ReductionOpT=vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>]"
(606): here
instantiation of "cudaError_t thrust::cuda_cub::cub::DispatchReduce<InputIteratorT, OutputIteratorT, OffsetT, ReductionOpT, OutputT>::Invoke<ActivePolicyT>() [with InputIteratorT=thrust::cuda_cub::pointer<const vtkm::Int32>, OutputIteratorT=int *, OffsetT=int, ReductionOpT=vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>, OutputT=std::remove_cv_t<int>, ActivePolicyT=thrust::cuda_cub::cub::DeviceReducePolicy<std::remove_cv_t<int>, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>>::Policy130]"
c:\program files\nvidia gpu computing toolkit\cuda\v9.2\include\thrust\system\cuda\detail\cub\iterator\../util_device.cuh(332): here
instantiation of "cudaError_t thrust::cuda_cub::cub::ChainedPolicy<PTX_VERSION, PolicyT, PolicyT>::Invoke(int, FunctorT &) [with PTX_VERSION=130, PolicyT=thrust::cuda_cub::cub::DeviceReducePolicy<std::remove_cv_t<int>, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>>::Policy130, FunctorT=thrust::cuda_cub::cub::DispatchReduce<thrust::cuda_cub::pointer<const vtkm::Int32>, int *, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>, std::remove_cv_t<int>>]"
c:\program files\nvidia gpu computing toolkit\cuda\v9.2\include\thrust\system\cuda\detail\cub\iterator\../util_device.cuh(315): here
instantiation of "cudaError_t thrust::cuda_cub::cub::ChainedPolicy<PTX_VERSION, PolicyT, PrevPolicyT>::Invoke(int, FunctorT &) [with PTX_VERSION=200, PolicyT=thrust::cuda_cub::cub::DeviceReducePolicy<std::remove_cv_t<int>, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>>::Policy200, PrevPolicyT=thrust::cuda_cub::cub::DeviceReducePolicy<std::remove_cv_t<int>, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>>::Policy130, FunctorT=thrust::cuda_cub::cub::DispatchReduce<thrust::cuda_cub::pointer<const vtkm::Int32>, int *, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>, std::remove_cv_t<int>>]"
c:\program files\nvidia gpu computing toolkit\cuda\v9.2\include\thrust\system\cuda\detail\cub\iterator\../util_device.cuh(315): here
instantiation of "cudaError_t thrust::cuda_cub::cub::ChainedPolicy<PTX_VERSION, PolicyT, PrevPolicyT>::Invoke(int, FunctorT &) [with PTX_VERSION=300, PolicyT=thrust::cuda_cub::cub::DeviceReducePolicy<std::remove_cv_t<int>, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>>::Policy300, PrevPolicyT=thrust::cuda_cub::cub::DeviceReducePolicy<std::remove_cv_t<int>, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>>::Policy200, FunctorT=thrust::cuda_cub::cub::DispatchReduce<thrust::cuda_cub::pointer<const vtkm::Int32>, int *, int, vtkm::exec::cuda::internal::WrappedBinaryOperator<int, vtkm::Sum>, std::remove_cv_t<int>>]"
c:\program files\nvidia gpu computing toolkit\cuda\v9.2\include\thrust\system\cuda\detail\cub\iterator\../util_device.cuh(315): here
[ 15 instantiation contexts not shown ]
instantiation of "void vtkm::detail::ListForEachImpl(Functor &&, brigand::list<T1, T2, T3>) [with Functor=vtkm::cont::detail::TryExecuteImpl<vtkm::filter::detail::FilterDataSetPrepareForExecutionFunctor<vtkm::filter::ExternalFaces, vtkmInputFilterPolicy>> &, T1=vtkm::cont::DeviceAdapterTagCuda, T2=vtkm::cont::DeviceAdapterTagTBB, T3=vtkm::cont::DeviceAdapterTagSerial]"
C:/Users/Administrator/Downloads/VTK-8.1.1/ThirdParty/vtkm/vtk-m\vtkm/ListTag.h(92): here
instantiation of "void vtkm::ListForEach(Functor &&, ListTag) [with Functor=vtkm::cont::detail::TryExecuteImpl<vtkm::filter::detail::FilterDataSetPrepareForExecutionFunctor<vtkm::filter::ExternalFaces, vtkmInputFilterPolicy>> &, ListTag=vtkmInputFilterPolicy::DeviceAdapterList]"
C:/Users/Administrator/Downloads/VTK-8.1.1/ThirdParty/vtkm/vtk-m\vtkm/cont/TryExecute.h(175): here
instantiation of "__nv_bool vtkm::cont::TryExecute(Functor &, vtkm::cont::RuntimeDeviceTracker, DeviceList) [with Functor=vtkm::filter::detail::FilterDataSetPrepareForExecutionFunctor<vtkm::filter::ExternalFaces, vtkmInputFilterPolicy>, DeviceList=vtkmInputFilterPolicy::DeviceAdapterList]"
C:/Users/Administrator/Downloads/VTK-8.1.1/ThirdParty/vtkm/vtk-m\vtkm/filter/FilterDataSet.hxx(116): here
instantiation of "vtkm::filter::Result vtkm::filter::FilterDataSet<Derived>::PrepareForExecution(const vtkm::cont::DataSet &, const vtkm::filter::PolicyBase<DerivedPolicy> &) [with Derived=vtkm::filter::ExternalFaces, DerivedPolicy=vtkmInputFilterPolicy]"
C:/Users/Administrator/Downloads/VTK-8.1.1/ThirdParty/vtkm/vtk-m\vtkm/filter/FilterDataSet.hxx(70): here
instantiation of "vtkm::filter::Result vtkm::filter::FilterDataSet<Derived>::Execute(const vtkm::cont::DataSet &, const vtkm::filter::PolicyBase<DerivedPolicy> &) [with Derived=vtkm::filter::ExternalFaces, DerivedPolicy=vtkmInputFilterPolicy]"
c:\users\administrator\downloads\vtk-8.1.1\accelerators\vtkm\vtkmExternalFaces.cxx(133): here
...
4 errors detected in the compilation of "C:/Users/ADMINI~1/AppData/Local/Temp/tmpxft_00000bc0_00000000-14_vtkmExternalFaces.compute_70.cpp1.ii".
vtkmExternalFaces.cu
CMake Error at vtkAcceleratorsVTKmCuda_generated_vtkmExternalFaces.cu.obj.Release.cmake:279 (message):
Error generating file
C:/Users/Administrator/Downloads/VTK-8.1.1/build/Accelerators/Vtkm/CMakeFiles/vtkAcceleratorsVTKmCuda.dir//Release/vtkAcceleratorsVTKmCuda_generated_vtkmExternalFaces.cu.obj
Done building project "vtkAcceleratorsVTKmCuda.vcxproj" -- FAILED.
```
I will appreciate if someone can help me to solve this issue. Thanks in advance!Robert MaynardRobert Maynardhttps://gitlab.kitware.com/vtk/vtk/-/issues/17361VTK compile definitions causing warnings in the compiler2019-03-20T17:33:21-04:00Gregory KramidaVTK compile definitions causing warnings in the compilerNB: There is an easy fix (see below)! But tracking it down took so much work that I just made a local patch for my project instead of a PR here...
Using VTK with another project via CMake, I encountered this (many, many times) during c...NB: There is an easy fix (see below)! But tracking it down took so much work that I just made a local patch for my project instead of a PR here...
Using VTK with another project via CMake, I encountered this (many, many times) during compilation:
<command-line>:0:20: warning: ISO C++11 requires whitespace after the macro name
I've tracked it down to this compile definition:
-DvtkRenderingCore_AUTOINIT=3"(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL2)"
The warning disappears after placing a space after each item in the list, i.e.:
-DvtkRenderingCore_AUTOINIT=3"(vtkInteractionStyle ,vtkRenderingFreeType ,vtkRenderingOpenGL2 )"
(Aside) In the COMPILE_DEFINITIONS property as well as the ${VTK_DEFINITIONS} variable in CMake, this appears without quotes, like this: -DvtkRenderingCore_AUTOINIT=3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL2)
VTK Version 8.1.1, compiled from source, g++ 5.4.0, Ubuntu 16.04Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17349There are two problems in VTK 8.1.1 building with CMake2019-04-11T09:54:17-04:00minhphuoc hongThere are two problems in VTK 8.1.1 building with CMakeI am using Windows 10 (64 bits), CMake 3.11.4 and Visual Studio 2015 (64 bits) to build VTK 8.1.1. But there are two following problems:
1. If I turn on BUILD_EXAMPLES in CMake, there is an error message when build the "ALL BUILD" proje...I am using Windows 10 (64 bits), CMake 3.11.4 and Visual Studio 2015 (64 bits) to build VTK 8.1.1. But there are two following problems:
1. If I turn on BUILD_EXAMPLES in CMake, there is an error message when build the "ALL BUILD" project in the visual studio 2015. The error message "Cannot open include file: 'vtkRegressionTestImage.h': No such file or directory".
2. If I turn on Module_vtkSupportMFC and VTK_RENDERING_BACKEND is OpenGL2 in the CMake, I cannot build the "ALL_BUILD" project in the visual studio 2015. However, if I change the VTK_RENDERING_BACKEND value from OpenGL2 to OpenGL, everything is fine.
Is there anyway to fix those problems? I want to use OpenGL2 and turn on Module_vtkSupportMFC in VTK 8.1.1Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17336Cmake with VTK 8.1.1 with build examples turned on with Qt 5.11 gives a block...2018-10-23T16:40:53-04:00RickCmake with VTK 8.1.1 with build examples turned on with Qt 5.11 gives a blocking error.Cmake with VTK 8.1.1 with build examples turned on with Qt 5.11 gives me the following
CMake Error at Examples/Infovis/Cxx/EasyView/CMakeLists.txt:77 (qt5_use_modules):
Unknown CMake command "qt5_use_modules".Cmake with VTK 8.1.1 with build examples turned on with Qt 5.11 gives me the following
CMake Error at Examples/Infovis/Cxx/EasyView/CMakeLists.txt:77 (qt5_use_modules):
Unknown CMake command "qt5_use_modules".https://gitlab.kitware.com/vtk/vtk/-/issues/17322libvtkexpat has undefined reference linking error in Paraview 5.5.0 by default2019-03-20T17:01:02-04:00Jon Roodlibvtkexpat has undefined reference linking error in Paraview 5.5.0 by defaultSeems to be a VTK issue, but it's impacting Paraview 5.5.0 for me. I am seeing a linking error in VTK expat where `arc4random_buf` is undefined. I am building on CentOS 7 with GCC 6.2.0. Looking at Paraview 5.4.1 which I can successfully...Seems to be a VTK issue, but it's impacting Paraview 5.5.0 for me. I am seeing a linking error in VTK expat where `arc4random_buf` is undefined. I am building on CentOS 7 with GCC 6.2.0. Looking at Paraview 5.4.1 which I can successfully build in the same setting, VTK expat is much different and doesn't have anything involving libbsd there. I've been trying to understand how I can workaround this, but am having trouble getting it to choose the right random number function. I have libbsd available which is supposed to have that symbol. It appears that the libbsd stuff is all forcibly shut off in CMakeLists.txt, but somehow the preprocessor defines are still letting this symbol in.
```
lib/libvtkexpat-pv5.5.so.1: undefined reference to `arc4random_buf'
collect2: error: ld returned 1 exit status
```Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17314Add liblz4 to library search names in FindLZ4.cmake2019-05-31T10:03:05-04:00jakirkhamAdd liblz4 to library search names in FindLZ4.cmakeWould be nice to include `liblz4` in addition to `lz4` in the library names searched for by `FindLZ4.cmake`.Would be nice to include `liblz4` in addition to `lz4` in the library names searched for by `FindLZ4.cmake`.Ben BoeckelBen Boeckelhttps://gitlab.kitware.com/vtk/vtk/-/issues/17306mpi4py compile error using SGI's MPT mpi implementation2019-05-02T13:22:50-04:00Andrew Bauermpi4py compile error using SGI's MPT mpi implementationThe compile error is:
```
/p/home/joeh/PV/Build_5.5.0_gl2_qt510/superbuild/paraview/src/VTK/ThirdParty
/mpi4py/vtkmpi4py/src/mpi4py.MPI.c:142544:16: error:
'MPI_CONVERSION_FN_NULL' undeclared (first use in this function)
__pyx_v_rd = ...The compile error is:
```
/p/home/joeh/PV/Build_5.5.0_gl2_qt510/superbuild/paraview/src/VTK/ThirdParty
/mpi4py/vtkmpi4py/src/mpi4py.MPI.c:142544:16: error:
'MPI_CONVERSION_FN_NULL' undeclared (first use in this function)
__pyx_v_rd = MPI_CONVERSION_FN_NULL;
```
There is a working fix at https://gitlab.kitware.com/vtk/vtk/merge_requests/4257 but it needs to be upstreamed first and then brought back into VTK's 3rd party source.Ben BoeckelBen Boeckel