[ITK] Fwd: BUILD-ALL ITK RUN time?

Tünde Szilágyi a.tunde.szilagyi at gmail.com
Thu Nov 12 16:08:36 EST 2015


Hi Matt,

Many thanks.

Tunde

On 12 November 2015 at 22:05, Matt McCormick <matt.mccormick at kitware.com>
wrote:

> Hi Tunde,
>
> Yes, start from a clean source tree and especially a clean build tree
> should help.  The ITK Software Guide has some guidance on getting
> started:
>
>
> http://itk.org/ITKSoftwareGuide/html/Book1/ITKSoftwareGuide-Book1ch2.html#x27-170002
>
> HTH,
> Matt
>
> On Thu, Nov 12, 2015 at 4:00 PM, Tünde Szilágyi
> <a.tunde.szilagyi at gmail.com> wrote:
> > Hi Matt,
> >
> > I am compiling ITK for the first time. I have not used it before. I have
> > attached the output when I have tried to build it.
> >
> > Many thanks.
> > Tunde
> >
> > ps. Perhaps I just erase everything and start from zero...
> >
> > On 12 November 2015 at 21:54, Matt McCormick <matt.mccormick at kitware.com
> >
> > wrote:
> >>
> >> Hi Tunde,
> >>
> >> Those look like paths from ITKv3.  Is ITKv4 being used?
> >>
> >> HTH,
> >> Matt
> >>
> >> On Thu, Nov 12, 2015 at 3:38 PM, Tünde Szilágyi
> >> <a.tunde.szilagyi at gmail.com> wrote:
> >> > Hi Matt,
> >> >
> >> > It appears that the changes have been made successfully.
> Unfortunately,
> >> > CMake is still not happy. I have attached the output. I would
> appreciate
> >> > help from anyone. Many thanks.
> >> >
> >> > Tunde
> >> >
> >> > On 12 November 2015 at 21:32, Tünde Szilágyi
> >> > <a.tunde.szilagyi at gmail.com>
> >> > wrote:
> >> >>
> >> >> Simon, many thanks that worked! I have attached the new set of
> feedback
> >> >> that I have received. I assume this is all fine..
> >> >>
> >> >> On 12 November 2015 at 21:27, Simon Alexander <skalexander at gmail.com
> >
> >> >> wrote:
> >> >>>
> >> >>> Matt, should that be a "git reset --merge" ?
> >> >>>
> >> >>>
> >> >>> On Thu, 12 Nov 2015 at 15:14 Tünde Szilágyi
> >> >>> <a.tunde.szilagyi at gmail.com>
> >> >>> wrote:
> >> >>>>
> >> >>>> Hi Matt,
> >> >>>>
> >> >>>> Many thanks. Unfortunately the suggested command did not solve the
> >> >>>> problem, see attachment.
> >> >>>>
> >> >>>> Many thanks.
> >> >>>> Tunde
> >> >>>>
> >> >>>> On 12 November 2015 at 21:05, Matt McCormick
> >> >>>> <matt.mccormick at kitware.com> wrote:
> >> >>>>>
> >> >>>>> Hi Tunde,
> >> >>>>>
> >> >>>>> The prompt indicates the repository is an intermediate state
> >> >>>>> (MERGING), and git is not allowing the requested actions because
> it
> >> >>>>> does not want changes made in that intermediate state to get lost.
> >> >>>>>
> >> >>>>> To get out of the intermediate state, use
> >> >>>>>
> >> >>>>>   git reset --hard origin/master
> >> >>>>>
> >> >>>>> then try again.
> >> >>>>>
> >> >>>>> HTH,
> >> >>>>> Matt
> >> >>>>>
> >> >>>>> On Thu, Nov 12, 2015 at 2:52 PM, Tünde Szilágyi
> >> >>>>> <a.tunde.szilagyi at gmail.com> wrote:
> >> >>>>> > Hi Matt,
> >> >>>>> >
> >> >>>>> > Many thanks. I went through the suggested routes (see
> attachment).
> >> >>>>> > I
> >> >>>>> > am
> >> >>>>> > certain that I am doing something wrong (but I do not understand
> >> >>>>> > what
> >> >>>>> > it
> >> >>>>> > might be), because I am getting similar error messages.
> >> >>>>> >
> >> >>>>> > Many thanks.
> >> >>>>> > Tunde
> >> >>>>> >
> >> >>>>> > On 12 November 2015 at 19:33, Matt McCormick
> >> >>>>> > <matt.mccormick at kitware.com>
> >> >>>>> > wrote:
> >> >>>>> >>
> >> >>>>> >> Hi Tunde,
> >> >>>>> >>
> >> >>>>> >> I mistakenly thought you were working on the "release" branch,
> so
> >> >>>>> >> I
> >> >>>>> >> expected the commands to run would be
> >> >>>>> >>
> >> >>>>> >>   git checkout release
> >> >>>>> >>   git pull
> >> >>>>> >>
> >> >>>>> >> If you were not working on the release branch, it can be
> created
> >> >>>>> >> locally
> >> >>>>> >> with
> >> >>>>> >>
> >> >>>>> >>   git checkout -b release origin/release
> >> >>>>> >>   git pull
> >> >>>>> >>
> >> >>>>> >> It is possible to also directly get the patch from Gerrit, but
> >> >>>>> >> not
> >> >>>>> >> do
> >> >>>>> >> use the 'pull' line for this case.  Instead, use the 'checkout'
> >> >>>>> >> line,
> >> >>>>> >> i.e.
> >> >>>>> >>
> >> >>>>> >>   git fetch http://review.source.kitware.com/ITK
> >> >>>>> >> refs/changes/54/20154/1 && git checkout FETCH_HEAD -b CMP0054
> >> >>>>> >>
> >> >>>>> >> Note that "-b CMP0054" was added to give a branch name.
> >> >>>>> >>
> >> >>>>> >> But, the 4.8.2 archives were just created from the latest
> >> >>>>> >> "release"
> >> >>>>> >> branch, so those can be tried too:
> >> >>>>> >>
> >> >>>>> >>   https://sourceforge.net/projects/itk/files/itk/4.8/
> >> >>>>> >>
> >> >>>>> >>
> >> >>>>> >> Thanks for testing and providing feedback.
> >> >>>>> >>
> >> >>>>> >> Matt
> >> >>>>> >>
> >> >>>>> >> On Thu, Nov 12, 2015 at 9:32 AM, Tünde Szilágyi
> >> >>>>> >> <a.tunde.szilagyi at gmail.com> wrote:
> >> >>>>> >> > Hi Matt,
> >> >>>>> >> >
> >> >>>>> >> > I have pulled the suggested patch, but I am having the error
> >> >>>>> >> > message
> >> >>>>> >> > attached. I would appreciate any feedback from anyone.
> >> >>>>> >> >
> >> >>>>> >> > Many thanks in advance.
> >> >>>>> >> >
> >> >>>>> >> > Best wishes,
> >> >>>>> >> > Tunde
> >> >>>>> >> >
> >> >>>>> >> > On 5 November 2015 at 21:04, Matt McCormick
> >> >>>>> >> > <matt.mccormick at kitware.com>
> >> >>>>> >> > wrote:
> >> >>>>> >> >>
> >> >>>>> >> >> Hi Tunde,
> >> >>>>> >> >>
> >> >>>>> >> >> These CMake warnings are addressed by this patch:
> >> >>>>> >> >>
> >> >>>>> >> >>   http://review.source.kitware.com/#/c/20154/1
> >> >>>>> >> >>
> >> >>>>> >> >> which I just backported to the "release" branch. Please 'git
> >> >>>>> >> >> pull' to
> >> >>>>> >> >> fetch the changes.
> >> >>>>> >> >>
> >> >>>>> >> >> Please let the list know if there are any other issues.
> >> >>>>> >> >> According to
> >> >>>>> >> >> the dashboard, there are also some warnings to address:
> >> >>>>> >> >>
> >> >>>>> >> >>
> >> >>>>> >> >>
> >> >>>>> >> >>
> https://open.cdash.org/viewBuildError.php?type=1&buildid=4088244
> >> >>>>> >> >>
> >> >>>>> >> >> Patches for these warnings would be welcome :-)
> >> >>>>> >> >>
> >> >>>>> >> >> Thanks,
> >> >>>>> >> >> Matt
> >> >>>>> >> >>
> >> >>>>> >> >> On Thu, Nov 5, 2015 at 2:47 PM, Tünde Szilágyi
> >> >>>>> >> >> <a.tunde.szilagyi at gmail.com> wrote:
> >> >>>>> >> >> > Hi Matt,
> >> >>>>> >> >> >
> >> >>>>> >> >> > Thank you, this fixed some of the problems I was facing.
> Now
> >> >>>>> >> >> > I
> >> >>>>> >> >> > can
> >> >>>>> >> >> > build
> >> >>>>> >> >> > some packages except the ITKNumerics, ITKStatistics and
> >> >>>>> >> >> > ITKFEM.
> >> >>>>> >> >> > I
> >> >>>>> >> >> > have
> >> >>>>> >> >> > attached the error message that I received in CMAKE. There
> >> >>>>> >> >> > are
> >> >>>>> >> >> > no
> >> >>>>> >> >> > explanations in the MS VS 2015 during build.
> >> >>>>> >> >> >
> >> >>>>> >> >> > Many thanks in advance.
> >> >>>>> >> >> >
> >> >>>>> >> >> > Tunde
> >> >>>>> >> >> >
> >> >>>>> >> >> >
> >> >>>>> >> >> > On 5 November 2015 at 16:22, Matt McCormick
> >> >>>>> >> >> > <matt.mccormick at kitware.com>
> >> >>>>> >> >> > wrote:
> >> >>>>> >> >> >>
> >> >>>>> >> >> >> Hi Tunde,
> >> >>>>> >> >> >>
> >> >>>>> >> >> >> A few pointers:
> >> >>>>> >> >> >>
> >> >>>>> >> >> >> - Use ITK Git master [1], which has support for Visual
> >> >>>>> >> >> >> Studio
> >> >>>>> >> >> >> 2015
> >> >>>>> >> >> >> (support is not available in ITK 4.8.1).
> >> >>>>> >> >> >> - If wrapping is built, ITK Git master also builds much
> >> >>>>> >> >> >> faster.
> >> >>>>> >> >> >> - Turn off BUILD_TESTING and BUILD_EXAMPLES in your CMake
> >> >>>>> >> >> >> configuration to greatly improve the build time.
> >> >>>>> >> >> >>
> >> >>>>> >> >> >> HTH,
> >> >>>>> >> >> >> Matt
> >> >>>>> >> >> >>
> >> >>>>> >> >> >> [1] http://www.itk.org/Wiki/ITK/Git
> >> >>>>> >> >> >>
> >> >>>>> >> >> >> On Thu, Nov 5, 2015 at 7:03 AM, Tünde Szilágyi
> >> >>>>> >> >> >> <a.tunde.szilagyi at gmail.com> wrote:
> >> >>>>> >> >> >> > Dear Brad,
> >> >>>>> >> >> >> >
> >> >>>>> >> >> >> > Thank you for your feedback. I figured out that my
> error
> >> >>>>> >> >> >> > occurs
> >> >>>>> >> >> >> > during
> >> >>>>> >> >> >> > CMake
> >> >>>>> >> >> >> > Configuration. I have attached an error message that I
> >> >>>>> >> >> >> > receive.
> >> >>>>> >> >> >> > Files
> >> >>>>> >> >> >> > from
> >> >>>>> >> >> >> > the same family are throwing this error - all start
> with
> >> >>>>> >> >> >> > cmTC_XXXXX.exe
> >> >>>>> >> >> >> > (see
> >> >>>>> >> >> >> > attached Screen Shoot). If I ignore this and Build All
> in
> >> >>>>> >> >> >> > MS
> >> >>>>> >> >> >> > Visual
> >> >>>>> >> >> >> > Studio
> >> >>>>> >> >> >> > the Debug and Release is not populated (And there are
> no
> >> >>>>> >> >> >> > error
> >> >>>>> >> >> >> > messages
> >> >>>>> >> >> >> > either.). I would appreciate any insight into this.
> >> >>>>> >> >> >> >
> >> >>>>> >> >> >> > Many thanks.
> >> >>>>> >> >> >> > Tunde
> >> >>>>> >> >> >> >
> >> >>>>> >> >> >> > On 5 November 2015 at 12:55, Bradley Lowekamp
> >> >>>>> >> >> >> > <blowekamp at mail.nih.gov>
> >> >>>>> >> >> >> > wrote:
> >> >>>>> >> >> >> >>
> >> >>>>> >> >> >> >> Hello,
> >> >>>>> >> >> >> >>
> >> >>>>> >> >> >> >> I don't think I have built ITK with the MS VS 12 2015
> >> >>>>> >> >> >> >> GUI.
> >> >>>>> >> >> >> >> But I
> >> >>>>> >> >> >> >> do
> >> >>>>> >> >> >> >> have a
> >> >>>>> >> >> >> >> dashboard build with the compiler:
> >> >>>>> >> >> >> >>
> >> >>>>> >> >> >> >>
> https://open.cdash.org/buildSummary.php?buildid=4088244
> >> >>>>> >> >> >> >>
> >> >>>>> >> >> >> >> This take about 3 hours, on a 4 core 4 GB memory
> virtual
> >> >>>>> >> >> >> >> machine.
> >> >>>>> >> >> >> >>
> >> >>>>> >> >> >> >> Perhaps you could try building from the command line
> >> >>>>> >> >> >> >> with
> >> >>>>> >> >> >> >> cmake?
> >> >>>>> >> >> >> >>
> >> >>>>> >> >> >> >> cmake --build . --config Release
> >> >>>>> >> >> >> >>
> >> >>>>> >> >> >> >>
> >> >>>>> >> >> >> >>
> >> >>>>> >> >> >> >> HTH,
> >> >>>>> >> >> >> >> Brad
> >> >>>>> >> >> >> >>
> >> >>>>> >> >> >> >> On Nov 5, 2015, at 5:11 AM, Tünde Szilágyi
> >> >>>>> >> >> >> >> <a.tunde.szilagyi at gmail.com>
> >> >>>>> >> >> >> >> wrote:
> >> >>>>> >> >> >> >>
> >> >>>>> >> >> >> >> Dear All,
> >> >>>>> >> >> >> >>
> >> >>>>> >> >> >> >> I would be interested what is the expected time to
> build
> >> >>>>> >> >> >> >> all the
> >> >>>>> >> >> >> >> ITK
> >> >>>>> >> >> >> >> libraries for the first time in Microsoft Visual
> Studio
> >> >>>>> >> >> >> >> 14
> >> >>>>> >> >> >> >> 2015.
> >> >>>>> >> >> >> >> It
> >> >>>>> >> >> >> >> shows me
> >> >>>>> >> >> >> >> that there 492 projects to build. It has been running
> >> >>>>> >> >> >> >> for
> >> >>>>> >> >> >> >> more
> >> >>>>> >> >> >> >> then
> >> >>>>> >> >> >> >> 17h
> >> >>>>> >> >> >> >> on a
> >> >>>>> >> >> >> >> 2.84 GHz CPU, using 4.6 out of 7.9 GB memory without
> >> >>>>> >> >> >> >> error
> >> >>>>> >> >> >> >> message.
> >> >>>>> >> >> >> >> Perhaps
> >> >>>>> >> >> >> >> I misunderstood this process?
> >> >>>>> >> >> >> >>
> >> >>>>> >> >> >> >> Many thanks.
> >> >>>>> >> >> >> >>
> >> >>>>> >> >> >> >> Best wishes,
> >> >>>>> >> >> >> >> Tunde Szilagyi
> >> >>>>> >> >> >> >> _______________________________________________
> >> >>>>> >> >> >> >> Community mailing list
> >> >>>>> >> >> >> >> Community at itk.org
> >> >>>>> >> >> >> >> http://public.kitware.com/mailman/listinfo/community
> >> >>>>> >> >> >> >>
> >> >>>>> >> >> >> >>
> >> >>>>> >> >> >> >
> >> >>>>> >> >> >> >
> >> >>>>> >> >> >> >
> >> >>>>> >> >> >> > _______________________________________________
> >> >>>>> >> >> >> > Community mailing list
> >> >>>>> >> >> >> > Community at itk.org
> >> >>>>> >> >> >> > http://public.kitware.com/mailman/listinfo/community
> >> >>>>> >> >> >> >
> >> >>>>> >> >> >
> >> >>>>> >> >> >
> >> >>>>> >> >
> >> >>>>> >> >
> >> >>>>> >
> >> >>>>> >
> >> >>>>> >
> >> >>>>> >
> >> >>>>> > --
> >> >>>>> > --
> >> >>>>> > Tunde
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> --
> >> >>>> --
> >> >>>> Tunde
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> --
> >> >> Tunde
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > --
> >> > Tunde
> >
> >
> >
> >
> > --
> > --
> > Tunde
>



-- 
--
Tunde
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20151112/9b8488f5/attachment-0001.html>


More information about the Community mailing list