[Ctk-developers] building ctk
Jean-Christophe Fillion-Robin
jchris.fillionr at kitware.com
Wed Jul 20 14:47:06 UTC 2011
Hi Gerald,
Using superbuild is a straightforward process.
git clone git://github.com/commontk/CTK.git
mkdir CTK-Superbuild
cd CTK-Superbuild
cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/path/to/qmake ../CTK
make -j4
Doing so, ITK, VTK .. etc will be downloaded and configured for you.
If you don't want to use Superbuild, you will have to build and configure
the expected dependencies yourself.
I would recommend to use Superbuild.
After the configure/build is done at the superbuild level, you will end up
with the following layout:
<CTK-superbuild>
|-- CTK-build
|-- VTK-build
...
The content of "CTK-build" corresponds to a build of CTK with
CTK_SUPERBUILD:OFF
Does this clarify things?
Thanks
Jc
On Wed, Jul 20, 2011 at 10:29 AM, Lodron, Gerald
<Gerald.Lodron at joanneum.at>wrote:
> **
> Hi
>
> I have no experiences using superbuild, i already build ITK, VTK and QT on
> my own so i turned superbuild off and want to specify the pathes to them
> manually, is this a problem? Or do i misinterpret superbuild (it
> automatically downloads ITK etc, or?)?
> ------------------------------
> *Von:* Jean-Christophe Fillion-Robin [mailto:jchris.fillionr at kitware.com]
>
> *Gesendet:* Mittwoch, 20. Juli 2011 15:13
> *An:* Lodron, Gerald
> *Cc:* CTK (ctk-developers at commontk.org)
> *Betreff:* Re: [Ctk-developers] building ctk
>
> Hi Gerald,
>
> Is it the first error you observe after doing a clean build ?
>
> What's the content of <CTK-Superbuild>/LogQt-build ? Are There a
> Log4QtConfig.cmake and UseLog4Qt.cmake files ?
>
> Thanks
> Jc
>
> On Wed, Jul 20, 2011 at 8:05 AM, Lodron, Gerald <Gerald.Lodron at joanneum.at
> > wrote:
>
>> **
>> Hi
>> i get following error from cmake:
>>
>> Generated: D:/develop/win64-msv90-build/CTK/DGraphInput-alldep.txt
>>
>> Generated: D:/develop/win64-msv90-build/CTK/DGraphInput-alldep-withext.txt
>>
>> Generated: D:/develop/win64-msv90-build/CTK/DGraphInput.txt
>>
>> Generated: D:/develop/win64-msv90-build/CTK/Project.xml
>>
>> CMake Error at Libs/Core/CMakeLists.txt:6 (INCLUDE):
>>
>> include called with wrong number of arguments. Include only takes one
>>
>> file.
>>
>>
>>
>> i looked at the cmake, it is at
>>
>> INCLUDE(${Log4Qt_USE_FILE})
>> any suggestions?
>>
>> _______________________________________________
>> Ctk-developers mailing list
>> Ctk-developers at commontk.org
>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>>
>>
>
>
> --
> +1 919 869 8849
>
>
--
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20110720/b3fbcfe6/attachment.htm>
More information about the Ctk-developers
mailing list