<div dir="ltr"><div>Thank you ben for you response.</div><div><br></div>I added CMake on cygwin, but now when i run cmake .. <div><br></div><div><div>CMake Error: Error in cmake code at</div><div>/cygdrive/c/ReadDICOM2/ReadDICOM/CMakeLists.txt:6:</div><div>Parse error.  Expected a newline, got identifier with text "find_package".</div><div>-- Configuring incomplete, errors occurred!</div></div><div><br></div><div><br></div><div>Despite that VAR_DIR modified in cmakelists:</div><div><div><br></div><div>cmake_minimum_required(VERSION 2.8)</div><div> </div><div>PROJECT(ReadDICOM)</div><div> </div><div>SET (VTK_DIR D:/VTK-8.0.0/bin) find_package(VTK REQUIRED)</div><div>include(${VTK_USE_FILE})</div><div> </div><div>add_executable(ReadDICOM MACOSX_BUNDLE ReadDICOM.cxx )</div><div> </div><div>target_link_libraries(ReadDICOM ${VTK_LIBRARIES})</div></div><div><br></div><div id="gmail-m_-9183446350155148664DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br> <table style="border-top:1px solid rgb(211,212,222)">
        <tbody><tr>
      <td style="width:55px;padding-top:18px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width:470px;padding-top:17px;color:rgb(65,66,78);font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Garanti sans virus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" style="color:rgb(68,83,234)" target="_blank">www.avast.com</a>              </td>
        </tr>
</tbody></table>
<a href="#m_-9183446350155148664_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div><div class="gmail_extra"><br><div class="gmail_quote">2017-12-04 15:47 GMT+01:00 Ben Boeckel <span dir="ltr"><<a href="mailto:ben.boeckel@kitware.com" target="_blank">ben.boeckel@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>On Mon, Dec 04, 2017 at 11:34:30 +0100, Ahmed Ben Ltaief wrote:<br>
> -- Building for: Visual Studio 15 2017<br>
</span><snip><br>
<span><br>
> I don't know why the makeFile don't exist in the build directory.<br>
> I use cygwin to run the commands and i installed the build-essential. Can<br>
> you help me to fixe it.<br>
<br>
</span>You're using a Windows CMake. Cygwin requires a Cygwin-built CMake.<br>
<span class="gmail-m_-9183446350155148664HOEnZb"><font color="#888888"><br>
--Ben<br>
</font></span></blockquote></div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-12-04 15:47 GMT+01:00 Ben Boeckel <span dir="ltr"><<a href="mailto:ben.boeckel@kitware.com" target="_blank">ben.boeckel@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Dec 04, 2017 at 11:34:30 +0100, Ahmed Ben Ltaief wrote:<br>
> -- Building for: Visual Studio 15 2017<br>
</span><snip><br>
<span class=""><br>
> I don't know why the makeFile don't exist in the build directory.<br>
> I use cygwin to run the commands and i installed the build-essential. Can<br>
> you help me to fixe it.<br>
<br>
</span>You're using a Windows CMake. Cygwin requires a Cygwin-built CMake.<br>
<span class="HOEnZb"><font color="#888888"><br>
--Ben<br>
</font></span></blockquote></div><br></div>