<div dir="ltr">Unfortunately, this is a known issue on Ubuntu 16.04.<div><br></div><div><a href="https://gitlab.kitware.com/paraview/paraview/issues/17751">https://gitlab.kitware.com/paraview/paraview/issues/17751</a><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 13, 2018 at 2:29 PM, Artem Bodrin <span dir="ltr"><<a href="mailto:art.bodrin@gmail.com" target="_blank">art.bodrin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello, Daniel.<br>
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<br>
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.<br>
My guessing is - remove dev package of protobuf from system and recompile again, it might help.<br>
<br>
<br>
> 13 февр. 2018 г., в 22:03, Daniel Vogler <<a href="mailto:davogler@ethz.ch">davogler@ethz.ch</a>> написал(а):<br>
<div class="HOEnZb"><div class="h5">><br>
> Dear all,<br>
><br>
> 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.<br>
><br>
> 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_<wbr>bin and /home/user/software/paraview respectively.<br>
><br>
> - export PATH=/opt/Qt/5.6.3/gcc_64/:$<wbr>PATH<br>
><br>
> - ccmake -D PARAVIEW_QT_VERSION:STRING=5 /path/to/paraview<br>
><br>
> - BUILD_TESTING --> OFF<br>
><br>
> - generation and make completes<br>
><br>
> The build works fine, but when I try to execute I get a protobuf error<br>
><br>
><br>
> user:~/software/paraview_bin$ ./bin/paraview<br>
> libprotobuf FATAL /home/user/software/paraview/<wbr>ThirdParty/protobuf/<wbr>vtkprotobuf/src/google/<wbr>protobuf/stubs/common.cc:62]<br>
> This program requires version 2.6.0 of the Protocol Buffer runtime library, but the installed version is 2.3.0.<br>
> Please update your library.<br>
> If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library.<br>
> (Version verification failed in "/build/mir-O8_xaj/mir-0.26.3+<wbr>16.04.20170605/obj-x86_64-<wbr>linux-gnu/src/protobuf/<a href="http://mir_protobuf.pb.cc" rel="noreferrer" target="_blank">mir_<wbr>protobuf.pb.cc</a>".)<br>
> Aborted<br>
><br>
> although my protoc version seems fine<br>
><br>
> user:~/software/paraview_bin$ protoc --version<br>
> libprotoc 2.6.1<br>
><br>
> I have tried uninstalling and reinstalling protoc and libprotobuf as well as reinstalling Qt afterwards, but can not figure out this error.<br>
><br>
> Any suggestions?<br>
><br>
> Thanks a bunch,<br>
><br>
> Dan<br>
><br>
<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Cory Quammen<br>Staff R&D Engineer<br>Kitware, Inc.</div>
</div>