Dear Paraview Team,

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.


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..


[100%] Linking CXX executable ../bin/pvpython
Reaping winning child 0x6e9990 PID 28851
Live child 0x6e9990 (bin/pvpython) PID 28853
//home/scordee/Qt5.8.0/5.8/gcc_64/lib/libQt5Gui.so.5: undefined reference to 
`QDateTime::toSecsSinceEpoch() const@Qt_5'
//home/scordee/Qt5.8.0/5.8/gcc_64/lib/libQt5Gui.so.5: undefined reference to 
`qrand()@Qt_5'
//home/scordee/Qt5.8.0/5.8/gcc_64/lib/libQt5Gui.so.5: undefined reference to 
`QByteArray::mid(int, int) const@Qt_5'
//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'
//home/scordee/Qt5.8.0/5.8/gcc_64/lib/libQt5Gui.so.5: undefined reference to 
`QMetaType::unregisterConverterFunction(int, int)@Qt_5'
//home/scordee/Qt5.8.0/5.8/gcc_64/lib/libQt5Gui.so.5: undefined reference to 
`typeinfo for QAbstractItemModelPrivate@Qt_5_PRIVATE_API'
//home/scordee/Qt5.8.0/5.8/gcc_64/lib/libQt5Gui.so.5: undefined reference to 
`QMetaType::typeName(int)@Qt_5'
//home/scordee/Qt5.8.0/5.8/gcc_64/lib/libQt5Gui.so.5: undefined reference to 
`QChar::toUpper(unsigned int)@Qt_5'


...

...

...

...


Reaping losing child 0x6e9990 PID 28853
CommandLineExecutables/CMakeFiles/pvpython.dir/build.make:127: recipe for 
target 'bin/pvpython' failed
make[2]: *** [bin/pvpython] Error 1
Removing child 0x6e9990 PID 28853 from chain.
Reaping losing child 0x2106100 PID 28850
CMakeFiles/Makefile2:51541: recipe for target 
'CommandLineExecutables/CMakeFiles/pvpython.dir/all' failed
make[1]: *** [CommandLineExecutables/CMakeFiles/pvpython.dir/all] Error 2
Removing child 0x2106100 PID 28850 from chain.
Reaping losing child 0x1877c60 PID 25089
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Removing child 0x1877c60 PID 25089 from chain.


=========================================


So as a temporary solution, I commented out the 
add_subdirectory(CommandLineExecutables) in the CMakeLists.txt.


#if (PARAVIEW_ENABLE_COMMANDLINE_TOOLS)
#  add_subdirectory(CommandLineExecutables)
#endif()


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.


==============


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".)
Aborted (core dumped)


=============


Could you please help me with the above issue? I am building paraview on Ubuntu 
Xenial 16 LTS.


Thank you in advance

Deepak


Dr. Deepak Tunuguntla
Post-Doctoral Researcher
Multi-Scale Mechanics Group
Dept. of Thermal and Fluid Engineering
University of Twente, The Netherlands
_______________________________________________
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:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to