[Paraview] vtk_use_system_protobuf w/ protobuf 2.6.0

Orion Poplawski orion at cora.nwra.com
Thu Apr 23 10:08:21 EDT 2015


On 04/09/2015 08:49 AM, Ben Boeckel wrote:
> On Thu, Apr 09, 2015 at 09:40:16 -0400, Ben Boeckel wrote:
>> Doesn't seem so. Looks like ParaView will need changes for 2.6.0.
>> Searching around, seems like the changes necessary for it are probably
>> minor[1].
>
> An attempt at this:
>
>      https://gitlab.kitware.com/paraview/paraview/merge_requests/52
>
> This won't verify it works with 2.6.0 since we don't have any buildbot
> machines with 2.6.0, so if you could test that this branch works for
> you, that'd be great. Thanks,
>
> --Ben
> _______________________________________________

>

Ben -

   Thanks, that gets me farther, but I'm getting other errors now:

/builddir/build/BUILD/ParaView-v4.3.1-source/ParaViewCore/ServerManager/Rendering/vtkSMCameraLink.cxx: 
In member function 'virtual void vtkSMCameraLink::UpdateState()':
/builddir/build/BUILD/ParaView-v4.3.1-source/ParaViewCore/ServerManager/Rendering/vtkSMCameraLink.cxx:367:45: 
error: no matching function for call to 
'paraview_protobuf::Message::GetExtension(google::protobuf::internal::ExtensionIdentifier<paraview_protobuf::Message, 
google::protobuf::internal::PrimitiveTypeTraits<bool>, 8u, false>&, int)'
      this->GetSynchronizeInteractiveRenders());
                                              ^
In file included from 
/builddir/build/BUILD/ParaView-v4.3.1-source/fedora/ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h:25:0,
                  from 
/builddir/build/BUILD/ParaView-v4.3.1-source/ParaViewCore/ServerImplementation/Core/vtkSMMessage.h:30,
                  from 
/builddir/build/BUILD/ParaView-v4.3.1-source/ParaViewCore/ServerManager/Rendering/vtkSMCameraLink.cxx:24:
/builddir/build/BUILD/ParaView-v4.3.1-source/fedora/ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h:608:3: 
note: candidate: template<class _proto_TypeTraits, unsigned char 
_field_type, bool _is_packed> typename 
_proto_TypeTraits::Singular::ConstType 
paraview_protobuf::Message::GetExtension(const 
google::protobuf::internal::ExtensionIdentifier<paraview_protobuf::Message, 
_proto_TypeTraits, _field_type, _is_packed>&) const
    GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(Message)
    ^
/builddir/build/BUILD/ParaView-v4.3.1-source/fedora/ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h:608:3: 
note:   template argument deduction/substitution failed:
/builddir/build/BUILD/ParaView-v4.3.1-source/ParaViewCore/ServerManager/Rendering/vtkSMCameraLink.cxx:367:45: 
note:   candidate expects 1 argument, 2 provided
      this->GetSynchronizeInteractiveRenders());
                                              ^
In file included from 
/builddir/build/BUILD/ParaView-v4.3.1-source/fedora/ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h:25:0,
                  from 
/builddir/build/BUILD/ParaView-v4.3.1-source/ParaViewCore/ServerImplementation/Core/vtkSMMessage.h:30,
                  from 
/builddir/build/BUILD/ParaView-v4.3.1-source/ParaViewCore/ServerManager/Rendering/vtkSMCameraLink.cxx:24:
/builddir/build/BUILD/ParaView-v4.3.1-source/fedora/ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h:608:3: 
note: candidate: template<class _proto_TypeTraits, unsigned char 
_field_type, bool _is_packed> typename 
_proto_TypeTraits::Repeated::ConstType 
paraview_protobuf::Message::GetExtension(const 
google::protobuf::internal::ExtensionIdentifier<paraview_protobuf::Message, 
_proto_TypeTraits, _field_type, _is_packed>&, int) const
    GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(Message)
    ^
/builddir/build/BUILD/ParaView-v4.3.1-source/fedora/ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h:608:3: 
note:   template argument deduction/substitution failed:
/builddir/build/BUILD/ParaView-v4.3.1-source/fedora/ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h: 
In substitution of 'template<class _proto_TypeTraits, unsigned char 
_field_type, bool _is_packed> typename 
_proto_TypeTraits::Repeated::ConstType 
paraview_protobuf::Message::GetExtension(const 
google::protobuf::internal::ExtensionIdentifier<paraview_protobuf::Message, 
_proto_TypeTraits, _field_type, _is_packed>&, int) const [with 
_proto_TypeTraits = 
google::protobuf::internal::PrimitiveTypeTraits<bool>; unsigned char 
_field_type = 8u; bool _is_packed = false]':
/builddir/build/BUILD/ParaView-v4.3.1-source/ParaViewCore/ServerManager/Rendering/vtkSMCameraLink.cxx:367:45: 
   required from here
/builddir/build/BUILD/ParaView-v4.3.1-source/fedora/ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h:608:3: 
error: no type named 'Repeated' in 'class 
google::protobuf::internal::PrimitiveTypeTraits<bool>'
/usr/bin/cmake -E cmake_progress_report 
/builddir/build/BUILD/ParaView-v4.3.1-source/fedora/CMakeFiles
ParaViewCore/ServerManager/Rendering/CMakeFiles/vtkPVServerManagerRendering.dir/build.make:199: 
recipe for target 
'ParaViewCore/ServerManager/Rendering/CMakeFiles/vtkPVServerManagerRendering.dir/vtkSMCameraLink.cxx.o' 
failed
/usr/bin/cmake -E cmake_progress_report 
/builddir/build/BUILD/ParaView-v4.3.1-source/fedora/CMakeFiles
make[2]: *** 
[ParaViewCore/ServerManager/Rendering/CMakeFiles/vtkPVServerManagerRendering.dir/vtkSMCameraLink.cxx.o] 
Error 1

- Orion

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the ParaView mailing list