module compiled with swig not found by python
- by openbas
Hello,
I've a problem with SWIG and python. I've a c-class that compiles correctly, but the python script says it can't find the module.
I compile with:
swig -c++ -python codes/codes.i
g++ -c -Wall -O4 -fPIC -pedantic codes/*.cc
g++ -I/usr/include/python2.6 -shared codes/codes_wrap.cxx *.o -o _codes.so
This gives me a _codes.so file, as I…