[Paraview] ParaView 5.3.0 and Qt5 linking error

Tobias D research at man-behind-moon.com
Fri Apr 21 08:38:30 EDT 2017


Hey there, 
  
I am trying to compile ParaView 5.3 using Qt5 and OpenGL2 support. 
  
Following error is thrown: 
[100%] Linking CXX executable ../bin/pvserver../lib/libvtkPVServerManagerApplication-
pv5.3.so.1: undefined reference to `__cxa_throw_bad_array_new_length at Qt_5'collect2: 
error: ld returned 1 exit status 
  
This occurs for every executable during linking process. I compiled PV5.3 with Mesa (w/o 
gui) without problems. 
  
Any ideas?

Regards,
Tobi

  
My PV5.3 configuration: 
cmake \      -DBUILD_DOCUMENTATION=OFF                               \      -
DBUILD_EXAMPLES=OFF                                    \      -
DBUILD_TESTING=OFF                                     \      -
DCMAKE_BUILD_TYPE="Release"                            \      -
DCMAKE_C_COMPILER=mpicc                                \      -
DCMAKE_CXX_COMPILER=mpicxx                             \      -DCMAKE_INSTALL_PREFIX=$
{PREFIX}                        \      -DPARAVIEW_BUILD_QT_GUI=ON                              \      -
DPARAVIEW_ENABLE_PYTHON=ON                             \      -
DPARAVIEW_USE_MPI=ON                                   \      -
DPARAVIEW_QT_VERSION=5                                 \      -DPYTHON_EXECUTABLE="$
{DIR_PYTHON}/bin/python3"         \      -DPYTHON_INCLUDE_DIR="${DIR_PYTHON}/
include/python3.5m" \      -DPYTHON_LIBRARY="${DIR_PYTHON}/lib/libpython3.5m.so"   
\      -DVTK_PYTHON_VERSION=3                                  \      -
DVTK_RENDERING_BACKEND=OpenGL2                         \      -
DVTK_USE_LARGE_DATA=ON                                 \      ../ParaView-v5.3.0-source 
  
My setup: 
- Arch Linux 
- OpenMPI 1.10.4 with GCC 6.20 (compiled by myself) 
- Qt 5.6.2 (precompiled from qt-project.org) 
- Python3 (using miniconda) 
- NVidia graphics card (driver 378.13)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170421/505ed866/attachment.html>


More information about the ParaView mailing list