<br>Hi Johannes,<br><br>You are looking inside the ./bin directory, <br>therefore you are accounting only for the <br>final libraries and a few executables.<br><br>If you look from the top of the Binary build<br>then you will account as well for all the .obj<br>
files that are generated during compilation.<br><br>The 322MB that I mentioned, including the<br>Python wrapping libraries, which you don't <br>seem to be building at this point.<br><br>Maybe we should step back and ask if you <br>
you are concerned about the size of the<br>final installed ITK or about the amount of<br>disk space that you need to build it.<br><br>Those are two different things...<br><br><br> Luis<br><br><br>--------------------------------------------------------<br>
<div class="gmail_quote">On Thu, May 21, 2009 at 11:26 AM, Johannes Serup <span dir="ltr"><<a href="mailto:tulsoba@gmail.com">tulsoba@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hm I just started from scratch again and now the whole<br>
InsightToolkit-3.12.0 dir is only 526 MB including the build and the<br>
bin folder.<br>
<br>
When I specify the source path to cmake I do:<br>
<br>
G:\local\InsightToolkit-3.12.0\<br>
<br>
When I specify the build dir I do:<br>
<br>
G:\local\InsightToolkit-3.12.0\build<br>
<br>
I then open the ITK.sln located in the above build dir. From visual<br>
studio I then choose build (F7). After this has completed I get this<br>
folder:<br>
<br>
G:\local\InsightToolkit-3.12.0\build\bin\Debug<br>
<br>
that contains the follwoing .exe files:<br>
<br>
itksysEncodeExecutable.exe<br>
itksysProcessFwd9x.exe<br>
itkTestDriver.exe<br>
<br>
and a lot of other files. The whole Debug dir is 247 MB.<br>
<br>
I don't see that this matches either the 2GB size (without examples<br>
and testing) or the 322 MB installed ITK size you mentioned.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
On Thu, May 21, 2009 at 3:09 PM, Luis Ibanez <<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>> wrote:<br>
><br>
> Hi John,<br>
><br>
><br>
> The Nightly build of ITK in redwal.kitware, which is a<br>
> Windows 64 bits, using Visual Studio 9, is:<br>
><br>
> 8.14 Gb<br>
><br>
> Note that usually you don't need to buidl Examples and<br>
> Testing, unless you are planning to graciously contribute<br>
> a build to the ITK Dashboard.<br>
><br>
> The Testing tree takes<br>
><br>
> 6.09 Gb<br>
><br>
><br>
> this is how we get 1600 tests to run Nightly and how we<br>
> get 83% of code coverage.<br>
><br>
><br>
> while the Examples tree takes<br>
><br>
> 723 Mb<br>
><br>
> This includes abou 400 examples that make up the content<br>
> of the ITK Software Guide.<br>
><br>
><br>
> If you just build ITK, without Examples and Testing,<br>
> it should come down to about 2 Gb.<br>
><br>
><br>
> Then, if you take only what is needed, (that is, only<br>
> the libraries) by making an Installed ITK, you only<br>
> need 300Mb.<br>
><br>
><br>
> To be more precise, a fully installed ITK including<br>
> all libraries and even Python wrapping takes<br>
><br>
> 322 Mb<br>
><br>
><br>
><br>
> If you are building with Examples and Testing OFF, the<br>
> build shouldn't reach 15 Gb.<br>
><br>
> I would suggest that you delete that binary tree and<br>
> start from scratch.<br>
><br>
> Let us konw if you still find such a large build size.<br>
><br>
> BTW: A nice tool for looking at where the memory goes<br>
> is the Treesize application.<br>
><br>
><br>
> <a href="http://en.wikipedia.org/wiki/TreeSize" target="_blank">http://en.wikipedia.org/wiki/TreeSize</a><br>
><br>
> You may want to give it a try.<br>
><br>
> and if you find anything anomalous,<br>
> please let us know.<br>
><br>
><br>
> Thanks,<br>
><br>
><br>
> Luis<br>
><br>
><br>
><br>
> --------------------<br>
> John Drescher wrote:<br>
>><br>
>> On Thu, May 21, 2009 at 5:28 AM, Johannes Serup <<a href="mailto:tulsoba@gmail.com">tulsoba@gmail.com</a>> wrote:<br>
>><br>
>>> I have just downloaded ITK and followed these instruction:<br>
>>><br>
>>> <a href="http://www.itk.org/CourseWare/Training/GettingStarted-I.pdf" target="_blank">http://www.itk.org/CourseWare/Training/GettingStarted-I.pdf</a><br>
>>><br>
>>> I have just build the code using MS Visual Studion 2008. The total<br>
>>> size 15 GB. In cmake I did turn BUILD_EXAMPLES, BUILD_SHARED_LIBS and<br>
>>> BUILD_TESTING off.<br>
>>><br>
>>> Is it meant to be that large?<br>
>>><br>
>><br>
>><br>
>> Under xp64 and vs2005 ITK-3.12 is 9.66 GB (10,381,442,708 bytes)<br>
>><br>
>> That is just itk and no InsightApplications.<br>
>><br>
>> John<br>
>> _____________________________________<br>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Please keep messages on-topic and check the ITK FAQ at:<br>
>> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
>><br>
><br>
</div></div></blockquote></div><br>