<font><font face="verdana,sans-serif">I never used FLTK, so other than pointing you to examples I cannot help you further :(<br></font></font><br><div class="gmail_quote">On Wed, Sep 5, 2012 at 4:26 PM, anna han wan <span dir="ltr">&lt;<a href="mailto:anna.han.wan@gmail.com" target="_blank">anna.han.wan@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span style="FONT-FAMILY:&#39;Times New Roman&#39;,&#39;serif&#39;;FONT-SIZE:12pt">Hi, </span></p>
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span style="FONT-FAMILY:&#39;Times New Roman&#39;,&#39;serif&#39;;FONT-SIZE:12pt"> </span></p>
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span style="FONT-FAMILY:&#39;Times New Roman&#39;,&#39;serif&#39;;FONT-SIZE:12pt">I already have a look there but I found it very difficult to understand that&#39;s why I am asking for a simple working project.</span></p>



<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span style="FONT-FAMILY:&#39;Times New Roman&#39;,&#39;serif&#39;;FONT-SIZE:12pt">I tried to separate the ImageViewer application which seems to be the easiest one from the whole application project but without success.</span></p>



<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span style="FONT-FAMILY:&#39;Times New Roman&#39;,&#39;serif&#39;;FONT-SIZE:12pt"> </span></p>
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span style="FONT-FAMILY:&#39;Times New Roman&#39;,&#39;serif&#39;;FONT-SIZE:12pt">Thanks,</span></p>
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 6pt" class="MsoNormal"><span style="FONT-FAMILY:&#39;Times New Roman&#39;,&#39;serif&#39;;FONT-SIZE:12pt">Anna.</span></p></div><div class="HOEnZb"><div class="h5">
<div><br><br> </div>
<div class="gmail_quote">On Wed, Sep 5, 2012 at 2:41 PM, Dženan Zukić <span dir="ltr">&lt;<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>You should take a look at ITKapps:</div>
<div><a href="http://www.itk.org/ITK/resources/applications.html" target="_blank">http://www.itk.org/ITK/resources/applications.html</a> </div>
<div><br>
<div class="gmail_quote">
<div>
<div>On Wed, Sep 5, 2012 at 3:29 PM, anna han wan <span dir="ltr">&lt;<a href="mailto:anna.han.wan@gmail.com" target="_blank">anna.han.wan@gmail.com</a>&gt;</span> wrote:<br></div></div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>
<div>
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 0pt" class="MsoNormal"><span style="FONT-FAMILY:&#39;Times New Roman&#39;,&#39;serif&#39;;FONT-SIZE:12pt">Dear all,</span></p>
<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 6pt" class="MsoNormal"><span style="FONT-FAMILY:&#39;Times New Roman&#39;,&#39;serif&#39;;FONT-SIZE:12pt">I have installed successfully fltk (version 1.3) using cMake and I manage to run successfully some fltk code examples. Now I want to use fltk as a GUI for my itk code.</span></p>



<p style="LINE-HEIGHT:normal;MARGIN:0cm 0cm 6pt" class="MsoNormal"><span style="FONT-FAMILY:&#39;Times New Roman&#39;,&#39;serif&#39;;FONT-SIZE:12pt">I tried to work with the example provided in GettingStarted-IV ( myProject). I have an early error when I try to configure my project using the same cmake file provided in this example. The error is originated from the lines:</span></p>



<p style="MARGIN:0cm 0cm 0pt"><font size="3"> </font></p>
<p style="MARGIN:0cm 0cm 0pt"><span style="COLOR:windowtext"><font size="3">FIND_PACKAGE ( FLTK)</font></span></p>
<p style="MARGIN:0cm 0cm 0pt"><span style="COLOR:windowtext"><font size="3">IF ( FLTK_FOUND)</font></span></p>
<p style="MARGIN:0cm 0cm 0pt"><span style="COLOR:windowtext"><font size="3">INCLUDE_DIRECTORIES( ${FLTK_INCLUDE_DIR} )</font></span></p>
<p style="MARGIN:0cm 0cm 0pt"><span style="COLOR:windowtext"><font size="3">ENDIF( FLTK_FOUND)</font></span></p>
<p style="MARGIN:0cm 0cm 0pt"><span style="COLOR:windowtext"><font size="3"> </font></span></p>
<p style="MARGIN:0cm 0cm 0pt"><span style="FONT-FAMILY:&#39;Times New Roman&#39;,&#39;serif&#39;;COLOR:windowtext"><font size="3">When I remove these lines I configure the project without any problem.</font></span></p>
<p style="MARGIN:0cm 0cm 0pt"><span style="FONT-FAMILY:&#39;Times New Roman&#39;,&#39;serif&#39;;COLOR:windowtext"><font size="3"> </font></span></p>
<p style="MARGIN:0cm 0cm 0pt"><span style="FONT-FAMILY:&#39;Times New Roman&#39;,&#39;serif&#39;;COLOR:windowtext"><font size="3">Does anyone know how to fix that? Does anyone has a simple working project that combine both itk and fltk so I can use it as a starting example from which I can build my GUI-application.?</font></span></p>



<p style="MARGIN:0cm 0cm 0pt"><span style="FONT-FAMILY:&#39;Times New Roman&#39;,&#39;serif&#39;;COLOR:windowtext"><font size="3"> </font></span></p>
<p style="MARGIN:0cm 0cm 0pt"><span style="FONT-FAMILY:&#39;Times New Roman&#39;,&#39;serif&#39;;COLOR:windowtext"><font size="3">Thanks in advance for your time.</font></span></p><span><font color="#888888">
<p style="MARGIN:0cm 0cm 0pt"><span style="FONT-FAMILY:&#39;Times New Roman&#39;,&#39;serif&#39;;COLOR:windowtext"><font size="3"> </font></span></p>
<p style="MARGIN:0cm 0cm 0pt"><span style="FONT-FAMILY:&#39;Times New Roman&#39;,&#39;serif&#39;;COLOR:windowtext"><font size="3">Anna.</font></span></p>
<p style="MARGIN:0cm 0cm 0pt"><span style="FONT-FAMILY:&#39;Times New Roman&#39;,&#39;serif&#39;;COLOR:windowtext"><font size="3"> </font></span></p>
<p> </p></font></span><br></div></div>_____________________________________<br>Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>


<br>Kitware offers ITK Training Courses, for more information visit:<br><a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br><br>Please keep messages on-topic and check the ITK FAQ at:<br>


<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>


<br></blockquote></div><br></div></blockquote></div><br>
</div></div></blockquote></div><br>