Comment 1 for bug 1171704

Revision history for this message
jozzas (jozzas) wrote :

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?