[Insight-users] troubles while building itk 3.16 for snow leopard - 10.6
jelle
jelleferinga at gmail.com
Fri Dec 11 09:35:56 EST 2009
hi,
I'm trying to build itk 3.16 on snow leopard, with wrapitk enabled.
My goal is to build the wrappers for 64 bit python 2.6.
I've got Xcode 3.2 / swig 1.3.40 installed and CableSwig from:
http://code.google.com/p/wrapitk/wiki/WrapITKBinaries
While building itk, I run into the following error.
Any ideas what I can do to overcome this issue?
Should I build CableSwig from scratch?
Many thanks in advance,
-jelle
[ 29%] Generating wrap_vcl_complex.xml
In file included from /usr/include/c++/4.2.1/cstdlib:72,
from /usr/include/c++/4.2.1/bits/stl_algobase.h:68,
from /usr/include/c++/4.2.1/bits/char_traits.h:46,
from /usr/include/c++/4.2.1/ios:45,
from /usr/include/c++/4.2.1/istream:44,
from /usr/include/c++/4.2.1/sstream:44,
from /usr/include/c++/4.2.1/complex:50,
from /Users/localadmin/Src/InsightToolkit-3.16.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
from /Users/localadmin/Src/InsightToolkit-3.16.0/Utilities/vxl/vcl/vcl_complex.h:62,
from /Users/localadmin/Src/itk_build/Wrapping/WrapITK/Modules/
VXLNumerics/wrap_vcl_complex.cxx:1:
/usr/include/stdlib.h:272: error: expected primary-expression before 'void'
/usr/include/stdlib.h:274: error: expected `)' before '^' token
/usr/include/stdlib.h:274: error: expected ',' or '...' before '^' token
/usr/include/stdlib.h:274: error: expected initializer before ')' token
/usr/include/stdlib.h:301: error: expected `)' before '^' token
/usr/include/stdlib.h:301: error: expected ',' or '...' before '^' token
/usr/include/stdlib.h:301: error: expected initializer before ')' token
/usr/include/stdlib.h:307: error: expected `)' before '^' token
/usr/include/stdlib.h:307: error: expected ',' or '...' before '^' token
/usr/include/stdlib.h:307: error: expected initializer before ')' token
/usr/include/stdlib.h:313: error: expected `)' before '^' token
/usr/include/stdlib.h:313: error: expected ',' or '...' before '^' token
/usr/include/stdlib.h:313: error: expected initializer before ')' token
/usr/include/stdlib.h:319: error: expected `)' before '^' token
/usr/include/stdlib.h:319: error: expected ',' or '...' before '^' token
/usr/include/stdlib.h:319: error: expected initializer before ')' token
make[2]: *** [Wrapping/WrapITK/Modules/VXLNumerics/wrap_vcl_complex.xml] Error 1
make[1]: *** [Wrapping/WrapITK/Modules/VXLNumerics/CMakeFiles/
_VXLNumericsPython.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
More information about the Insight-users
mailing list