I am encountering an error running the HelloWorld from IGSTK 4.4 on MacOS 10.7.
The problem seems to be with FLTK.
FLTK 1.3 -r9422 installed correctly - I can run both the HelloWorld example and
the demo program in the test folder.
However, win I run the HelloWorld example from IGSTK (igstk.org) I get the
following crash:
1336685798.79334807395935058594 : (DEBUG) igstkView::SetRefreshRate()
called ...
1336685798.79408693313598632812 : (DEBUG) igstkView::RequestStart() called
...
1336685798.79415798187255859375 : (DEBUG) State transition is being made :
View3D PointerID 0x7f89bd808800 InteractorInitializedState(95) with
StartRefreshingInput(87) ---> RefreshingState(96).
1336685798.79418396949768066406 : (DEBUG) igstkView::StartProcessing()
called ...
11
1336685798.79423689842224121094 : (DEBUG) igstkView::RequestResetCamera()
called ...
1336685798.79429411888122558594 : (DEBUG) State transition is being made :
View3D PointerID 0x7f89bd808800 RefreshingState(96) with ResetCameraInput(86)
---> RefreshingState(96).
1336685798.79432511329650878906 : (DEBUG)
igstkView::ResetCameraProcessing() called ...
12
1336685798.79514002799987792969 : (DEBUG)
igstkView::RequestSetRenderWindowSize(...) called ...
1336685798.79518795013427734375 : (DEBUG) State transition is being made :
View3D PointerID 0x7f89bd808800 RefreshingState(96) with
ValidRenderWindowSizeInput(91) ---> RefreshingState(96).
1336685798.81371188163757324219 : (DEBUG)
igstkView::SetRenderWindowSizeProcessing(...) called ...
2012-05-10 17:36:38.829 hello-igstk[316:b03] -[FLWindow window]: unrecognized
selector sent to instance 0x7f89bbc1ff60
2012-05-10 17:36:38.862 hello-igstk[316:b03] An uncaught exception was raised
2012-05-10 17:36:38.863 hello-igstk[316:b03] -[FLWindow window]: unrecognized
selector sent to instance 0x7f89bbc1ff60
2012-05-10 17:36:38.940 hello-igstk[316:b03] (
0 CoreFoundation 0x00007fff86be1fc6
__exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff87fb2d5e
objc_exception_throw + 43
2 CoreFoundation 0x00007fff86c6e2ae -[NSObject
doesNotRecognizeSelector:] + 190
3 CoreFoundation 0x00007fff86bcee73
___forwarding___ + 371
4 CoreFoundation 0x00007fff86bcec88
_CF_forwarding_prep_0 + 232
5 AppKit 0x00007fff8974ea92
-[NSOpenGLContext setView:] + 78
6 hello-igstk 0x0000000102c0c157
_ZN20vtkCocoaRenderWindow13CreateAWindowEv + 3511
7 hello-igstk 0x0000000102c0c59e
_ZN20vtkCocoaRenderWindow10InitializeEv + 334
8 hello-igstk 0x0000000102c094cd
_ZN20vtkCocoaRenderWindow5StartEv + 29
9 hello-igstk 0x0000000102afb76d
_ZN15vtkRenderWindow14DoStereoRenderEv + 29
10 hello-igstk 0x0000000102afb72a
_ZN15vtkRenderWindow10DoFDRenderEv + 1498
11 hello-igstk 0x0000000102afb12a
_ZN15vtkRenderWindow10DoAARenderEv + 1818
12 hello-igstk 0x0000000102afa6cd
_ZN15vtkRenderWindow6RenderEv + 2381
13 hello-igstk 0x0000000102b0bd05
_ZN25vtkRenderWindowInteractor6RenderEv + 85
14 hello-igstk 0x00000001022ffa8e
_ZN5igstk10FLTKWidget4drawEv + 622
15 hello-igstk 0x00000001022ff7c9
_ZN5igstk10FLTKWidget5flushEv + 393
16 hello-igstk 0x00000001021b9f3a
_ZN4Fl_X5flushEv + 14
17 hello-igstk 0x00000001021c0880
_ZN2Fl5flushEv + 66
18 hello-igstk 0x00000001021bcafa
_Z21fl_mac_flush_and_waitdc + 63
19 hello-igstk 0x00000001021aaf2d main + 3293
20 hello-igstk 0x00000001021aa244 start + 52
21 ??? 0x0000000000000001 0x0 + 1
)
2012-05-10 17:36:38.942 hello-igstk[316:b03] *** Terminating app due to
uncaught exception 'NSInvalidArgumentException', reason: '-[FLWindow window]:
unrecognized selector sent to instance 0x7f89bbc1ff60'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff86be1fc6
__exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff87fb2d5e
objc_exception_throw + 43
2 CoreFoundation 0x00007fff86c6e2ae -[NSObject
doesNotRecognizeSelector:] + 190
3 CoreFoundation 0x00007fff86bcee73
___forwarding___ + 371
4 CoreFoundation 0x00007fff86bcec88
_CF_forwarding_prep_0 + 232
5 AppKit 0x00007fff8974ea92
-[NSOpenGLContext setView:] + 78
6 hello-igstk 0x0000000102c0c157
_ZN20vtkCocoaRenderWindow13CreateAWindowEv + 3511
7 hello-igstk 0x0000000102c0c59e
_ZN20vtkCocoaRenderWindow10InitializeEv + 334
8 hello-igstk 0x0000000102c094cd
_ZN20vtkCocoaRenderWindow5StartEv + 29
9 hello-igstk 0x0000000102afb76d
_ZN15vtkRenderWindow14DoStereoRenderEv + 29
10 hello-igstk 0x0000000102afb72a
_ZN15vtkRenderWindow10DoFDRenderEv + 1498
11 hello-igstk 0x0000000102afb12a
_ZN15vtkRenderWindow10DoAARenderEv + 1818
12 hello-igstk 0x0000000102afa6cd
_ZN15vtkRenderWindow6RenderEv + 2381
13 hello-igstk 0x0000000102b0bd05
_ZN25vtkRenderWindowInteractor6RenderEv + 85
14 hello-igstk 0x00000001022ffa8e
_ZN5igstk10FLTKWidget4drawEv + 622
15 hello-igstk 0x00000001022ff7c9
_ZN5igstk10FLTKWidget5flushEv + 393
16 hello-igstk 0x00000001021b9f3a
_ZN4Fl_X5flushEv + 14
17 hello-igstk 0x00000001021c0880
_ZN2Fl5flushEv + 66
18 hello-igstk 0x00000001021bcafa
_Z21fl_mac_flush_and_waitdc + 63
19 hello-igstk 0x00000001021aaf2d main + 3293
20 hello-igstk 0x00000001021aa244 start + 52
21 ??? 0x0000000000000001 0x0 + 1
)
terminate called throwing an exceptionAbort trap: 6
This seems to be similar to the problem reported in str #2588 (but I installed
the r9422 version that includes the patch there).
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk