[Ctk-developers] prerequisites and errors configuring CTK on Windows

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Wed May 12 13:55:37 EDT 2010


Hi Pedro,

Thanks for your report.

In the past few days, we fixed few problem related to windows.
Would it be possible to give a new try from a clean build directory ?

As of today, WITH_COVERAGE is not supported on windows ... I will make sure
a warning is displayed.

Thks
Jc

On Wed, May 12, 2010 at 1:42 PM, Pedro Omedas <pedro.omedas at upf.edu> wrote:

> Hi,
>
> 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.
> I have not succeed to compile all the code, so I also provide the errors
> that I'm getting.
> I'm working on Windows Vista, with Visual Studio 9.
>
> - Prerequisites
> I had to install the following libraries / applications to start to compile
> the code:
> * Python
> * Qt SDK -> I had to recompile it since the binaries I downloaded are for
> MinGW
> * CVS -> Required to checkout KWstyle from the Superbuild
>
> After this, I manage to configure and compile some parts of CTK with cMake,
> except the following options:
>
> CTK_LIB_Scripting/Python/Core
>
> CTK_LIB_Scripting/Python/Widgets
>
> CTK_LIB_Visualization/VTK/Core
>
> CTK_LIB_Visualization/VTK/Widgets
>
> WITH_COVERAGE
>
>
> I describe the errors that I get configuring this libraries:
>
>
> 1) CTK_LIB_Scripting/Python/Core
>
>     CTK_LIB_Scripting/Python/Widgets
>
>
> I get the following error in CMake output:
>
> Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
> CMake Error at SuperBuild.cmake:108 (MESSAGE):
>
> error: Python is required to build CTK
>
> Call Stack (most recent call first):
>
> CMakeLists.txt:388 (INCLUDE)
>
>
> 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.
>
> 2) CTK_LIB_Visualization/VTK/Core
>
>     CTK_LIB_Visualization/VTK/Widgets
>
> I get the following error in CMake output:
>
> CMake Error at CMake/ExternalProject.cmake:690 (message):
> error: could not git svn for clone of VTK
>
> Call Stack (most recent call first):
>
> CMake/ExternalProject.cmake:1054 (_ep_add_download_command)
>
> SuperBuild.cmake:256 (ExternalProject_Add)
>
> CMakeLists.txt:388 (INCLUDE)
>
>
> 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.
>
>
> 3) WITH_COVERAGE
>
>
> CMake Warning at CMakeLists.txt:183 (IF):
>
>  given arguments:
>
>  "CMAKE_CXX_COMPILER_ID" "AND" "STREQUAL" "GNU"
>
>  Unknown arguments specified
>
>
> Probably because I'm trying to build on Windows?
>
>
> Thanks,
>
>
> Pedro.
>
> ______________________
> Pedro Omedas
>
> Scientific Developer
> Center for Computational Imaging & Simulation Technologies in Biomedicine
> (CISTIB)
> Information & Communication Technologies Department Universitat Pompeu
> Fabra - UPF - www.upf.edu
> Networking Center on Biomedical Research - CIBER-BBN - www.ciber-bbn.org
> c/ Tànger, 122-140 - E08018 Barcelona - Spain
> Sec: +34 93-542-1350
> mailto:pedro.omedas at upf.edu
>
> _______________________________________________
> Ctk-developers mailing list
> Ctk-developers at commontk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>
>


-- 
Phone: 1-518-836-2174
Ext: 304
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20100512/2518d306/attachment.html>


More information about the Ctk-developers mailing list