[vtkusers] Segmentation fault with QT + vtkDEMReader

David Doria daviddoria at gmail.com
Sun Jul 29 07:59:43 EDT 2012


On Sun, Jul 29, 2012 at 6:15 AM, Pa Set <pasyte at hotmail.it> wrote:
> Hello,
> no .pro file sorry.
> The source files in the wiki page were used. So the development chain is QT
> + VTK + CMAKE.
> The only changes to the sources are shown in the initial message.
> I can add for your request the linking output: (same for modified and
> unmodified versions)
>
> Linking CXX executable RenderWindowUIMultipleInheritance
> /usr/bin/cmake -E cmake_link_script
> CMakeFiles/RenderWindowUIMultipleInheritance.dir/link.txt --verbose=1
> /usr/bin/c++     -Wno-deprecated
> CMakeFiles/RenderWindowUIMultipleInheritance.dir/RenderWindowUIMultipleInheritance.cxx.o
> CMakeFiles/RenderWindowUIMultipleInheritance.dir/SimpleViewUI.cxx.o
> CMakeFiles/RenderWindowUIMultipleInheritance.dir/moc_SimpleViewUI.cxx.o  -o
> RenderWindowUIMultipleInheritance -rdynamic /usr/lib/libQVTK.so.5.8.0
> /usr/lib/libvtkViews.so.5.8.0 /usr/lib/libvtkInfovis.so.5.8.0
> /usr/lib/libvtkWidgets.so.5.8.0 /usr/lib/libvtkHybrid.so.5.8.0
> /usr/lib/libvtkVolumeRendering.so.5.8.0 /usr/lib/libvtkParallel.so.5.8.0
> /usr/lib/libvtkRendering.so.5.8.0 /usr/lib/libvtkGraphics.so.5.8.0
> /usr/lib/libvtkImaging.so.5.8.0 /usr/lib/libvtkIO.so.5.8.0
> /usr/lib/libvtkFiltering.so.5.8.0 /usr/lib/libvtkCommon.so.5.8.0 -lm
> /usr/lib/libvtksys.so.5.8.0 -ldl /usr/lib/libvtkQtChart.so.5.8.0 -lQtGui
> -lQtSql -lQtNetwork -lQtCore -Wl,-rpath,/usr/lib/openmpi/lib
> -Wl,-rpath-link,/usr/lib/openmpi/lib

Maybe you built VTK against a different version of Qt than you are
building your program against? I would try rebuilding VTK and making
sure it is using the same Qt install that you are trying to use with
your program.

David



More information about the vtkusers mailing list