[vtk-developers] Problems building with cmake 3.3

Atri Bhattacharya badshah400 at aim.com
Thu Nov 24 09:24:42 EST 2016


Hi!
Congratulations and thanks for another exciting release of vtk!

I am a packager of vtk for openSUSE [1], and I find that vtk 7.1 fails
to build, e.g. on openSUSE 13.2 (hd5 1.8.13, cmake 3.0.2), openSUSE
Leap 42.1 (hdf5 1.8.15, cmake 3.3.2), but builds fine on openSUSE Leap
42.2 (hdf5 1.8.15, cmake 3.5.2) and later. The error I see on the older
systems is along the lines of:
```
[  245s] -- [1;4;34mConfiguring proj library:[0m 
[  245s] -- 
[  245s] -- PROJ_CORE_TARGET                         = vtkproj4 
[  245s] -- PROJ_CORE_TARGET_OUTPUT_NAME             = vtkproj4 
[  245s] -- PROJ_LIBRARIES                           = vtkproj4 
[  246s] CMake Error at CMake/NewCMake/FindHDF5.cmake:483
(find_program):
[  246s]   find_program does not support NAMES_PER_DIR
[  246s] Call Stack (most recent call first):
[  246s]   CMake/FindHDF5.cmake:7 (include)
[  246s]   CMake/vtkModuleMacros.cmake:858 (find_package)
[  246s]   ThirdParty/hdf5/CMakeLists.txt:1 (vtk_module_third_party)
```
Any way we could continue to provide vtk 7.1 for these older
installations, or should we simply stop upgrading vtk for these? Thanks
for any help, suggestions, etc.

Best wishes.

[1] My efforts to build vtk 7.1 are here:
https://build.opensuse.org/package/show/home:badshah400:branches:science/vtk
which, upon success, I will submit to the official pkgs, which are
provided through
https://build.opensuse.org/package/show/science/vtk



More information about the vtk-developers mailing list