[vtkusers] vtkFlRenderWindowInteractor on Mac OS X

Sean McBride sean at rogue-research.com
Fri Sep 14 13:04:30 EDT 2007


Hi Feng,

Please keep the discussion on the VTK mailing list, thanks.


On 9/14/07 11:09 PM, Feng Ding said:

>Link for vtkFlRenderWindowInteractor:
>http://cpbotha.net/software/vtkflrenderwindowinteractor
>Any other recommendation for bridging vtk and fltk?

Which version of VTK are you using?

Which version(s) of VTK does vtkFlRenderWindowInteractor support?

Your VTK is built to use Cocoa, is this what vtkFlRenderWindowInteractor
requires?

I suspect a mismatch.


>gdb trace:
>
>2007-09-14 20:10:16.257 Cone3[11993] *** -[NSCFType setContentView:]:
>selector not recognized [self = 0xc44f670]
>2007-09-14 20:10:16.277 Cone3[11993] An uncaught exception was raised
>2007-09-14 20:10:16.277 Cone3[11993] *** -[NSCFType setContentView:]:
>selector not recognized [self = 0xc44f670]
>2007-09-14 20:10:16.277 Cone3[11993] *** Uncaught exception:
><NSInvalidArgumentException> *** -[NSCFType setContentView:]: selector
>not recognized [self = 0xc44f670]
>
>Program received signal SIGTRAP, Trace/breakpoint trap.
>0x9282847f in _NSRaiseError ()
>(gdb) bt
>#0  0x9282847f in _NSRaiseError ()
>#1  0x9284f23f in +[NSException raise:format:] ()
>#2  0x928d74be in -[NSObject doesNotRecognizeSelector:] ()
>#3  0x927fb34b in -[NSObject(NSForwardInvocation) forward::] ()
>#4  0x90a5ccc1 in _objc_msgForward ()
>#5  0x010c69a1 in vtkCocoaRenderWindow::WindowInitialize
>(this=0xc44ed70) at /misc/VTK/Rendering/vtkCocoaRenderWindow.mm:492
>#6  0x010c58fd in vtkCocoaRenderWindow::Initialize (this=0xc44ed70) at
>/misc/VTK/Rendering/vtkCocoaRenderWindow.mm:554
>#7  0x010c47ad in vtkCocoaRenderWindow::Start (this=0xc44ed70) at
>/misc/VTK/Rendering/vtkCocoaRenderWindow.mm:164
>#8  0x01069f6c in vtkRenderWindow::DoStereoRender (this=0xc44ed70) at
>/misc/VTK/Rendering/vtkRenderWindow.cxx:623
>#9  0x01069f47 in vtkRenderWindow::DoFDRender (this=0xc44ed70) at
>/misc/VTK/Rendering/vtkRenderWindow.cxx:615
>#10 0x01069a62 in vtkRenderWindow::DoAARender (this=0xc44ed70) at
>/misc/VTK/Rendering/vtkRenderWindow.cxx:508
>#11 0x010690f7 in vtkRenderWindow::Render (this=0xc44ed70) at
>/misc/VTK/Rendering/vtkRenderWindow.cxx:334
>#12 0x0106cdb0 in vtkRenderWindowInteractor::Render (this=0xc447ea8)
>at /misc/VTK/Rendering/vtkRenderWindowInteractor.cxx:110
>#13 0x00009c0e in vtkFlRenderWindowInteractor::draw (this=0xc447e10)
>at /Users/dingfeng/workspace/vtkFlRenderWindowInteractor-1.02/
>vtkFlRenderWindowInteractor.cxx:247
>#14 0x00009b6a in vtkFlRenderWindowInteractor::flush (this=0xc447e10)
>at /Users/dingfeng/workspace/vtkFlRenderWindowInteractor-1.02/
>vtkFlRenderWindowInteractor.cxx:226
>#15 0x0000d68e in Fl_X::flush () at /usr/include/c++/4.0.0/iostream:76
>#16 0x0000d758 in Fl::flush () at /usr/include/c++/4.0.0/iostream:76
>#17 0x0000d843 in Fl::wait () at /usr/include/c++/4.0.0/iostream:76
>#18 0x0000d912 in Fl::run () at /usr/include/c++/4.0.0/iostream:76
>#19 0x00008e0c in main (argc=1, argv=0xbffff464) at
>/Users/dingfeng/workspace/vtkFlRenderWindowInteractor-1.02/examples/
>Cone3/Cone3.cxx:262


-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtkusers mailing list