[Ctk-developers] Compilation under Windows
Sascha Zelzer
s.zelzer at dkfz-heidelberg.de
Tue Apr 12 14:17:54 UTC 2011
Hi Pierre,
I've also been working on integrating the CTK PluginFramework into our
toolkit and by doing so I improved some CTK CMake macros/functions to
make it easier to integrate the framework in external projects. I hope
to be able to push the changes during the next days, so if you run into
some issues until then don't hesitate to contact us.
Thanks,
Sascha
On 04/12/2011 04:09 PM, Jean-Christophe Fillion-Robin wrote:
> Excellent :)
>
> Regarding the plugin framework, you will find more information here:
>
> http://www.commontk.org/index.php/Documentation#Plugin_Framework
>
> http://www.commontk.org/index.php/Documentation/CTK_Plugin_Framework:_Introduction
>
> Any comments or suggestions to improve our documentation / code are
> very welcome.
>
> Thanks
> Jc
>
>
> On Tue, Apr 12, 2011 at 10:02 AM, Pierre Pacchioni <ppacch at yahoo.com
> <mailto:ppacch at yahoo.com>> wrote:
>
> Hello JC,
> Thanks it works now:
> E:\workspace\DCNS\CTK-superbuild>cmake ..\CTK
> -DGIT_EXECUTABLE:FILEPATH="E:/Program Files/Git/bin/git.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
> -- Found Git: E:/Program Files/Git/bin/git.exe
> -- Configuring done
> -- Generating done
> -- Build files have been written to: E:/workspace/DCNS/CTK-superbuild
>
> E:\workspace\DCNS\CTK-superbuild>
>
> Strange, the variable and the path were correctly set. Anyway I
> can move forward now. I'm really interested by the plugin system
> you/commontk put in place and I'll investigate if and how I can
> use it in my Qt application.
> Thanks again for your help
> Pierre.
>
> --- On *Tue, 4/12/11, Pierre Pacchioni /<ppacch at yahoo.com
> <mailto:ppacch at yahoo.com>>/*wrote:
>
>
> From: Pierre Pacchioni <ppacch at yahoo.com
> <mailto:ppacch at yahoo.com>>
> Subject: Re: [Ctk-developers] Compilation under Windows
> To: jchris.fillionr at kitware.com
> <mailto:jchris.fillionr at kitware.com>
> Cc: ctk-developers at commontk.org
> <mailto:ctk-developers at commontk.org>
> Date: Tuesday, April 12, 2011, 9:22 AM
>
>
> 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/9366f2a8/attachment.htm>
More information about the Ctk-developers
mailing list