[Insight-users] Compiling problem of vnl_sse.h with GNU c++ compiling

johnjtchen at aol.co.uk johnjtchen at aol.co.uk
Sun Oct 12 11:56:35 EDT 2008


Dear All,

I am using GNU c++ to compile itk380 with cmake option "optimize registration" and "review codes" turned on.

I can compile itk380 successfully with default cmake settings but not with the above two options turned on.

Can someone give me some advice?


My env:
unbuntu 804
itk 380
cmake 262
gcc and g++, tried both 423 and 432
and both under linux and cygwin

Here are some error msgs:
/home/tai/Documents/Insight/Utilities/vxl/core/vnl/vnl_sse.h:270: error: ‘_mm_add_sd’ was not declared in this scope
/home/tai/Documents/Insight/Utilities/vxl/core/vnl/vnl_sse.h:271: error: ‘_mm_store_sd’ was not declared in this scope
/home/tai/Documents/Insight/Utilities/vxl/core/vnl/vnl_sse.h: In static member function ‘static void vnl_sse<double>::vector_x_matrix(const double*, const double*, double*, unsigned int, unsigned int)’:
/home/tai/Documents/Insight/Utilities/vxl/core/vnl/vnl_sse.h:277: error: ‘__m128d’ was not declared in this scope
/home/tai/Documents/Insight/Utilities/vxl/core/vnl/vnl_sse.h:277: error: expected `;' before ‘accum’
/home/tai/Documents/Insight/Utilities/vxl/core/vnl/vnl_sse.h:290: error: ‘accum’ was not declared in this scope

and so on...

Thanks.
john

________________________________________________________________________
AOL Email goes Mobile! You can now read your AOL Emails whilst on the move. Sign up for a free AOL Email account with unlimited storage today.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081012/1a87fe8c/attachment.htm>


More information about the Insight-users mailing list