[ITK] [ITK-dev] ITK 4.8, castxml, and 32-bits Debian/gcc

Steve M. Robbins steve at sumost.ca
Tue Sep 22 00:03:24 EDT 2015


Hi Brad,

On September 21, 2015 11:50:43 AM Bradley Lowekamp wrote:
> Looking at this command closely:
> 
> On Sep 20, 2015, at 11:03 PM, Steve M. Robbins <steve at sumost.ca> wrote:
> > [ 13%] Building C object
> > Modules/ThirdParty/OpenJPEG/src/openjpeg/CMakeFiles/itkopenjpeg.dir/raw.c
> > .o cd
> > /home/steve/Packages/insighttoolkit/build-area/insighttoolkit4-4.8.0/BUIL
> > D/Modules/ThirdParty/OpenJPEG/src/openjpeg && /usr/bin/cc [...]

> It doesn't look like castxml is being run here?

Sharp eyes!  I hadn't noticed that.  

It turns out to be an artifact of parallel building: the output is 
interleaved.  The actual command that failed was above this one; it was indeed 
castxml:


steve at riemann{insighttoolkit4-4.8.0}cd 
/home/steve/Packages/insighttoolkit/build-
area/insighttoolkit4-4.8.0/BUILD/Wrapping/Modules/ITKCommon && 
/usr/bin/castxml -o /home/steve/Packages/insighttoolkit/build-
area/insighttoolkit4-4.8.0/BUILD/Wrapping/Modules/ITKCommon/vcl_complex.xml --
castxml-gccxml --castxml-start _cable_ --castxml-cc-gnu /usr/bin/c++ -w -c 
@/home/steve/Packages/insighttoolkit/build-
area/insighttoolkit4-4.8.0/BUILD/Wrapping/Modules/ITKCommon/castxml.inc 
/home/steve/Packages/insighttoolkit/build-
area/insighttoolkit4-4.8.0/BUILD/Wrapping/Modules/ITKCommon/vcl_complex.cxx
In file included from /home/steve/Packages/insighttoolkit/build-
area/insighttoolkit4-4.8.0/BUILD/Wrapping/Modules/ITKCommon/vcl_complex.cxx:5:
In file included from /home/steve/Packages/insighttoolkit/build-
area/insighttoolkit4-4.8.0/Modules/Core/Common/include/itkContinuousIndex.h:22:
In file included from /home/steve/Packages/insighttoolkit/build-
area/insighttoolkit4-4.8.0/Modules/Core/Common/include/itkIndex.h:23:
In file included from /home/steve/Packages/insighttoolkit/build-
area/insighttoolkit4-4.8.0/Modules/Core/Common/include/itkMath.h:32:
In file included from /home/steve/Packages/insighttoolkit/build-
area/insighttoolkit4-4.8.0/Modules/Core/Common/include/itkMathDetail.h:43:
/usr/share/castxml/clang/include/emmintrin.h:28:2: error: "SSE2 instruction 
set not enabled"
#error "SSE2 instruction set not enabled"
 ^
1 error generated.

-Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/community/attachments/20150921/01547f5c/attachment-0001.sig>
-------------- next part --------------
_______________________________________________
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://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://public.kitware.com/mailman/listinfo/insight-developers


More information about the Community mailing list