[Insight-users] Fwd: Building FLTK for Visual Studio 2010

Zein Salah zeinsalah at gmail.com
Wed Sep 5 08:58:11 EDT 2012


Hello Bill,

Building ITKApps with superbuild worked for both Debug and release.
however, I am wondering why this superbuild was conceptualized and
what the policy behind it is! Actually, most of my programs rely on
itk, vtk , qt, and fltk. From InsightApplications, I almost only use the
Auxiliary (itkfltkimageviewer) and volviewplugin. So why should I have
itk, vtk fltk within the ITKApps directory?

I am already now afraid whether my project using igstk will work in
the new environment :).

Best,
Zein


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


More information about the Insight-users mailing list