Thanks for the reply! I'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'm going off these examples because I need to use QVTK to merge Qt and PCL Visualizer (but I'm still pretty new so it's a learning process)<br>
<br><div class="gmail_quote">On Mon, Dec 10, 2012 at 11:09 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">>> I'm going off the QVTK RenderWindowUISingleInheritance example on the VTK<br>
>> page, as followed by this link<br>
>><br>
>><br>
>> <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>
>><br>
>> I've built it exactly as it is, the only things changed are in the<br>
>> CMakeLists.txt file, where in the line<br>
>><br>
>> TARGET_LINK_LIBRARIES( RenderWindowUI ${VTK_LIBRARIES} )<br>
>><br>
>> I've changed it to<br>
>><br>
>> TARGET_LINK_LIBRARIES( RenderWindowUISingleInheritance ${VTK_LIBRARIES}<br>
>> ${QT_LIBRARIES} QVTK)<br>
>><br>
>> So that it would compile. Except now, upon running the application, I get<br>
>> a segmentation fault. I have no idea what's going on, this is my first<br>
>> 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'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>