[IGSTK-Users] Does IGSTK run on MAC OS X 10.7 (Lion)?

Steve Fallows sgfallows at gmail.com
Tue May 15 15:15:03 EDT 2012


After many more attempts to find a configuration that will build and run, I
think I have determined that IGSTK and FLTK just don't play well together
on Mac OS X 10.7.

Can anyone else confirm that it does or does not work for them?

- FLTK 1.3.0 seems to be fine in and of itself - all of the demos run.
- The simple IGSTK tests (i.e. those that do not require data sets; several
of them display spheres) all seem to run.
- The IGSTK tests (#30 and 31) that are FLTK related crash with the same
error I reported below.
- Research indicates that the exception is likely because a call is being
made to a non-existent class method.
- This seems like an API version mismatch possibly.
- I tried rebuilding everything using the MAC OS X 10.6 SDK with identical
results. (I have nothing older on the machine).

Thanks for any help/suggestions.

---------- Forwarded message ----------
From: Steve Fallows <sgfallows at gmail.com>
Date: Mon, May 14, 2012 at 5:08 PM
Subject: [IGSTK-Users] (no subject)
To: igstk-users at public.kitware.com


I am encountering an error running the HelloWorld from IGSTK 4.4 on MacOS
10.7. FLTK 1.3 -r9422 is installed correctly - I can run both the
HelloWorld example and the demo program in the test folder. I believe
VTK(5.8) and ITK(3.20.1) are installed correctly. IGSTK, ITK and VTK have
all been compiled via cmake with CMAKE_OSX_ARCHITECTURES == x86_64 and
CMAKE_OSX_DEPLOYMENT_TARGET blank.

However, when I run the HelloWorld example from IGSTK 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 ...
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 ...
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

Do I need some other config or change for MAC OS X 10.7?


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20120515/8a73fa1d/attachment.html>


More information about the IGSTK-Users mailing list