[Ctk-developers] Compilation under Windows
Jean-Christophe Fillion-Robin
jchris.fillionr at kitware.com
Tue Apr 12 13:45:55 UTC 2011
Hi,
Looking at CMakeCache.txt, the module FindGit failed to discover the
location of your installed git :(
[...]
//git command line client
GIT_EXECUTABLE:FILEPATH=GIT_EXECUTABLE-NOTFOUND
[...]
>From "E:\workspace\DCNS\CTK-superbuild>" , try the following command:
cmake ..\CTK -DGIT_EXECUTABLE:FILEPATH="E:/path/to/git.cmd"
Note the use of "/" instead of "\" .. doing so should avoid escaping issue ...
Let me know if that works ..
Jc
On Tue, Apr 12, 2011 at 9:22 AM, Pierre Pacchioni <ppacch at yahoo.com> wrote:
> Hello JC,
> I tried without the c++ but it doesn't work either.
> At the end of the mail I put the complete trace from the git clone to the
> compilation (following the wiki instructions). I also attached the
> E:\workspace\DCNS\CTK-superbuild\CMakeCache.txt
> There is no file in the E:\workspace\CTK-superbuild\CTK-build directory:
>
> E:\workspace\DCNS\CTK-superbuild>cd CTK-build
>
> E:\workspace\DCNS\CTK-superbuild\CTK-build>dir
> Volume in drive E has no label.
> Volume Serial Number is 3313-E672
>
> Directory of E:\workspace\DCNS\CTK-superbuild\CTK-build
>
> 04/12/2011 03:13 PM <DIR> .
> 04/12/2011 03:13 PM <DIR> ..
> 04/12/2011 03:13 PM <DIR> bin
>
> Thanks
> Pierre.
>
> The complete trace of what I did from the clone to the compilation:
>
> E:\workspace\DCNS>git clone http://github.com/commontk/CTK.git
> Cloning into CTK...
> remote: Counting objects: 20059, done.
> remote: Compressing objects: 100% (5819/5819), done.
> remote: Total 20059 (delta 14985), reused 18975 (delta 14014)
> Receiving objects: 100% (20059/20059), 4.70 MiB | 160 KiB/s, done.
> Resolving deltas: 100% (14985/14985), done.
>
> E:\workspace\DCNS>dir
> Volume in drive E has no label.
> Volume Serial Number is 3313-E672
>
> Directory of E:\workspace\DCNS
>
> 04/12/2011 03:11 PM <DIR> .
> 04/12/2011 03:11 PM <DIR> ..
> 04/12/2011 03:12 PM <DIR> CTK
> 01/16/2011 06:09 PM <DIR> gsoap-2.8
> 0 File(s) 0 bytes
> 4 Dir(s) 93,668,347,904 bytes free
>
> E:\workspace\DCNS>mkdir CTK-superbuild
>
> E:\workspace\DCNS>cd CTK-superbuild
>
> E:\workspace\DCNS\CTK-superbuild>cmake ..\CTK
> -- 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/DCNS/CTK-superbuild/DGraphInput-alldep.txt
> -- Generated:
> E:/workspace/DCNS/CTK-superbuild/DGraphInput-alldep-withext.txt
> -- Generated: E:/workspace/DCNS/CTK-superbuild/DGraphInput.txt
> -- Generated: E:/workspace/DCNS/CTK-superbuild/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)
>
>
> -- Configuring incomplete, errors occurred!
>
> E:\workspace\DCNS\CTK-superbuild>
>
>
>
>
--
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20110412/05c4da2e/attachment.htm>
More information about the Ctk-developers
mailing list