I should probably mention the build command that I issue and the result:
python setup.py build_ext --include-dirs /home/path-to-bullet/bullet-2.81-rev2613/src/ --library-dirs /usr/local/lib
running build_ext
skipping 'bullet/bullet.cpp' Cython extension (up-to-date)
building 'bullet.bullet' extension
creating build/temp.linux-x86_64-2.6
creating build/temp.linux-x86_64-2.6/bullet
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/home/lyonj/Downloads/bullet-2.81-rev2613/src/ -I/usr/include/python2.6 -c bullet/bullet.cpp -o build/temp.linux-x86_64-2.6/bullet/bullet.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
bullet/bullet.cpp: In function ‘PHY_ScalarType __pyx_f_6bullet_6bullet_11IndexedMesh__dtypeToScalarType(__pyx_obj_6bullet_6bullet_IndexedMesh*, PyArrayObject*)’:
bullet/bullet.cpp:4756: warning: ‘__pyx_r’ may be used uninitialized in this function
/usr/include/python2.6/numpy/__multiarray_api.h: At global scope:
/usr/include/python2.6/numpy/__multiarray_api.h:968: warning: ‘int _import_array()’ defined but not used
/usr/include/python2.6/numpy/__ufunc_api.h:182: warning: ‘int _import_umath()’ defined but not used
creating build/lib.linux-x86_64-2.6
creating build/lib.linux-x86_64-2.6/bullet
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.6/bullet/bullet.o -L/usr/local/lib -lBulletSoftBody -lBulletDynamics -lBulletCollision -lLinearMath -o build/lib.linux-x86_64-2.6/bullet/bullet.so
Seems to build and link okay, but maybe the linking isn't working?
I should probably mention the build command that I issue and the result:
python setup.py build_ext --include-dirs /home/path- to-bullet/ bullet- 2.81-rev2613/ src/ --library-dirs /usr/local/lib linux-x86_ 64-2.6 linux-x86_ 64-2.6/ bullet aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/home/ lyonj/Downloads /bullet- 2.81-rev2613/ src/ -I/usr/ include/ python2. 6 -c bullet/bullet.cpp -o build/temp. linux-x86_ 64-2.6/ bullet/ bullet. o prototypes" is valid for Ada/C/ObjC but not for C++ 6bullet_ 6bullet_ 11IndexedMesh_ _dtypeToScalarT ype(__pyx_ obj_6bullet_ 6bullet_ IndexedMesh* , PyArrayObject*)’: bullet. cpp:4756: warning: ‘__pyx_r’ may be used uninitialized in this function python2. 6/numpy/ __multiarray_ api.h: At global scope: python2. 6/numpy/ __multiarray_ api.h:968: warning: ‘int _import_array()’ defined but not used python2. 6/numpy/ __ufunc_ api.h:182: warning: ‘int _import_umath()’ defined but not used linux-x86_ 64-2.6 linux-x86_ 64-2.6/ bullet functions build/temp. linux-x86_ 64-2.6/ bullet/ bullet. o -L/usr/local/lib -lBulletSoftBody -lBulletDynamics -lBulletCollision -lLinearMath -o build/lib. linux-x86_ 64-2.6/ bullet/ bullet. so
running build_ext
skipping 'bullet/bullet.cpp' Cython extension (up-to-date)
building 'bullet.bullet' extension
creating build/temp.
creating build/temp.
gcc -pthread -fno-strict-
cc1plus: warning: command line option "-Wstrict-
bullet/bullet.cpp: In function ‘PHY_ScalarType __pyx_f_
bullet/
/usr/include/
/usr/include/
/usr/include/
creating build/lib.
creating build/lib.
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-
Seems to build and link okay, but maybe the linking isn't working?