<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>itkImage.h ist part of itkCommon. You should check in your CMakeLists.txt project file, whether it contains something like </DIV><DIV>LINK_LIBRARIES (itkCommon) </DIV><DIV>or </DIV><DIV>TARGET_LINK_LIBRARIES ( YourBuildTarget itkCommon ).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Also, if I understand you correctly, you didn't provide the ITK_DIR Variable to CMakeLists.txt. You can set the variable ITK_DIR of your CMakeLists.txt file using a line like </DIV><DIV>SET (ITK_DIR    /path/to/your/top/level/itk/build/directory)</DIV><DIV>(do this before you any CMake line referencing to ITK)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>You can find tons of information on the ITK website, mostly regarding your question in the tutorials</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><A href="http://www.itk.org/HTML/Tutorials.htm">http://www.itk.org/HTML/Tutorials.htm</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>You should also check the itkSoftwareGuide later on (also on the itk website).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Best regards</DIV><DIV>Ruben</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>Am 17.07.2007 um 12:08 schrieb deepak kamboj:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>hi ALL</DIV><DIV>        i am using itkapplication.</DIV><DIV>         i build itk application successfully and noe i am building sample projcet given in itk application</DIV><DIV>         putting it outside the itk directory.</DIV><DIV>         when i configure it in cmake it got but it does't show  option of<SPAN class="Apple-converted-space"> </SPAN><STRONG style="font-weight: bold; "><SPAN class="Apple-style-span" style="font-weight: bold; ">itk_dir</SPAN></STRONG> but it is  giving me .dsw file and when i am building that .dsw file it shows<STRONG style="font-weight: bold; "><SPAN class="Apple-style-span" style="font-weight: bold; ">itkImage.h</SPAN></STRONG>  not found</DIV><DIV>         please help to get out of that</DIV><DIV>        should i need to change cmake file? If than what is the correct cmake file.</DIV><DIV>         with BEST REGARDS</DIV><DIV>        deepak </DIV></SPAN></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>