[Paraview] CMake error from VTKConfig.cmake
Christoph Grüninger
foss at grueninger.de
Sun Apr 15 16:00:41 EDT 2018
Hi Utkarsh,
I used openSuse build service (OBS) which currently builds it on Leap
42.2 and Tumblewheed. If you want to give it a shot, try the package
which I branched:
home:mathletic:branches:science/paraview
Bye
Christoph
Am 15.04.2018 um 16:40 schrieb Utkarsh Ayachit:
> Christoph,
>
> What openSuse version are you building on? I'll see if I can reproduce
> using the same version Docker image, if available. Will make it easier
> to track down.
>
> Utkarsh
>
> On Sun, Apr 15, 2018 at 7:08 AM, Christoph Grüninger <foss at grueninger.de> wrote:
>> 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
More information about the ParaView
mailing list