If you are an experienced vtk/itk developer, you can substitute your our VTK_DIR and ITK_DIR to the superbuild.<div><br></div><div>Superbuild&#39;s are useful for projects that need multiple toolkits. It permits the selection of proper versions and compile options.</div>
<div><br></div><div>You can certainly use Auxillary without superbuild. You will need to figure out how to build the required toolkits yourself.<br><br><div class="gmail_quote">On Wed, Sep 5, 2012 at 8:58 AM, Zein Salah <span dir="ltr">&lt;<a href="mailto:zeinsalah@gmail.com" target="_blank">zeinsalah@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Bill,<br>
<br>
Building ITKApps with superbuild worked for both Debug and release.<br>
however, I am wondering why this superbuild was conceptualized and<br>
what the policy behind it is! Actually, most of my programs rely on<br>
itk, vtk , qt, and fltk. From InsightApplications, I almost only use the<br>
Auxiliary (itkfltkimageviewer) and volviewplugin. So why should I have<br>
itk, vtk fltk within the ITKApps directory?<br>
<br>
I am already now afraid whether my project using igstk will work in<br>
the new environment :).<br>
<br>
Best,<br>
Zein<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Wed, Sep 5, 2012 at 2:24 PM, Bill Lorensen &lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt; wrote:<br>
&gt; Yes. You can use those builds within the superbuild in your other projects.<br>
&gt;<br>
&gt; BTW, I would not build debug. You applications will be very slow. Either<br>
&gt; RelWithDebInfo or Release.<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Sep 5, 2012 at 5:14 AM, Zein Salah &lt;<a href="mailto:zeinsalah@gmail.com">zeinsalah@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; well, I tried building with superbuild. Cmake missed Git and SVN,<br>
&gt;&gt; so I also installed both. CMake then generated the project for VS2010.<br>
&gt;&gt; There were these subprojects:<br>
&gt;&gt; ALL_BUILD<br>
&gt;&gt; FLTK<br>
&gt;&gt; ITK<br>
&gt;&gt; ITKApps<br>
&gt;&gt; VTK<br>
&gt;&gt; and Zero_Check<br>
&gt;&gt;<br>
&gt;&gt; I built ALL_BUILD, first for debug. Build succeeded. The output directory<br>
&gt;&gt; is about 10GB in size, and it seems that it contains builds for itk, vtk,<br>
&gt;&gt; and fltk, in addition to InsightApps.Is this right? does this mean<br>
&gt;&gt; that I do not<br>
&gt;&gt; have to separately build these toolkits, as I always did?<br>
&gt;&gt; And when I define my own project, should I give paths to (and link<br>
&gt;&gt; libraries)<br>
&gt;&gt; from the builds within ITKApps?<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; Zein<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Sep 4, 2012 at 8:54 PM, Bill Lorensen &lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; Use the superbuild. It will build all with the proper options.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Tue, Sep 4, 2012 at 2:33 PM, Zein Salah &lt;<a href="mailto:zeinsalah@gmail.com">zeinsalah@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; till now, no ! but I would do if it solves the problem. Should I then<br>
&gt;&gt; &gt;&gt; build itk, vtk, and fltk the usual way?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On Tue, Sep 4, 2012 at 4:30 PM, Bill Lorensen &lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt; Are you using the Superbuild?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; On Tue, Sep 4, 2012 at 8:37 AM, Zein Salah &lt;<a href="mailto:zeinsalah@gmail.com">zeinsalah@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; itk 4.2.0,<br>
&gt;&gt; &gt;&gt; &gt;&gt; itkApps 4.2.0<br>
&gt;&gt; &gt;&gt; &gt;&gt; cmake 2.8.9<br>
&gt;&gt; &gt;&gt; &gt;&gt; fltk 1.1.7<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; On Tue, Sep 4, 2012 at 2:32 PM, Bill Lorensen<br>
&gt;&gt; &gt;&gt; &gt;&gt; &lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; What version of itk and itkapps are you using?<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; On Tue, Sep 4, 2012 at 8:22 AM, Zein Salah &lt;<a href="mailto:zeinsalah@gmail.com">zeinsalah@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; I also tried adding this variable manually and it did not help<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; ;).<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; Wouldit make a difference if I built InsightApplications from the<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; SuperBuild directory and not from the root?<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; On Tue, Sep 4, 2012 at 2:05 PM, John Drescher<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; &lt;<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt;&gt;&gt; CMake Error at CMakeLists.txt:131 (INCLUDE):   include<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt;&gt;&gt; called<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt;&gt;&gt; with<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt;&gt;&gt; wrong number of arguments.  Include only takes one   file<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; This error means the FLTK_INCLUDE_DIR variable (may be a<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; different<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; name) is also empty.<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; Johh<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; _____________________________________<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; --<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt; Unpaid intern in BillsBasement at noware dot com<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; --<br>
&gt;&gt; &gt;&gt; &gt; Unpaid intern in BillsBasement at noware dot com<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; Unpaid intern in BillsBasement at noware dot com<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Unpaid intern in BillsBasement at noware dot com<br>
&gt;<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>
</div>