A trivial Python SWIG error question
- by Alex
I am trying to get Python running with swig to do C/C++. I am running the tutorial here, 'building a python module'. When I do the call
gcc -c example.c example_wrap.c -I /my_correct_path/python2.5
I get an error:
my_correct_path/python2.5/pyport.h:761:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."…