[vtkusers] QVTK Examples -- Segmentation Fault

Obadiah ob1.owk at gmail.com
Mon Dec 10 01:57:04 EST 2012


Apologies, I'm running it on Ubuntu 11.10

On Mon, Dec 10, 2012 at 4:46 PM, Obadiah <ob1.owk at gmail.com> wrote:

> Hello
>
> I'm going off the QVTK RenderWindowUISingleInheritance example on the VTK
> page, as followed by this link
>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/RenderWindowUISingleInheritance
>
> I've built it exactly as it is, the only things changed are in the
> CMakeLists.txt file, where in the line
>
> TARGET_LINK_LIBRARIES( RenderWindowUI ${VTK_LIBRARIES} )
>
> I've changed it to
>
> TARGET_LINK_LIBRARIES( RenderWindowUISingleInheritance ${VTK_LIBRARIES}
> ${QT_LIBRARIES} QVTK)
>
> So that it would compile. Except now, upon running the application, I get
> a segmentation fault. I have no idea what's going on, this is my first
> introduction to VTK. Any ideas?
>
> Thanks
> Obi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121210/c18cb593/attachment.htm>


More information about the vtkusers mailing list