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'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"><<a href="mailto:zeinsalah@gmail.com" target="_blank">zeinsalah@gmail.com</a>></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 <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>> wrote:<br>
> Yes. You can use those builds within the superbuild in your other projects.<br>
><br>
> BTW, I would not build debug. You applications will be very slow. Either<br>
> RelWithDebInfo or Release.<br>
><br>
><br>
> On Wed, Sep 5, 2012 at 5:14 AM, Zein Salah <<a href="mailto:zeinsalah@gmail.com">zeinsalah@gmail.com</a>> wrote:<br>
>><br>
>> well, I tried building with superbuild. Cmake missed Git and SVN,<br>
>> so I also installed both. CMake then generated the project for VS2010.<br>
>> There were these subprojects:<br>
>> ALL_BUILD<br>
>> FLTK<br>
>> ITK<br>
>> ITKApps<br>
>> VTK<br>
>> and Zero_Check<br>
>><br>
>> I built ALL_BUILD, first for debug. Build succeeded. The output directory<br>
>> is about 10GB in size, and it seems that it contains builds for itk, vtk,<br>
>> and fltk, in addition to InsightApps.Is this right? does this mean<br>
>> that I do not<br>
>> have to separately build these toolkits, as I always did?<br>
>> And when I define my own project, should I give paths to (and link<br>
>> libraries)<br>
>> from the builds within ITKApps?<br>
>><br>
>> Thanks,<br>
>> Zein<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> On Tue, Sep 4, 2012 at 8:54 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
>> wrote:<br>
>> > Use the superbuild. It will build all with the proper options.<br>
>> ><br>
>> ><br>
>> > On Tue, Sep 4, 2012 at 2:33 PM, Zein Salah <<a href="mailto:zeinsalah@gmail.com">zeinsalah@gmail.com</a>> wrote:<br>
>> >><br>
>> >> till now, no ! but I would do if it solves the problem. Should I then<br>
>> >> build itk, vtk, and fltk the usual way?<br>
>> >><br>
>> >> On Tue, Sep 4, 2012 at 4:30 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
>> >> wrote:<br>
>> >> > Are you using the Superbuild?<br>
>> >><br>
>> >> ><br>
>> >> > On Tue, Sep 4, 2012 at 8:37 AM, Zein Salah <<a href="mailto:zeinsalah@gmail.com">zeinsalah@gmail.com</a>><br>
>> >> > wrote:<br>
>> >> >><br>
>> >> >> itk 4.2.0,<br>
>> >> >> itkApps 4.2.0<br>
>> >> >> cmake 2.8.9<br>
>> >> >> fltk 1.1.7<br>
>> >> >><br>
>> >> >><br>
>> >> >><br>
>> >> >> On Tue, Sep 4, 2012 at 2:32 PM, Bill Lorensen<br>
>> >> >> <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
>> >> >> wrote:<br>
>> >> >> > What version of itk and itkapps are you using?<br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> > On Tue, Sep 4, 2012 at 8:22 AM, Zein Salah <<a href="mailto:zeinsalah@gmail.com">zeinsalah@gmail.com</a>><br>
>> >> >> > wrote:<br>
>> >> >> >><br>
>> >> >> >> I also tried adding this variable manually and it did not help<br>
>> >> >> >> ;).<br>
>> >> >> >> Wouldit make a difference if I built InsightApplications from the<br>
>> >> >> >> SuperBuild directory and not from the root?<br>
>> >> >> >><br>
>> >> >> >> On Tue, Sep 4, 2012 at 2:05 PM, John Drescher<br>
>> >> >> >> <<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>><br>
>> >> >> >> wrote:<br>
>> >> >> >> >>>> CMake Error at CMakeLists.txt:131 (INCLUDE): include<br>
>> >> >> >> >>>> called<br>
>> >> >> >> >>>> with<br>
>> >> >> >> >>>> wrong number of arguments. Include only takes one file<br>
>> >> >> >> ><br>
>> >> >> >> > This error means the FLTK_INCLUDE_DIR variable (may be a<br>
>> >> >> >> > different<br>
>> >> >> >> > name) is also empty.<br>
>> >> >> >> ><br>
>> >> >> >> > Johh<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>
>> >> >> >> Kitware offers ITK Training Courses, for more information visit:<br>
>> >> >> >> <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</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>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> > --<br>
>> >> >> > Unpaid intern in BillsBasement at noware dot com<br>
>> >> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > --<br>
>> >> > Unpaid intern in BillsBasement at noware dot com<br>
>> >> ><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Unpaid intern in BillsBasement at noware dot com<br>
>> ><br>
><br>
><br>
><br>
><br>
> --<br>
> Unpaid intern in BillsBasement at noware dot com<br>
><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>
</div>