<div>Hi all i have found this error while generating the workspaces that included both FLTK and VTK</div>
<div>&nbsp;</div>
<div>The name of my project was vMAV12. I presume the error came in the CMakeLists file itself, the following are the contents of the file</div>
<div>&nbsp;</div>
<div>PROJECT (vMAV12)</div>
<div>
<p>FIND_PACKAGE(VTK REQUIRED)<br>IF(NOT VTK_USE_RENDERING)<br>&nbsp; MESSAGE(FATAL_ERROR &quot;Example ${PROJECT_NAME} requires VTK_USE_RENDERING.&quot;)<br>ENDIF(NOT VTK_USE_RENDERING)<br>INCLUDE(${VTK_USE_FILE})</p>
<p>FIND_PACKAGE ( FLTK)<br>IF ( FLTK_FOUND)<br>INCLUDE_DIRECTORIES( ${FLTK_INCLUDE_DIR} )<br>ENDIF( FLTK_FOUND)</p>
<p>ADD_EXECUTABLE(vMAV12 vMAV12.cxx)</p>
<p>IF (FLTK_FOUND)<br>FLTK_WRAP_UI(vMAV12 vMAV12GUI.fl)<br>ENDIF (FLTK_FOUND)</p>
<p>TARGET_LINK_LIBRARIES(vMAV12 vtkRendering vtkFiltering vtkImaging vtkHybrid vtkWidgets ${FLTK_LIBRARIES})</p>
<p>&nbsp;</p>
<p>The error message was</p>
<p>&quot;It appears that you have not added these source files to your target . You change your CMakeLists.txt file to directly add the generated files to the target. For example FLTK_WRAP_UI...................&quot;</p>

<p>&nbsp;</p>
<p>Could somebody please rectify this. I got the&nbsp;CMakeLists.txt from </p>
<p><a href="http://www.itk.org/CourseWare/Training/GettingStarted-IV.pdf">http://www.itk.org/CourseWare/Training/GettingStarted-IV.pdf</a></p>
<p>&nbsp;</p>
<p>Regards</p>
<p>Brian Gee Chacko<br></p></div>