<div bgcolor="#FFFFFF" text="#000000">
Thank you for the information. I neglected to say in my post:<br>
<br>
FLTK 1.1.10 will not build on Lion 10.7. I found other info on the
web indicating this is known, because Carbon was removed in favor of
Cocoa. The only MAC OS build I see on the Dashboard is 10.5<br>
<br>
I tried building FLTK 1.1.10 with the OS X 10.6 SDK, but got the same build errors as 10.7<br>
<br>
On 5/15/2012 3:32 PM, Özgür Güler wrote:
<blockquote type="cite">
<pre>Hi Steve,
please use the FLTK version 1.1.X.
Most of the nightly build setups compile fine with FLTK 1.1.10.
See the dashboard for a setup with Mac OSX
<a href="http://public.kitware.com/dashboard.php?name=igstk" target="_blank">http://public.kitware.com/dashboard.php?name=igstk</a>
Best,
Ozgur
2012/5/15 Steve Fallows <a href="mailto:sgfallows@gmail.com" target="_blank"><sgfallows@gmail.com></a>:
</pre>
<blockquote type="cite">
<pre>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 <a href="mailto:sgfallows@gmail.com" target="_blank"><sgfallows@gmail.com></a>
Date: Mon, May 14, 2012 at 5:08 PM
Subject: [IGSTK-Users] (no subject)
To: <a href="mailto:igstk-users@public.kitware.com" target="_blank">igstk-users@public.kitware.com</a>
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 <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
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>
Follow this link to subscribe/unsubscribe:
<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>
_______________________________________________
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
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>
Follow this link to subscribe/unsubscribe:
<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>
</pre>
</blockquote>
<pre>
</pre>
</blockquote>
</div>