[Insight-users] ITK build error with Mingw64

Gib Bogle g.bogle at auckland.ac.nz
Thu Sep 8 00:59:34 EDT 2011


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



More information about the Insight-users mailing list