[Insight-users] Compile Wrapitk On OS X 10.5.7 crash

Gen-Nan Chen gnchen at gmail.com
Wed Jun 17 12:51:50 EDT 2009


Hi!

I tried to build itk and wrapitk on OS X 10.5.7 (MacPro) with arch
=i386;x86_64. But no luck no far. I stuck at :
I am using ITK-3.14, CableSwig 3.14, WrapITK from trunk.


[ 26%] Generating wrap_vcl_complex.xml
In file included from /usr/include/c++/4.0.0/complex:49,
                 from
/Users/gnchen/tools/InsightToolkit-3.14.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
                 from
/Users/gnchen/tools/InsightToolkit-3.14.0/Utilities/vxl/vcl/vcl_complex.h:62,
                 from
/Users/gnchen/tmp/itk_univ/Wrapping/WrapITK/Libraries/VXLNumerics/wrap_vcl_complex.cxx:1:
/usr/include/c++/4.0.0/cmath: In function 'long double std::asin(long
double)':
/usr/include/c++/4.0.0/cmath:123: internal compiler error: tree check:
expected tree that contains 'decl minimal' structure, have 'statement_list'
 in duplicate_decls, at cp/decl.c:1110
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [Wrapping/WrapITK/Libraries/VXLNumerics/wrap_vcl_complex.xml]
Error 4
make[1]: ***
[Wrapping/WrapITK/Libraries/VXLNumerics/CMakeFiles/VXLNumericsIdx.dir/all]
Error 2
make: *** [all] Error 2


ALso no luck when I used i386 only. I think this is related to GCCXML since
I was able to compile ITK and everything without any problem. Any idea why?
or Any suggestion there? Or Can someone post steps to compile it?


-- 
Gen-Nan Chen
email: gnchen at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090617/bb16e674/attachment.htm>


More information about the Insight-users mailing list