Hi there,
From a comment on :
http://www.swig.org/Doc1.3/Python.html#Python_nn11 I can see that I should be able to build x86 python extension on my
x86_64 box, right ?
I tried somply setting the -m32 flags of my gcc compiler, but I am getting:
[100%] Building CXX object
Wrapping/Python/CMakeFiles/_gdcm.dir/gdcmPYTHON_wrap.o
In file included from /usr/include/python2.4/Python.h:55,
from
/home/mmalaterre/Projects/gdcm/branches/release-gcc42-m32/Wrapping/Python/gdcmPYTHON_wrap.cxx:140:
/usr/include/python2.4/pyport.h:616:2: error: #error "LONG_BIT
definition appears wrong for platform (bad gcc/glibc config?)."
In file included from
/home/mmalaterre/Projects/gdcm/branches/gdcm-2-0/Source/Common/gdcmTypes.h:19,
from
/home/mmalaterre/Projects/gdcm/branches/release-gcc42-m32/Wrapping/Python/gdcmPYTHON_wrap.cxx:3233:
/home/mmalaterre/Projects/gdcm/branches/release-gcc42-m32/Source/Common/gdcmConfigure.h:96:1:
warning: "HAVE_SNPRINTF" redefined
In file included from /usr/include/python2.4/Python.h:8,
from
/home/mmalaterre/Projects/gdcm/branches/release-gcc42-m32/Wrapping/Python/gdcmPYTHON_wrap.cxx:140:
/usr/include/python2.4/pyconfig.h:433:1: warning: this is the location
of the previous definition
make[2]: *** [Wrapping/Python/CMakeFiles/_gdcm.dir/gdcmPYTHON_wrap.o] Error 1
make[1]: *** [Wrapping/Python/CMakeFiles/_gdcm.dir/all] Error 2
make: *** [all] Error 2
Is there any document on the web, that explain how to do it
correctly ? Or does anyone knows what I should do to fix this issue ?
thanks!
--
Mathieu
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user