[Ctk-developers] Compilation under Windows

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Tue Apr 12 08:58:10 EDT 2011


Dear Pierre,

Thanks for your interest into CTK :)

Could you attach the files:
  - E:\workspace\c++\CTK-superbuild\CMakeCache.txt
  - E:\workspace\c++\CTK-superbuild\CTK-build/CMakeCache.txt

Out of curiosity, does the problem happen if you clone and build into
"E:\Workspace"  directly without the "c++"  subfolder?

Thanks
Jc

On Tue, Apr 12, 2011 at 5:04 AM, Pierre Pacchioni <ppacch at yahoo.com> wrote:

> Hello,
> I'm trying to compile commontk under windows XP.
> I followed the instructions and I got an error with "git". Git is correctly
> installed on my system and I also set the GIT_EXECUTABLE variable
>
> -- Building for: Visual Studio 9 2008
> -- Check for working C compiler using: Visual Studio 9 2008
> -- Check for working C compiler using: Visual Studio 9 2008 -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler using: Visual Studio 9 2008
> -- Check for working CXX compiler using: Visual Studio 9 2008 -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Looking for Q_WS_X11
> -- Looking for Q_WS_X11 - not found.
> -- Looking for Q_WS_WIN
> -- Looking for Q_WS_WIN - found
> -- Looking for Q_WS_QWS
> -- Looking for Q_WS_QWS - not found.
> -- Looking for Q_WS_MAC
> -- Looking for Q_WS_MAC - not found.
> -- Found Qt-Version 4.6.3 (using E:/Qt/4.6.3/bin/qmake.exe)
> -- Generated: E:/workspace/c++/CTK/DGraphInput-alldep.txt
> -- Generated: E:/workspace/c++/CTK/DGraphInput-alldep-withext.txt
> -- Generated: E:/workspace/c++/CTK/DGraphInput.txt
> -- Generated: E:/workspace/c++/CTK/Project.xml
> -- Could NOT find Git (missing:  GIT_EXECUTABLE)
> CMake Error at e:/Program Files/CMake
> 2.8/share/cmake-2.8/Modules/ExternalProject.cmake:1055 (message):
>   error: could not find git for clone of CTKData
> Call Stack (most recent call first):
>   e:/Program Files/CMake
> 2.8/share/cmake-2.8/Modules/ExternalProject.cmake:1464
> (_ep_add_download_command)
>   CMakeExternals/CTKData.cmake:19 (ExternalProject_Add)
>   SuperBuild.cmake:144 (INCLUDE)
>   CMakeLists.txt:568 (INCLUDE)
>
> git is installed:
> E:\workspace\c++\CTK>git
> usage: git [--version] [--exec-path[=<path>]] [--html-path]
>            [-p|--paginate|--no-pager] [--no-replace-objects]
>            [--bare] [--git-dir=<path>] [--work-tree=<path>]
>            [-c name=value] [--help]
>            <command> [<args>]
>
> The most commonly used git commands are:
>    add        Add file contents to the index
>    bisect     Find by binary search the change that introduced a bug
>    branch     List, create, or delete branches
>    checkout   Checkout a branch or paths to the working tree
>    clone      Clone a repository into a new directory
>    commit     Record changes to the repository
>    diff       Show changes between commits, commit and working tree, etc
>    fetch      Download objects and refs from another repository
>    grep       Print lines matching a pattern
>    init       Create an empty git repository or reinitialize an existing
> one
>    log        Show commit logs
>    merge      Join two or more development histories together
>    mv         Move or rename a file, a directory, or a symlink
>    pull       Fetch from and merge with another repository or a local
> branch
>    push       Update remote refs along with associated objects
>    rebase     Forward-port local commits to the updated upstream head
>    reset      Reset current HEAD to the specified state
>    rm         Remove files from the working tree and from the index
>    show       Show various types of objects
>    status     Show the working tree status
>    tag        Create, list, delete or verify a tag object signed with GPG
>
> See 'git help <command>' for more information on a specific command.
>
> What did I miss here?
>
> On my pc
> Windows XP
> E:\workspace\c++\CTK-superbuild>git --version
> git version 1.7.4.msysgit.0
>
> E:\workspace\c++\CTK-superbuild>cmake --version
> cmake version 2.8.4
>
> Qt: 4.6.3
>
> Thanks for your help
> Pierre.
>
>
>
> _______________________________________________
> Ctk-developers mailing list
> Ctk-developers at commontk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>
>


-- 
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20110412/fb9be05e/attachment.html>


More information about the Ctk-developers mailing list