[Insight-users] Python bindig
Olivier Tournaire
olitour at gmail.com
Mon Oct 27 15:37:04 EDT 2008
Hi all,
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 :
[ 24%] wrap_vnl_matrix.xml from
In file included from /usr/include/wchar.h:831,
from /usr/include/c++/4.3/cwchar:52,
from /usr/include/c++/4.3/bits/postypes.h:47,
from /usr/include/c++/4.3/iosfwd:47,
from /usr/include/c++/4.3/ios:44,
from /usr/include/c++/4.3/istream:45,
from /usr/include/c++/4.3/sstream:44,
from /usr/include/c++/4.3/complex:52,
from
/home/olivier/work/dev/lib/InsightToolkit-3.8.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
from
/home/olivier/work/dev/lib/InsightToolkit-3.8.0/Utilities/vxl/vcl/vcl_complex.h:62,
from
/home/olivier/work/dev/lib/InsightToolkit-3.8.0/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17:
/usr/include/bits/wchar2.h: In function 'int swprintf(wchar_t*, size_t,
const wchar_t*, ...)':
/usr/include/bits/wchar2.h:290: error: '__builtin_va_arg_pack' was not
declared in this scope
/usr/include/bits/wchar2.h:291: error: '__builtin_va_arg_pack' was not
declared in this scope
/usr/include/bits/wchar2.h: In function 'int wprintf(const wchar_t*, ...)':
/usr/include/bits/wchar2.h:340: error: '__builtin_va_arg_pack' was not
declared in this scope
/usr/include/bits/wchar2.h: In function 'int fwprintf(__FILE*, const
wchar_t*, ...)':
/usr/include/bits/wchar2.h:347: error: '__builtin_va_arg_pack' was not
declared in this scope
In file included from /usr/include/stdio.h:906,
from /usr/include/c++/4.3/cstdio:50,
from /usr/include/c++/4.3/bits/char_traits.h:48,
from /usr/include/c++/4.3/ios:46,
from /usr/include/c++/4.3/istream:45,
from /usr/include/c++/4.3/sstream:44,
from /usr/include/c++/4.3/complex:52,
from
/home/olivier/work/dev/lib/InsightToolkit-3.8.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
from
/home/olivier/work/dev/lib/InsightToolkit-3.8.0/Utilities/vxl/vcl/vcl_complex.h:62,
from
/home/olivier/work/dev/lib/InsightToolkit-3.8.0/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17:
/usr/include/bits/stdio2.h: In function 'int sprintf(char*, const char*,
...)':
/usr/include/bits/stdio2.h:35: error: '__builtin_va_arg_pack' was not
declared in this scope
/usr/include/bits/stdio2.h: In function 'int snprintf(char*, size_t, const
char*, ...)':
/usr/include/bits/stdio2.h:66: error: '__builtin_va_arg_pack' was not
declared in this scope
/usr/include/bits/stdio2.h: In function 'int fprintf(FILE*, const char*,
...)':
/usr/include/bits/stdio2.h:99: error: '__builtin_va_arg_pack' was not
declared in this scope
/usr/include/bits/stdio2.h: In function 'int printf(const char*, ...)':
/usr/include/bits/stdio2.h:105: error: '__builtin_va_arg_pack' was not
declared in this scope
/usr/include/bits/stdio2.h: In function 'int asprintf(char**, const char*,
...)':
/usr/include/bits/stdio2.h:159: error: '__builtin_va_arg_pack' was not
declared in this scope
/usr/include/bits/stdio2.h: In function 'int __asprintf(char**, const char*,
...)':
/usr/include/bits/stdio2.h:167: error: '__builtin_va_arg_pack' was not
declared in this scope
/usr/include/bits/stdio2.h: In function 'int dprintf(int, const char*,
...)':
/usr/include/bits/stdio2.h:174: error: '__builtin_va_arg_pack' was not
declared in this scope
/usr/include/bits/stdio2.h: In function 'int obstack_printf(obstack*, const
char*, ...)':
/usr/include/bits/stdio2.h:182: error: '__builtin_va_arg_pack' was not
declared in this scope
make[2]: *** [Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.xml] Erreur 1
make[1]: ***
[Wrapping/CSwig/VXLNumerics/CMakeFiles/_VXLNumericsPython.dir/all] Erreur 2
make: *** [all] Erreur 2
I am running an ubuntu, with gcc 4.3.2, cmake 2.6.2, ITK 3.8.0, python 2.5.
Do you have any idea ?
Best regards
Olivier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081027/c4a9e3c2/attachment.htm>
More information about the Insight-users
mailing list