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>
from /usr/include/c++/4.3/cwchar:52,<br> from /usr/include/c++/4.3/bits/postypes.h:47,<br> from /usr/include/c++/4.3/iosfwd:47,<br> from /usr/include/c++/4.3/ios:44,<br>
from /usr/include/c++/4.3/istream:45,<br> from /usr/include/c++/4.3/sstream:44,<br> from /usr/include/c++/4.3/complex:52,<br> from /home/olivier/work/dev/lib/InsightToolkit-3.8.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,<br>
from /home/olivier/work/dev/lib/InsightToolkit-3.8.0/Utilities/vxl/vcl/vcl_complex.h:62,<br> 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 'int swprintf(wchar_t*, size_t, const wchar_t*, ...)':<br>/usr/include/bits/wchar2.h:290: error: '__builtin_va_arg_pack' was not declared in this scope<br>/usr/include/bits/wchar2.h:291: error: '__builtin_va_arg_pack' was not declared in this scope<br>
/usr/include/bits/wchar2.h: In function 'int wprintf(const wchar_t*, ...)':<br>/usr/include/bits/wchar2.h:340: error: '__builtin_va_arg_pack' was not declared in this scope<br>/usr/include/bits/wchar2.h: In function 'int fwprintf(__FILE*, const wchar_t*, ...)':<br>
/usr/include/bits/wchar2.h:347: error: '__builtin_va_arg_pack' was not declared in this scope<br>In file included from /usr/include/stdio.h:906,<br> from /usr/include/c++/4.3/cstdio:50,<br> from /usr/include/c++/4.3/bits/char_traits.h:48,<br>
from /usr/include/c++/4.3/ios:46,<br> from /usr/include/c++/4.3/istream:45,<br> from /usr/include/c++/4.3/sstream:44,<br> from /usr/include/c++/4.3/complex:52,<br>
from /home/olivier/work/dev/lib/InsightToolkit-3.8.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,<br> from /home/olivier/work/dev/lib/InsightToolkit-3.8.0/Utilities/vxl/vcl/vcl_complex.h:62,<br>
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 'int sprintf(char*, const char*, ...)':<br>/usr/include/bits/stdio2.h:35: error: '__builtin_va_arg_pack' was not declared in this scope<br>
/usr/include/bits/stdio2.h: In function 'int snprintf(char*, size_t, const char*, ...)':<br>/usr/include/bits/stdio2.h:66: error: '__builtin_va_arg_pack' was not declared in this scope<br>/usr/include/bits/stdio2.h: In function 'int fprintf(FILE*, const char*, ...)':<br>
/usr/include/bits/stdio2.h:99: error: '__builtin_va_arg_pack' was not declared in this scope<br>/usr/include/bits/stdio2.h: In function 'int printf(const char*, ...)':<br>/usr/include/bits/stdio2.h:105: error: '__builtin_va_arg_pack' was not declared in this scope<br>
/usr/include/bits/stdio2.h: In function 'int asprintf(char**, const char*, ...)':<br>/usr/include/bits/stdio2.h:159: error: '__builtin_va_arg_pack' was not declared in this scope<br>/usr/include/bits/stdio2.h: In function 'int __asprintf(char**, const char*, ...)':<br>
/usr/include/bits/stdio2.h:167: error: '__builtin_va_arg_pack' was not declared in this scope<br>/usr/include/bits/stdio2.h: In function 'int dprintf(int, const char*, ...)':<br>/usr/include/bits/stdio2.h:174: error: '__builtin_va_arg_pack' was not declared in this scope<br>
/usr/include/bits/stdio2.h: In function 'int obstack_printf(obstack*, const char*, ...)':<br>/usr/include/bits/stdio2.h:182: error: '__builtin_va_arg_pack' 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>