Hi Pedro, <br><br>Thanks for your report. <br><br>In the past few days, we fixed few problem related to windows. <br>Would it be possible to give a new try from a clean build directory ? <br><br>As of today, WITH_COVERAGE is not supported on windows ... I will make sure a warning is displayed. <br>

<br>Thks<br>Jc<br><br><div class="gmail_quote">On Wed, May 12, 2010 at 1:42 PM, Pedro Omedas <span dir="ltr"><<a href="mailto:pedro.omedas@upf.edu">pedro.omedas@upf.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div>Hi, </div><div><br></div><div>I have started to download and compile the CTK code. I sorted a number of issues that I would like to share in case someone else has to face the same problems. </div><div>I have not succeed to compile all the code, so I also provide the errors that I'm getting.</div>



<div>I'm working on Windows Vista, with Visual Studio 9. </div><div><br></div><div>- Prerequisites</div><div>I had to install the following libraries / applications to start to compile the code:</div><div>* Python </div>



<div>* Qt SDK -> I had to recompile it since the binaries I downloaded are for MinGW</div><div>* CVS -> Required to checkout KWstyle from the Superbuild</div><div><br></div><div>After this, I manage to configure and compile some parts of CTK with cMake, except the following options:</div>



<div><br></div><div><p style="margin: 0px; text-indent: 0px;">CTK_LIB_Scripting/Python/Core</p><p style="margin: 0px; text-indent: 0px;">

CTK_LIB_Scripting/Python/Widgets<span style="white-space: pre;">        </span></p><p style="margin: 0px; text-indent: 0px;">CTK_LIB_Visualization/VTK/Core</p><p style="margin: 0px; text-indent: 0px;">

CTK_LIB_Visualization/VTK/Widgets</p><p style="margin: 0px; text-indent: 0px;">WITH_COVERAGE</p><p style="margin: 0px; text-indent: 0px;">

<br></p><p style="margin: 0px; text-indent: 0px;">I describe the errors that I get configuring this libraries:</p><p style="margin: 0px; text-indent: 0px;">

<br></p><p style="margin: 0px; text-indent: 0px;"></p><p style="margin: 0px; text-indent: 0px;">1) CTK_LIB_Scripting/Python/Core</p>

<p style="margin: 0px; text-indent: 0px;">    CTK_LIB_Scripting/Python/Widgets</p><p></p></div><div><br></div><div>I get the following error in CMake output:</div>
<div><br></div><div>Could NOT find PythonLibs  (missing:  PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)<br>CMake Error at SuperBuild.cmake:108 (MESSAGE):</div>
<p style="margin: 0px; text-indent: 0px;">  error: Python is required to build CTK</p>
<p style="margin: 0px; text-indent: 0px;">Call Stack (most recent call first):</p>
<p style="margin: 0px; text-indent: 0px;">  CMakeLists.txt:388 (INCLUDE)</p><p style="margin: 0px; text-indent: 0px;">

<br></p><p style="margin: 0px; text-indent: 0px;">I have python installed in my machine, I added python installation to the PATH, and also tried to create the variables PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS in my system, but it doesn't work. </p>



<div><br></div><div>2) CTK_LIB_Visualization/VTK/Core</div><p style="margin: 0px; text-indent: 0px;">    CTK_LIB_Visualization/VTK/Widgets</p><div><br></div><div>
I get the following error in CMake output:</div><div><br></div><div>CMake Error at CMake/ExternalProject.cmake:690 (message):</div>

<div>error: could not git svn for clone of VTK</div>
<p style="margin: 0px; text-indent: 0px;">Call Stack (most recent call first):</p>
<p style="margin: 0px; text-indent: 0px;">  CMake/ExternalProject.cmake:1054 (_ep_add_download_command)</p>

<p style="margin: 0px; text-indent: 0px;">  SuperBuild.cmake:256 (ExternalProject_Add)</p>
<p style="margin: 0px; text-indent: 0px;">  CMakeLists.txt:388 (INCLUDE)</p><p style="margin: 0px; text-indent: 0px;">



<br></p><p style="margin: 0px; text-indent: 0px;">I'm not sure what is the cause of this problem. I tried also to use a installed version of VTK of my system, but stills get the same error.</p>

<p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;">3) WITH_COVERAGE</p>
<p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;">

CMake Warning at CMakeLists.txt:183 (IF):</p><p></p>
<p style="margin: 0px; text-indent: 0px;">  given arguments:</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">    "CMAKE_CXX_COMPILER_ID" "AND" "STREQUAL" "GNU"</p>


<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">  Unknown arguments specified</p><p style="margin: 0px; text-indent: 0px;"><br>

</p><p style="margin: 0px; text-indent: 0px;">Probably because I'm trying to build on Windows?</p><p style="margin: 0px; text-indent: 0px;">

<br></p><p style="margin: 0px; text-indent: 0px;">Thanks,</p><p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;">

Pedro.</p><p></p><p></p>
<p style="margin: 0px; text-indent: 0px; color: rgb(255, 0, 0);"></p>______________________<br>Pedro Omedas<br>
<br>Scientific Developer<br>Center for Computational Imaging & Simulation Technologies in Biomedicine (CISTIB)<br>Information & Communication Technologies Department Universitat Pompeu Fabra - UPF - <a href="http://www.upf.edu" target="_blank">www.upf.edu</a><br>






 Networking Center on Biomedical Research - CIBER-BBN - <a href="http://www.ciber-bbn.org" target="_blank">www.ciber-bbn.org</a><br>c/ Tąnger, 122-140 - E08018 Barcelona - Spain<br>Sec: +34 93-542-1350<br>mailto:<a href="mailto:pedro.omedas@upf.edu" target="_blank">pedro.omedas@upf.edu</a><br>







<br>_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@commontk.org">Ctk-developers@commontk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Phone: 1-518-836-2174<br>Ext: 304<br>