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.<div><br></div><div>Can anyone else confirm that it does or does not work for them?</div>
<div><br></div><div>- FLTK 1.3.0 seems to be fine in and of itself - all of the demos run.</div><div>- The simple IGSTK tests (i.e. those that do not require data sets; several of them display spheres) all seem to run.</div>
<div>- The IGSTK tests (#30 and 31) that are FLTK related crash with the same error I reported below.</div><div>- Research indicates that the exception is likely because a call is being made to a non-existent class method. </div>
<div>- This seems like an API version mismatch possibly.</div><div>- I tried rebuilding everything using the MAC OS X 10.6 SDK with identical results. (I have nothing older on the machine).</div><div><br></div><div>Thanks for any help/suggestions.<br>
<br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Steve Fallows</b> <span dir="ltr"><<a href="mailto:sgfallows@gmail.com">sgfallows@gmail.com</a>></span><br>Date: Mon, May 14, 2012 at 5:08 PM<br>
Subject: [IGSTK-Users] (no subject)<br>To: <a href="mailto:igstk-users@public.kitware.com">igstk-users@public.kitware.com</a><br><br><br><div>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. </div>

<div><br></div><div>However, when I run the HelloWorld example from IGSTK I get the following crash:</div><div><br></div><div>1336685798.79334807395935058594  :    (DEBUG) igstkView::SetRefreshRate() called ...</div><div>

1336685798.79408693313598632812  :    (DEBUG) igstkView::RequestStart() called ...</div><div>1336685798.79415798187255859375  :    (DEBUG) State transition is being made : View3D  PointerID 0x7f89bd808800 InteractorInitializedState(95)  with StartRefreshingInput(87) ---> RefreshingState(96).</div>

<div>1336685798.79418396949768066406  :    (DEBUG) igstkView::StartProcessing() called ...</div><div>1336685798.79423689842224121094  :    (DEBUG) igstkView::RequestResetCamera() called ...</div><div>1336685798.79429411888122558594  :    (DEBUG) State transition is being made : View3D  PointerID 0x7f89bd808800 RefreshingState(96)  with ResetCameraInput(86) ---> RefreshingState(96).</div>

<div>1336685798.79432511329650878906  :    (DEBUG) igstkView::ResetCameraProcessing() called ...</div><div>1336685798.79514002799987792969  :    (DEBUG) igstkView::RequestSetRenderWindowSize(...) called ...</div><div>1336685798.79518795013427734375  :    (DEBUG) State transition is being made : View3D  PointerID 0x7f89bd808800 RefreshingState(96)  with ValidRenderWindowSizeInput(91) ---> RefreshingState(96).</div>

<div>1336685798.81371188163757324219  :    (DEBUG) igstkView::SetRenderWindowSizeProcessing(...) called ...</div><div>2012-05-10 17:36:38.829 hello-igstk[316:b03] -[FLWindow window]: unrecognized selector sent to instance 0x7f89bbc1ff60</div>

<div>2012-05-10 17:36:38.862 hello-igstk[316:b03] An uncaught exception was raised</div><div>2012-05-10 17:36:38.863 hello-igstk[316:b03] -[FLWindow window]: unrecognized selector sent to instance 0x7f89bbc1ff60</div><div>

2012-05-10 17:36:38.940 hello-igstk[316:b03] (</div><div>        0   CoreFoundation                      0x00007fff86be1fc6 __exceptionPreprocess + 198</div><div>        1   libobjc.A.dylib                     0x00007fff87fb2d5e objc_exception_throw + 43</div>

<div>        2   CoreFoundation                      0x00007fff86c6e2ae -[NSObject doesNotRecognizeSelector:] + 190</div><div>        3   CoreFoundation                      0x00007fff86bcee73 ___forwarding___ + 371</div>

<div>        4   CoreFoundation                      0x00007fff86bcec88 _CF_forwarding_prep_0 + 232</div><div>        5   AppKit                              0x00007fff8974ea92 -[NSOpenGLContext setView:] + 78</div><div>
        6   hello-igstk                         0x0000000102c0c157 _ZN20vtkCocoaRenderWindow13CreateAWindowEv + 3511</div>
<div>        7   hello-igstk                         0x0000000102c0c59e _ZN20vtkCocoaRenderWindow10InitializeEv + 334</div><div>        8   hello-igstk                         0x0000000102c094cd _ZN20vtkCocoaRenderWindow5StartEv + 29</div>

<div>        9   hello-igstk                         0x0000000102afb76d _ZN15vtkRenderWindow14DoStereoRenderEv + 29</div><div>        10  hello-igstk                         0x0000000102afb72a _ZN15vtkRenderWindow10DoFDRenderEv + 1498</div>

<div>        11  hello-igstk                         0x0000000102afb12a _ZN15vtkRenderWindow10DoAARenderEv + 1818</div><div>        12  hello-igstk                         0x0000000102afa6cd _ZN15vtkRenderWindow6RenderEv + 2381</div>

<div>        13  hello-igstk                         0x0000000102b0bd05 _ZN25vtkRenderWindowInteractor6RenderEv + 85</div><div>        14  hello-igstk                         0x00000001022ffa8e _ZN5igstk10FLTKWidget4drawEv + 622</div>

<div>        15  hello-igstk                         0x00000001022ff7c9 _ZN5igstk10FLTKWidget5flushEv + 393</div><div>        16  hello-igstk                         0x00000001021b9f3a _ZN4Fl_X5flushEv + 14</div><div>        17  hello-igstk                         0x00000001021c0880 _ZN2Fl5flushEv + 66</div>

<div>        18  hello-igstk                         0x00000001021bcafa _Z21fl_mac_flush_and_waitdc + 63</div><div>        19  hello-igstk                         0x00000001021aaf2d main + 3293</div><div>        20  hello-igstk                         0x00000001021aa244 start + 52</div>

<div>        21  ???                                 0x0000000000000001 0x0 + 1</div><div>)</div><div>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'</div>

<div>*** First throw call stack:</div><div>(</div><div>        0   CoreFoundation                      0x00007fff86be1fc6 __exceptionPreprocess + 198</div><div>        1   libobjc.A.dylib                     0x00007fff87fb2d5e objc_exception_throw + 43</div>

<div>        2   CoreFoundation                      0x00007fff86c6e2ae -[NSObject doesNotRecognizeSelector:] + 190</div><div>        3   CoreFoundation                      0x00007fff86bcee73 ___forwarding___ + 371</div>

<div>        4   CoreFoundation                      0x00007fff86bcec88 _CF_forwarding_prep_0 + 232</div><div>        5   AppKit                              0x00007fff8974ea92 -[NSOpenGLContext setView:] + 78</div><div>
        6   hello-igstk                         0x0000000102c0c157 _ZN20vtkCocoaRenderWindow13CreateAWindowEv + 3511</div>
<div>        7   hello-igstk                         0x0000000102c0c59e _ZN20vtkCocoaRenderWindow10InitializeEv + 334</div><div>        8   hello-igstk                         0x0000000102c094cd _ZN20vtkCocoaRenderWindow5StartEv + 29</div>

<div>        9   hello-igstk                         0x0000000102afb76d _ZN15vtkRenderWindow14DoStereoRenderEv + 29</div><div>        10  hello-igstk                         0x0000000102afb72a _ZN15vtkRenderWindow10DoFDRenderEv + 1498</div>

<div>        11  hello-igstk                         0x0000000102afb12a _ZN15vtkRenderWindow10DoAARenderEv + 1818</div><div>        12  hello-igstk                         0x0000000102afa6cd _ZN15vtkRenderWindow6RenderEv + 2381</div>

<div>        13  hello-igstk                         0x0000000102b0bd05 _ZN25vtkRenderWindowInteractor6RenderEv + 85</div><div>        14  hello-igstk                         0x00000001022ffa8e _ZN5igstk10FLTKWidget4drawEv + 622</div>

<div>        15  hello-igstk                         0x00000001022ff7c9 _ZN5igstk10FLTKWidget5flushEv + 393</div><div>        16  hello-igstk                         0x00000001021b9f3a _ZN4Fl_X5flushEv + 14</div><div>        17  hello-igstk                         0x00000001021c0880 _ZN2Fl5flushEv + 66</div>

<div>        18  hello-igstk                         0x00000001021bcafa _Z21fl_mac_flush_and_waitdc + 63</div><div>        19  hello-igstk                         0x00000001021aaf2d main + 3293</div><div>        20  hello-igstk                         0x00000001021aa244 start + 52</div>

<div>        21  ???                                 0x0000000000000001 0x0 + 1</div><div>)</div><div>terminate called throwing an exceptionAbort trap: 6</div><div><br></div><div>Do I need some other config or change for MAC OS X 10.7?</div>

<div><br></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users</a><br></div><br></div>