<div dir="ltr"><font><font face="comic sans ms,sans-serif"><br></font></font>Hello, every body ,<div><br></div><div>What do i need to connect itk to fltk in my project ?<br><div class="gmail_quote">2013/5/16 leyla benaicha matti <span dir="ltr">&lt;<a href="mailto:bmleyla@gmail.com" target="_blank">bmleyla@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:&#39;comic sans ms&#39;,sans-serif;font-size:small">Hello,</div>
<div class="gmail_default" style="font-family:&#39;comic sans ms&#39;,sans-serif;font-size:small">
<br></div><div class="gmail_default" style="font-family:&#39;comic sans ms&#39;,sans-serif;font-size:small">I am trying to configure my 1st project using itk +fltk , for this i use the follow CMakeLists.txt:</div><div class="gmail_default" style="font-family:&#39;comic sans ms&#39;,sans-serif;font-size:small">



<br></div><div class="gmail_default">----------------------------------------------------------------------------------------------------</div><div class="gmail_default"><div class="gmail_default">cmake_minimum_required(VERSION 2.4)</div>



<div class="gmail_default">if(COMMAND CMAKE_POLICY)</div><div class="gmail_default">  cmake_policy(SET CMP0003 NEW)</div><div class="gmail_default">endif()</div><div class="gmail_default">PROJECT( myProject )</div><div class="gmail_default">



<br></div><div class="gmail_default">FIND_PACKAGE ( ITK )</div><div class="gmail_default">IF ( ITK_FOUND )</div><div class="gmail_default">         INCLUDE( ${USE_ITK_FILE} )</div><div class="gmail_default">ENDIF( ITK_FOUND )</div>



<div class="gmail_default"><br></div><div class="gmail_default">FIND_PACKAGE ( FLTK )</div><div class="gmail_default">IF ( FLTK_FOUND )</div><div class="gmail_default">         INCLUDE_DIRECTORIES( ${FLTK_INCLUDE_DIR}  )</div>



<div class="gmail_default">ENDIF( FLTK_FOUND )</div><div class="gmail_default">ADD_EXECUTABLE( myProject myProject.cxx )</div><div class="gmail_default"><br></div><div class="gmail_default">IF ( FLTK_FOUND )</div><div class="gmail_default">



          FLTK_WRAP_UI(myProject  myProjectGUI.fl )</div><div class="gmail_default">ENDIF ( FLTK_FOUND )</div><div class="gmail_default"><br></div><div class="gmail_default">TARGET_LINK_LIBRARIES( myProject ${ITK_LIBRARIES} ${FLTK_LIBRARIES})</div>



<div>------------------------------------------------------------------------------------------------------</div><div>after specifying the paths of all the components of FLTK i get this error :</div><div><br></div><div><p style="margin:0cm;margin-bottom:.0001pt">


<span style="color:red">FLTK_WRAP_UI
was called with a target that was never created: myProject.cxx. The problem was
found while processing the source directory: C:/Users/001/Desktop/exercice/src.
This FLTK_WRAP_UI call will be ignored.</span></p></div><div><br></div><div>my question is : how can I solve this problem?</div><div><br></div><div>Thanks a lot </div><div><br></div><div>leila </div><div><br></div><div><br>

</div></div></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<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></div>