[Insight-users] ITK build error with Mingw64

Bill Lorensen bill.lorensen at gmail.com
Thu Sep 8 11:39:38 EDT 2011


Gib,

I have no 64 bit machines. When I was building itk 3.x, my mingw builds were
fine. Now I only buiild itkv4 on my mingw system and it builds fine although
it is 32 bit.

Bill


On Thu, Sep 8, 2011 at 8:20 AM, Alexandre GOUAILLARD
<agouaillard at gmail.com>wrote:

> Dear gib,
>
> the errors you are pointing out are in gcc's include so its very
> likely that your problem comes from there.
>
> Also note that the support for 64bits is much better in ITK v4 than in
> itk 3.x. You can look there to get info on how to get it:
> http://www.itk.org/Wiki/ITK/Git
>
> There is one host that builds ITK v4 against mingw every night, but It
> looks like it is 32bits only.
> http://public.kitware.com/dashboard.php?name=itk
>
> Maybe Bill Lorensen and/or some kitware guys can help you there. They
> are the usual suspects for minGW questions.
>
> regards,
>
> alex.
>
>
> On Thu, Sep 8, 2011 at 12:59 PM, Gib Bogle <g.bogle at auckland.ac.nz> wrote:
> > I hadn't cleaned properly after first trying to build with
> BUILD_SHARED_LIBS
> > selected (this fails earlier), then deselecting this and trying again.
> >
> > After a complete restart in an empty directory, the build fails at the
> same
> > place but with different errors, all like this:
> >
> >
> :\users\mbog002\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.4.5/include/emmintrin.h:960:
> > error: previous declaration of 'long long int __vector__
> > _mm_unpackhi_epi64(long long int __vector__, long long int __vector__)'
> with
> > 'C++' linkage
> >
> c:\users\mbog002\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.4.5/../../../../x86_64-w64-mingw32/include/intrin.h:817:
> > error: conflicts with new declaration with 'C' linkage
> >
> >
> > On 8/09/2011 4:18 p.m., Gib Bogle wrote:
> >>
> >> I'm building itk-3.20.0 on Windows 7 with Mingw64 (gcc version 4.4.5),
> and
> >> I'm running into errors.  The build progresses about 80%, then while
> >> building libitkvnl_inst.a I get a large number of error messages that
> all
> >> seem to be like:
> >>
> >> undefined reference to `vnl_v_vector<unsigned long
> long>::allocate_T(int)'
> >>
> >> (with variations on vector and matrix, and allocate and deallocate).
> >>
> >> The only configuring I did on cmake was to choose the release build.
> >>
> >> Any suggestions?
> >>
> >> Thanks
> >> Gib
> >> _____________________________________
> >> 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.html
> >>
> >> 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
> >
> >
> > --
> > Dr. Gib Bogle
> > Senior Research Fellow
> > Auckland Bioengineering Institute
> > University of Auckland
> > New Zealand
> >
> > http://www.bioeng.auckland.ac.nz
> >
> > g.bogle at auckland.ac.nz
> > (64-9) 373-7599 Ext. 87030
> >
> > _____________________________________
> > 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.html
> >
> > 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
> >
> _____________________________________
> 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.html
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110908/82ca6766/attachment.htm>


More information about the Insight-users mailing list