#39 Bullet compile fails on Linux

closed-accepted
Andy
5
2009-12-05
2009-12-04
dermont
No

@andy,

For me the Linux bullet compile still fails:

g++ -o build_dir_2.6/bullet_2.75/btDbvtBroadphase.pypp.os -c `pkg-config --cflags OGRE` -I -O3 -I./ -DBOOST_PYTHON_MAX_ARITY=19 -DBOOST_PYTHON_NO_PY_SIGNATURES -I/media/sda7/Libraries/PYTHON/python-ogre/generated/bullet_2.75 -D"NDEBUG" -D"_CONSOLE" -D"_MBCS" -fPIC -I/usr/local/include/boost -I/media/sda7/Libraries/Physics/bullet-2.75/src -I/usr/include/python2.6 -I/usr/local/include/boost generated/bullet_2.75/btDbvtBroadphase.pypp.cpp
In file included from /media/sda7/Libraries/Physics/bullet-2.75/src/BulletCollision/BroadphaseCollision/btAxisSweep3.h:27,
from /media/sda7/Libraries/Physics/bullet-2.75/src/btBulletCollisionCommon.h:54,
from /media/sda7/Libraries/Physics/bullet-2.75/src/btBulletDynamicsCommon.h:20,
from generated/bullet_2.75/btDbvtBroadphase.pypp.cpp:5:
/media/sda7/Libraries/Physics/bullet-2.75/src/BulletCollision/BroadphaseCollision/btDbvt.h: In copy constructor ‘btDbvtBroadphase::btDbvtBroadphase(const btDbvtBroadphase&)’:
/media/sda7/Libraries/Physics/bullet-2.75/src/BulletCollision/BroadphaseCollision/btDbvt.h:384: error: ‘btDbvt::btDbvt(const btDbvt&)’ is private
/media/sda7/Libraries/Physics/bullet-2.75/src/BulletCollision/BroadphaseCollision/btDbvtBroadphase.h:63: error: within this context
generated/bullet_2.75/btDbvtBroadphase.pypp.cpp: In constructor ‘btDbvtBroadphase_wrapper::btDbvtBroadphase_wrapper(const btDbvtBroadphase&)’:
generated/bullet_2.75/btDbvtBroadphase.pypp.cpp:26: note: synthesized method ‘btDbvtBroadphase::btDbvtBroadphase(const btDbvtBroadphase&)’ first required here
scons: *** [build_dir_2.6/bullet_2.75/btDbvtBroadphase.pypp.os] Error 1
scons: building terminated because of errors.

Attached below is the patch mentioned in the following thread:
http://www.ogre3d.org/addonforums/viewtopic.php?f=3&t=5558&start=15

As a side note I don't think that libBulletMultiThreaded is built on 64-bit machines. I may be wrong.

Discussion

  • dermont
    dermont
    2009-12-04

     
    Attachments
  • Andy
    Andy
    2009-12-05

    • assigned_to: nobody --> andy_miller
    • status: open --> closed-accepted
     
  • Andy
    Andy
    2009-12-05

    Thanks for this -- SVN updated