<div dir="ltr"><div class="gmail_default" style="font-family:'comic sans ms',sans-serif;font-size:small">Hello,</div><div class="gmail_default" style="font-family:'comic sans ms',sans-serif;font-size:small">
<br></div><div class="gmail_default" style="font-family:'comic sans ms',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:'comic sans ms',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>