[Paraview] CMake error from VTKConfig.cmake
Christoph Grüninger
foss at grueninger.de
Sun Apr 15 07:08:30 EDT 2018
Dear ParaView community,
I tried to update openSuse's ParaView RPM. Unfortunately I get the
following CMake error.
> CMake Error at build/VTK/ThirdParty/vtkm/vtk-m/lib/cmake/paraview-5.5/vtkm/VTKmConfig.cmake:289:
> Parse error. Function missing ending ")". Instead found unterminated
> string with text ")
>
> endif()
>
> endforeach()
>
>
>
> check_required_components(VTKm)
>
> ".
> Call Stack (most recent call first):
> build/VTK/VTKConfig.cmake:92 (find_package)
> CMake/ParaViewModuleTop.cmake:89 (include)
> CMakeLists.txt:676 (include)
>
>
> CMake Error at build/VTK/VTKConfig.cmake:92 (find_package):
> find_package Error reading CMake code from
> "/home/abuild/rpmbuild/BUILD/ParaView-v5.5.0/build/VTK/ThirdParty/vtkm/vtk-m/lib/cmake/paraview-5.5/vtkm/VTKmConfig.cmake".
> Call Stack (most recent call first):
> CMake/ParaViewModuleTop.cmake:89 (include)
> CMakeLists.txt:676 (include)
Can someone please have a look whether it is a bug or a wrong
configuration from openSuse? The CMake call is
%cmake -DPV_INSTALL_LIB_DIR:PATH=%{_lib}/%{name} \
-DVTK_INSTALL_INCLUDE_DIR:PATH=include/%{name} \
-DVTK_INSTALL_ARCHIVE_DIR:PATH=%{_lib}/%{name} \
-DVTK_INSTALL_LIBRARY_DIR:PATH=%{_lib}/%{name} \
-DVTK_INSTALL_DATA_DIR=share/%{name} \
-DVTK_INSTALL_DOC_DIR=share/doc/packages/%{name} \
-DCMAKE_CXX_COMPILER:FILEPATH=$CXX \
-DCMAKE_C_COMPILER:FILEPATH=$CC \
-DCMAKE_SKIP_RPATH:BOOL=OFF \
-DPARAVIEW_BUILD_QT_GUI:BOOL=ON \
-DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=ON \
-DPARAVIEW_ENABLE_PYTHON:BOOL=ON \
-DVTK_WRAP_PYTHON:BOOL=ON \
-DVTK_WRAP_PYTHON_SIP:BOOL=ON \
-DVTK_OPENGL_HAS_OSMESA:BOOL=OFF \
-DVTK_USE_SYSTEM_EXPAT:BOOL=ON \
-DVTK_USE_SYSTEM_FREETYPE:BOOL=ON \
-DVTK_USE_SYSTEM_JPEG:BOOL=ON \
-DVTK_USE_SYSTEM_PNG:BOOL=ON \
-DVTK_USE_SYSTEM_TIFF:BOOL=ON \
-DVTK_USE_SYSTEM_ZLIB:BOOL=ON \
-DVTK_USE_SYSTEM_ZOPE:BOOL=ON \
-DVTK_USE_SYSTEM_TWISTED:BOOL=ON \
-DVTK_USE_SYSTEM_GL2PS:BOOL=OFF \
-DBUILD_DOCUMENTATION:BOOL=ON \
-DBUILD_EXAMPLES:BOOL=ON \
-DBUILD_TESTING:BOOL=OFF
Unrelated, but still irritating are dozens of CMake warnings like:
> CMake Warning (dev) at build/VTK/ThirdParty/vtkm/vtk-m/lib/cmake/paraview-5.5/vtkm/VTKmConfig.cmake:278:
> Syntax Warning in cmake code at column 25
>
> Argument not separated from preceding token by whitespace.
> Call Stack (most recent call first):
> build/VTK/VTKConfig.cmake:92 (find_package)
> CMake/ParaViewModuleTop.cmake:89 (include)
> CMakeLists.txt:676 (include)
> This warning is for project developers. Use -Wno-dev to suppress it.
Bye
Christoph
--
Unfortunately, plots are notoriously hard to get right. Partly, the
default settings of programs like gnuplot or Excel are to blame for
this since these programs make it very convenient to create bad plots.
-- Till Tantau, "The TikZ and PGF Packages"
More information about the ParaView
mailing list