<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div>Hi All,</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">I'm facing a problem with FLTK and cmake and i found a previous post discusses the same problem but i'm not fully understand how it was solved. what i'm trying to do is to build itk applications so i have to build itk, vtk and fltk first but during itk applications configuration using cmake it gave me the following error below. </div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:0in;margin-bottom:
.0001pt;line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";
mso-fareast-font-family:"Times New Roman"">ITK VERSION: 4.3.1</span></div>
<div class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:0in;margin-bottom:
.0001pt;line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";
mso-fareast-font-family:"Times New Roman"">VTK VERSION: 5.10.1</span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal; color: rgb(0, 0, 0); font-size: 12pt; font-family: "Times New Roman","serif"; background-color: transparent; font-style: normal;"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";
mso-fareast-font-family:"Times New Roman";color:red">CMake Error at
CMakeLists.txt:134 (FIND_PACKAGE):</span><span style="font-size:12.0pt;
font-family:"Times New Roman","serif";mso-fareast-font-family:"Times New Roman""></span></div>
<div class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:0in;margin-bottom:
.0001pt;line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";
mso-fareast-font-family:"Times New Roman";color:red">Could not find a package
configuration file provided by "FLTK" with any of</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-font-family:
"Times New Roman""></span></div>
<div class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:0in;margin-bottom:
.0001pt;line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";
mso-fareast-font-family:"Times New Roman";color:red">the following names:</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-font-family:
"Times New Roman""></span></div>
<div class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:0in;margin-bottom:
.0001pt;line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";
mso-fareast-font-family:"Times New Roman";color:red">FLTKConfig.cmake</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-font-family:
"Times New Roman""></span></div>
<div class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:0in;margin-bottom:
.0001pt;line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";
mso-fareast-font-family:"Times New Roman";color:red">fltk-config.cmake</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-font-family:
"Times New Roman""></span></div>
<div class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:0in;margin-bottom:
.0001pt;line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";
mso-fareast-font-family:"Times New Roman";color:red">Add the installation
prefix of "FLTK" to CMAKE_PREFIX_PATH or set</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-font-family:
"Times New Roman""></span></div>
<div class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:0in;margin-bottom:
.0001pt;line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";
mso-fareast-font-family:"Times New Roman";color:red">"FLTK_DIR" to a
directory containing one of the above files. If "FLTK"</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-font-family:
"Times New Roman""></span></div>
<div class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:0in;margin-bottom:
.0001pt;line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";
mso-fareast-font-family:"Times New Roman";color:red">provides a separate
development package or SDK, be sure it has been</span><span style="font-size:
12.0pt;font-family:"Times New Roman","serif";mso-fareast-font-family:"Times New Roman""></span></div>
<div class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:0in;margin-bottom:
.0001pt;line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";
mso-fareast-font-family:"Times New Roman";color:red">installed.</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-font-family:
"Times New Roman""></span></div>
<div class="MsoNormal" style="line-height: normal; color: rgb(0, 0, 0); font-size: 12pt; font-family: "Times New Roman","serif"; background-color: transparent; font-style: normal;"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";
mso-fareast-font-family:"Times New Roman"">Configuring incomplete, errors
occurred!</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">The link to the post is (http://www.cmake.org/pipermail/cmake/2010-December/041626.html), but i want to know in which cmake file and which part in the code should i edit or put the following part.</div><pre>><i> SET(FLTK_DIR "C:/Program Files/fltk-1.1.9/")
</i>><i> SET(FLTK_BASE_LIBRARY "C:/Program Files/fltk-1.1.9/lib/")
</i>><i> SET(FLTK_FORMS_LIBRARY "C:/Program Files/fltk-1.1.9/lib/")
</i>><i> SET(FLTK_GL_LIBRARY "C:/Program Files/fltk-1.1.9/lib/")
</i>><i> SET(FLTK_IMAGES_LIBRARY "C:/Program Files/fltk-1.1.9/lib/")
</i>><i> SET(FLTK_INCLUDE_DIR "C:/Program Files/fltk-1.1.9/include/")
</i>><i> SET(FLTK_SKIP_FLUID TRUE)
</i>><i> FIND_PACKAGE(FLTK REQUIRED)<br><br>Looking forward for your replies..<br><br>Mai<br></i></pre><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
</o:OfficeDocumentSettings>
</xml><![endif]--></div></div></body></html>