Unfortunately, this is a known issue on Ubuntu 16.04. https://gitlab.kitware.com/paraview/paraview/issues/17751
On Tue, Feb 13, 2018 at 2:29 PM, Artem Bodrin <[email protected]> wrote: > Hello, Daniel. > I have encountered the same trouble as you, Linux Mint (based on ubuntu > 16.04). I did not seek for a solution yet (no need for linux version right > now), but the answer is in the error output. If you inspect the 3rd party > protobuf bundled with ParaView VTK submodule, then you can see that > original version used by VTK is 2.3.0 > So I think, that during compilation it uses the system headers from ubuntu > (which is 2.6.1), but links on internal VTK protobuf library which is 2.3.0. > My guessing is - remove dev package of protobuf from system and recompile > again, it might help. > > > > 13 февр. 2018 г., в 22:03, Daniel Vogler <[email protected]> написал(а): > > > > Dear all, > > > > I am having trouble building Paraview 5.2.0 (This version or older is > required for a separate plug-in). Other installations of paraview (not > compiled from source) work fine. > > > > I run Ubuntu 16.04 LTS. I check out the paraview 5.2.0 release and > installed Qt5.6.3 (also tried 5.6 and 5.7 because I had trouble with Qt > during the paraview build earlier) in a separate directory. I have my > (empty) build directory paraview_bin and paraview 5.2.0 source in > /home/user/software/paraview_bin and /home/user/software/paraview > respectively. > > > > - export PATH=/opt/Qt/5.6.3/gcc_64/:$PATH > > > > - ccmake -D PARAVIEW_QT_VERSION:STRING=5 /path/to/paraview > > > > - BUILD_TESTING --> OFF > > > > - generation and make completes > > > > The build works fine, but when I try to execute I get a protobuf error > > > > > > user:~/software/paraview_bin$ ./bin/paraview > > libprotobuf FATAL /home/user/software/paraview/ThirdParty/protobuf/ > vtkprotobuf/src/google/protobuf/stubs/common.cc:62] > > This program requires version 2.6.0 of the Protocol Buffer runtime > library, but the installed version is 2.3.0. > > Please update your library. > > If you compiled the program yourself, make sure that your headers are > from the same version of Protocol Buffers as your link-time library. > > (Version verification failed in "/build/mir-O8_xaj/mir-0.26.3+ > 16.04.20170605/obj-x86_64-linux-gnu/src/protobuf/mir_protobuf.pb.cc".) > > Aborted > > > > although my protoc version seems fine > > > > user:~/software/paraview_bin$ protoc --version > > libprotoc 2.6.1 > > > > I have tried uninstalling and reinstalling protoc and libprotobuf as > well as reinstalling Qt afterwards, but can not figure out this error. > > > > Any suggestions? > > > > Thanks a bunch, > > > > Dan > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > https://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc.
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: https://public.kitware.com/mailman/listinfo/paraview
