Hi all,<br><br>I am currently trying ti build python binding for ITK. Everything went fine during ccmake, but, when I try to compile, I get this error :<br><br>[ 24%] wrap_vnl_matrix.xml from <br>In file included from /usr/include/wchar.h:831,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/include/c++/4.3/cwchar:52,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/include/c++/4.3/bits/postypes.h:47,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/include/c++/4.3/iosfwd:47,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/include/c++/4.3/ios:44,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/include/c++/4.3/istream:45,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/include/c++/4.3/sstream:44,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/include/c++/4.3/complex:52,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/olivier/work/dev/lib/InsightToolkit-3.8.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/olivier/work/dev/lib/InsightToolkit-3.8.0/Utilities/vxl/vcl/vcl_complex.h:62,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/olivier/work/dev/lib/InsightToolkit-3.8.0/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17:<br>
/usr/include/bits/wchar2.h: In function &#39;int swprintf(wchar_t*, size_t, const wchar_t*, ...)&#39;:<br>/usr/include/bits/wchar2.h:290: error: &#39;__builtin_va_arg_pack&#39; was not declared in this scope<br>/usr/include/bits/wchar2.h:291: error: &#39;__builtin_va_arg_pack&#39; was not declared in this scope<br>
/usr/include/bits/wchar2.h: In function &#39;int wprintf(const wchar_t*, ...)&#39;:<br>/usr/include/bits/wchar2.h:340: error: &#39;__builtin_va_arg_pack&#39; was not declared in this scope<br>/usr/include/bits/wchar2.h: In function &#39;int fwprintf(__FILE*, const wchar_t*, ...)&#39;:<br>
/usr/include/bits/wchar2.h:347: error: &#39;__builtin_va_arg_pack&#39; was not declared in this scope<br>In file included from /usr/include/stdio.h:906,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/include/c++/4.3/cstdio:50,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/include/c++/4.3/bits/char_traits.h:48,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/include/c++/4.3/ios:46,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/include/c++/4.3/istream:45,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/include/c++/4.3/sstream:44,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/include/c++/4.3/complex:52,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/olivier/work/dev/lib/InsightToolkit-3.8.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/olivier/work/dev/lib/InsightToolkit-3.8.0/Utilities/vxl/vcl/vcl_complex.h:62,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/olivier/work/dev/lib/InsightToolkit-3.8.0/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17:<br>/usr/include/bits/stdio2.h: In function &#39;int sprintf(char*, const char*, ...)&#39;:<br>/usr/include/bits/stdio2.h:35: error: &#39;__builtin_va_arg_pack&#39; was not declared in this scope<br>
/usr/include/bits/stdio2.h: In function &#39;int snprintf(char*, size_t, const char*, ...)&#39;:<br>/usr/include/bits/stdio2.h:66: error: &#39;__builtin_va_arg_pack&#39; was not declared in this scope<br>/usr/include/bits/stdio2.h: In function &#39;int fprintf(FILE*, const char*, ...)&#39;:<br>
/usr/include/bits/stdio2.h:99: error: &#39;__builtin_va_arg_pack&#39; was not declared in this scope<br>/usr/include/bits/stdio2.h: In function &#39;int printf(const char*, ...)&#39;:<br>/usr/include/bits/stdio2.h:105: error: &#39;__builtin_va_arg_pack&#39; was not declared in this scope<br>
/usr/include/bits/stdio2.h: In function &#39;int asprintf(char**, const char*, ...)&#39;:<br>/usr/include/bits/stdio2.h:159: error: &#39;__builtin_va_arg_pack&#39; was not declared in this scope<br>/usr/include/bits/stdio2.h: In function &#39;int __asprintf(char**, const char*, ...)&#39;:<br>
/usr/include/bits/stdio2.h:167: error: &#39;__builtin_va_arg_pack&#39; was not declared in this scope<br>/usr/include/bits/stdio2.h: In function &#39;int dprintf(int, const char*, ...)&#39;:<br>/usr/include/bits/stdio2.h:174: error: &#39;__builtin_va_arg_pack&#39; was not declared in this scope<br>
/usr/include/bits/stdio2.h: In function &#39;int obstack_printf(obstack*, const char*, ...)&#39;:<br>/usr/include/bits/stdio2.h:182: error: &#39;__builtin_va_arg_pack&#39; was not declared in this scope<br>make[2]: *** [Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.xml] Erreur 1<br>
make[1]: *** [Wrapping/CSwig/VXLNumerics/CMakeFiles/_VXLNumericsPython.dir/all] Erreur 2<br>make: *** [all] Erreur 2<br><br>I am running an ubuntu, with gcc 4.3.2, cmake 2.6.2, ITK 3.8.0, python 2.5.<br>Do you have any idea ?<br>
<br>Best regards<br><br>Olivier<br>