<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
        {}
ol
        {margin-bottom:0in}
ul
        {margin-bottom:0in}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Apologies for the long post which follows.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Here is the error I get:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif"; color:red">CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.<br>
Missing variable is:<br>
FLTK_FLUID_EXECUTABLE</span></i><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif""></span></i></p>
<p class="MsoNormal"><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif"; color:red">CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.<br>
Missing variable is:<br>
FLTK_FLUID_EXECUTABLE</span></i><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif""></span></i></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif"; color:red">CMake Error at CMakeLists.txt:42 (ITK_DISABLE_FLTK_GENERATED_WARNINGS):<br>
Unknown CMake command "ITK_DISABLE_FLTK_GENERATED_WARNINGS".</span></i><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif""></span></i></p>
<p class="MsoNormal"><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif"; color:red">CMake Warning (dev) in CMakeLists.txt:<br>
No cmake_minimum_required command is present. A line of code such as<br>
<br>
cmake_minimum_required(VERSION 2.8)<br>
<br>
should be added at the top of the file. The version specified may be lower<br>
if you wish to support older CMake versions for this project. For more<br>
information run "cmake --help-policy CMP0000".<br>
This warning is for project developers. Use -Wno-dev to suppress it.</span></i><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif""></span></i></p>
<p class="MsoNormal"><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif"; color:red">FLTK_WRAP_UI was called with a target that was never created: RegionGrowingSegmentation. The problem was found while processing the source directory: D:/ITKApps-27-01-2014/RegionGrowingSegmentation.
 This FLTK_WRAP_UI call will be ignored.</span></i><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif""></span></i></p>
<p class="MsoNormal"><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif"; color:red">FLTK_WRAP_UI was called with a target that was never created: RegionGrowingSegmentation2D. The problem was found while processing the source directory:
 D:/ITKApps-27-01-2014/RegionGrowingSegmentation. This FLTK_WRAP_UI call will be ignored.</span></i><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif""></span></i></p>
<p class="MsoNormal"><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif"">Configuring incomplete, errors occurred!</span></i></p>
<p class="MsoNormal"><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif"">See also "D:/RegionGrowingSegmentation-Build/CMakeFiles/CMakeOutput.log".</span></i></p>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman","serif""> </span></p>
<p class="MsoNormal">So I added the following 3 commands to CMakeLists.txt:</p>
<p class="MsoNormal"> </p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="">1)<span style="font:7.0pt "Times New Roman"">     
</span></span>SET(FLTK_FLUID_EXECUTABLE "C:/Program Files/FLTK/bin/fluid.exe")</p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="">2)<span style="font:7.0pt "Times New Roman"">     
</span></span>CMAKE_MINIMUM_REQUIRED(VERSION 2.8)</p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="">3)<span style="font:7.0pt "Times New Roman"">     
</span></span>(<i>Copied from ITKApps/CMakeLists.txt</i>)</p>
<p class="MsoListParagraph">MACRO(ITK_DISABLE_FLTK_GENERATED_WARNINGS files)</p>
<p class="MsoListParagraph">  IF(CMAKE_COMPILER_IS_GNUCXX)</p>
<p class="MsoListParagraph">    FOREACH(f ${files})</p>
<p class="MsoListParagraph">      STRING(REGEX REPLACE "\\.fl$" ".cxx" SRC "${f}")</p>
<p class="MsoListParagraph">      STRING(REGEX REPLACE ".*/([^/]*)$" "\\1" SRC "${SRC}")</p>
<p class="MsoListParagraph">      SET_SOURCE_FILES_PROPERTIES(${SRC} PROPERTIES COMPILE_FLAGS -w)</p>
<p class="MsoListParagraph">    ENDFOREACH(f)</p>
<p class="MsoListParagraph">  ENDIF(CMAKE_COMPILER_IS_GNUCXX)</p>
<p class="MsoListParagraph">  IF(MSVC)</p>
<p class="MsoListParagraph">    FOREACH(f ${files})</p>
<p class="MsoListParagraph">      STRING(REGEX REPLACE "\\.fl$" ".cxx" SRC "${f}")</p>
<p class="MsoListParagraph">      STRING(REGEX REPLACE ".*/([^/]*)$" "\\1" SRC "${SRC}")</p>
<p class="MsoListParagraph">      SET_SOURCE_FILES_PROPERTIES(${SRC} PROPERTIES COMPILE_FLAGS /w)</p>
<p class="MsoListParagraph">    ENDFOREACH(f)</p>
<p class="MsoListParagraph">  ENDIF(MSVC)</p>
<p class="MsoListParagraph">ENDMACRO(ITK_DISABLE_FLTK_GENERATED_WARNINGS)</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Then I got the following error in cmake:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif"; color:red">CMake Error at CMakeLists.txt:82 (ADD_GUI_EXECUTABLE):<br>
Unknown CMake command "ADD_GUI_EXECUTABLE".</span></i><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif""></span></i></p>
<p class="MsoNormal"><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif"; color:red">FLTK_WRAP_UI was called with a target that was never created: RegionGrowingSegmentation. The problem was found while processing the source directory: D:/ITKApps-27-01-2014/RegionGrowingSegmentation.
 This FLTK_WRAP_UI call will be ignored.</span></i><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif""></span></i></p>
<p class="MsoNormal"><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif"; color:red">FLTK_WRAP_UI was called with a target that was never created: RegionGrowingSegmentation2D. The problem was found while processing the source directory:
 D:/ITKApps-27-01-2014/RegionGrowingSegmentation. This FLTK_WRAP_UI call will be ignored.</span></i><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif""></span></i></p>
<p class="MsoNormal"><i><span style="font-size:12.0pt; font-family:"Times New Roman","serif"">Configuring incomplete, errors occurred!</span></i></p>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman","serif""> </span></p>
<p class="MsoNormal">I am using Windows 7 with Visual Studio. Please help. Thanks in advance.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Regards</p>
<p class="MsoNormal">Ruturaj</p>
<p class="MsoNormal"> </p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified
 that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.<br>
</font>
</body>
</html>