<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Dear Paraview Team,</p>
<p><br>
</p>
<p>Currently, I am building paraview 5.3 from its source files alongwith Qt 5.8. I am doing this to add superquadric custom glyphs in paraview.</p>
<p><br>
</p>
<p>After a whole day of figuring out and installing the required libraries, the build process now reaches 100% however it fails when trying to build command line executables. Below is the is what i see on my terminal when i use make -d.. 
<br>
</p>
<p><br>
</p>
<p>[100%] Linking CXX executable ../bin/pvpython<br>
Reaping winning child 0x6e9990 PID 28851 <br>
Live child 0x6e9990 (bin/pvpython) PID 28853 <br>
//home/scordee/Qt5.8.0/5.8/gcc_64/lib/libQt5Gui.so.5: undefined reference to `QDateTime::toSecsSinceEpoch() const@Qt_5'<br>
//home/scordee/Qt5.8.0/5.8/gcc_64/lib/libQt5Gui.so.5: undefined reference to `qrand()@Qt_5'<br>
//home/scordee/Qt5.8.0/5.8/gcc_64/lib/libQt5Gui.so.5: undefined reference to `QByteArray::mid(int, int) const@Qt_5'<br>
//home/scordee/Qt5.8.0/5.8/gcc_64/lib/libQt5Gui.so.5: undefined reference to `QAbstractItemModel::layoutAboutToBeChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint)@Qt_5'<br>
//home/scordee/Qt5.8.0/5.8/gcc_64/lib/libQt5Gui.so.5: undefined reference to `QMetaType::unregisterConverterFunction(int, int)@Qt_5'<br>
//home/scordee/Qt5.8.0/5.8/gcc_64/lib/libQt5Gui.so.5: undefined reference to `typeinfo for QAbstractItemModelPrivate@Qt_5_PRIVATE_API'<br>
//home/scordee/Qt5.8.0/5.8/gcc_64/lib/libQt5Gui.so.5: undefined reference to `QMetaType::typeName(int)@Qt_5'<br>
//home/scordee/Qt5.8.0/5.8/gcc_64/lib/libQt5Gui.so.5: undefined reference to `QChar::toUpper(unsigned int)@Qt_5'<br>
<br>
</p>
<p>...</p>
<p>...</p>
<p>...</p>
<p>...<br>
</p>
<p><br>
</p>
<p>Reaping losing child 0x6e9990 PID 28853 <br>
CommandLineExecutables/CMakeFiles/pvpython.dir/build.make:127: recipe for target 'bin/pvpython' failed<br>
make[2]: *** [bin/pvpython] Error 1<br>
Removing child 0x6e9990 PID 28853 from chain.<br>
Reaping losing child 0x2106100 PID 28850 <br>
CMakeFiles/Makefile2:51541: recipe for target 'CommandLineExecutables/CMakeFiles/pvpython.dir/all' failed<br>
make[1]: *** [CommandLineExecutables/CMakeFiles/pvpython.dir/all] Error 2<br>
Removing child 0x2106100 PID 28850 from chain.<br>
Reaping losing child 0x1877c60 PID 25089 <br>
Makefile:138: recipe for target 'all' failed<br>
make: *** [all] Error 2<br>
Removing child 0x1877c60 PID 25089 from chain.</p>
<p><br>
</p>
<p>=========================================<br>
<br>
</p>
<p>So as a temporary solution, I commented out the add_subdirectory(CommandLineExecutables) in the CMakeLists.txt.
</p>
<p><br>
</p>
<p>#if (PARAVIEW_ENABLE_COMMANDLINE_TOOLS)<br>
#  add_subdirectory(CommandLineExecutables)<br>
#endif()<br>
</p>
<p><br>
</p>
<p>Then the build succeeds. But sadly, I am still unable to start paraview because then I get some "libprotobuf" error which states that I need to update my libprotobuf library.</p>
<p><br>
</p>
<p>==============</p>
<p><br>
</p>
<p>libprotobuf FATAL /home/scordee/Paraview/Source/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-pkdHET/mir-0.21.0+16.04.20160330/obj-x86_64-linux-gnu/src/protobuf/mir_protobuf.pb.cc".)<br>
Aborted (core dumped)<br>
<br>
</p>
<p>=============<br>
</p>
<p><br>
</p>
<p>Could you please help me with the above issue? I am building paraview on Ubuntu Xenial 16 LTS.</p>
<p><br>
</p>
<p>Thank you in advance<br>
</p>
<p>Deepak<br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<font face="Helvetica, Sans-Serif" size="3">Dr. <font color="3366FF">Deepak</font> Tunuguntla</font><font face="Helvetica, Sans-Serif"><br>
<font size="2" color="000000">Post-Doctoral Researcher<br>
Multi-Scale Mechanics Group<br>
Dept. of Thermal and Fluid Engineering<br>
University of Twente, </font></font><span style="font-family:Helvetica,sans-serif; font-size:small">The Netherlands</span>
</div>
</div>
</body>
</html>