lianlab / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

undefined references on CellSpuDemo ibmsdk #149

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
make -C src/ibmsdk && make -C src/BulletMultiThreaded/ -f Makefile.original
spu ppu  && make -C Demos/CellSpuDemo/ibmsdk/

What is the expected output? What do you see instead?
Working CellSpuDemo binary.

What I'm seeing:
/usr/bin/ccache /usr/bin/g++ -o BasicDemo2  BasicDemo2.o     
-L/opt/cell/sdk/usr/lib -R/opt/cell/sdk/usr/lib  -m32 -Wl,-m,elf32ppc
../../../lib/ibmsdk/bulletmultithreaded.a
../../../lib/ibmsdk/bulletdynamics.a ../../../lib/ibmsdk/bulletcollision.a
../../../lib/ibmsdk/bulletmath.a -lspe2  -lm  
BasicDemo2.o: In function `BasicDemo::clientMoveAndDisplay()':
BasicDemo2.cpp:(.text+0x44e): undefined reference to `gTotalContactPoints'
BasicDemo2.cpp:(.text+0x476): undefined reference to `gTotalContactPoints'
BasicDemo2.cpp:(.text+0x492): undefined reference to `gTotalContactPoints'
../../../lib/ibmsdk/bulletcollision.a(btCompoundCollisionAlgorithm.o): In
function
`btCompoundCollisionAlgorithm::btCompoundCollisionAlgorithm(btCollisionAlgorithm
ConstructionInfo
const&, btCollisionObject*, btCollisionObject*, bool)':
btCompoundCollisionAlgorithm.cpp:(.text+0x5c): undefined reference to
`btActivatingCollisionAlgorithm::btActivatingCollisionAlgorithm(btCollisionAlgor
ithmConstructionInfo
const&, btCollisionObject*, btCollisionObject*)'

What version of the product are you using? On what operating system?
svn rev. 1539

Original issue reported on code.google.com by pinhighw...@googlemail.com on 26 Nov 2008 at 10:35

GoogleCodeExporter commented 9 years ago
This patch adds the missing object file to the list of objects.

Original comment by pinhighw...@googlemail.com on 26 Nov 2008 at 10:45

Attachments:

GoogleCodeExporter commented 9 years ago
please check trunk revision 1540,

http://code.google.com/p/bullet/source/detail?r=1540

Original comment by erwin.coumans on 26 Nov 2008 at 7:45

GoogleCodeExporter commented 9 years ago
Yes, it works now, thanks.

Original comment by pinhighw...@googlemail.com on 1 Dec 2008 at 3:12