Thanks for the reply! I&#39;m using VTK 5.10, the latest version as downloaded from the website. The Sphere example works fine, but the QVTK single (and multiple) inheritance examples still give segmentation faults. I&#39;m going off these examples because I need to use QVTK to merge Qt and PCL Visualizer (but I&#39;m still pretty new so it&#39;s a learning process)<br>
<br><div class="gmail_quote">On Mon, Dec 10, 2012 at 11:09 PM, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">&gt;&gt; I&#39;m going off the QVTK RenderWindowUISingleInheritance example on the VTK<br>
&gt;&gt; page, as followed by this link<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/RenderWindowUISingleInheritance" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/RenderWindowUISingleInheritance</a><br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve built it exactly as it is, the only things changed are in the<br>
&gt;&gt; CMakeLists.txt file, where in the line<br>
&gt;&gt;<br>
&gt;&gt; TARGET_LINK_LIBRARIES( RenderWindowUI ${VTK_LIBRARIES} )<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve changed it to<br>
&gt;&gt;<br>
&gt;&gt; TARGET_LINK_LIBRARIES( RenderWindowUISingleInheritance ${VTK_LIBRARIES}<br>
&gt;&gt; ${QT_LIBRARIES} QVTK)<br>
&gt;&gt;<br>
&gt;&gt; So that it would compile. Except now, upon running the application, I get<br>
&gt;&gt; a segmentation fault. I have no idea what&#39;s going on, this is my first<br>
&gt;&gt; introduction to VTK. Any ideas?<br>
<br>
</div>Welcome to VTK!<br>
<br>
Which version of VTK are you using?<br>
<br>
I would suggest starting with a non-Qt example, like this one:<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere</a><br>
<br>
If it runs fine for you, then we&#39;ll know that there is no problem with<br>
your VTK install.<br>
<span class="HOEnZb"><font color="#888888"><br>
David<br>
</font></span></blockquote></div><br>