[Ctk-developers] Compilation under Windows

Pierre Pacchioni ppacch at yahoo.com
Tue Apr 12 09:04:09 UTC 2011


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 CTKDataCall 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>gitusage: 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 XPE:\workspace\c++\CTK-superbuild>git --versiongit version 1.7.4.msysgit.0
E:\workspace\c++\CTK-superbuild>cmake --versioncmake version 2.8.4
Qt: 4.6.3
Thanks for your helpPierre.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20110412/0cf3d2f2/attachment.htm>


More information about the Ctk-developers mailing list