[ODE] trimesh test doesn't work?
James Lewis
t3ki at hotmail.com
Fri Apr 9 01:59:43 MST 2004
maybe I'm an idiot and I'm missing something simple, but I cannot for the
life of me get this to work... I just want to compile the trimesh test
code. I followed the install instructions for ode and OPCODE, compiled,
changed the config file, etc... But to no avail...
make all-recursive
make[1]: Entering directory `/home/james/test_trimesh'
Making all in src
make[2]: Entering directory `/home/james/test_trimesh/src'
/bin/sh ../libtool --mode=link g++ -g -O2 -L/usr/local/lib -lOgreMain
-L/usr/local/lib -lode -o test_trimesh test_trimesh.o
g++ -g -O2 -o test_trimesh test_trimesh.o -L/usr/local/lib
/usr/local/lib/libOgreMain.so /usr/lib/libfreetype.so -lCg -lpthread
/usr/local/lib/libILU.so -L/usr/src/redhat/SOURCES/DevIL/src-IL/src
/usr/local/lib/libIL.so -lpng -ltiff /usr/lib/libmng.so /usr/lib/libjpeg.so
-lz -lm -ldl -lode -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
-Wl,/usr/local/lib
test_trimesh.o(.text+0x1ae): In function `nearCallback':
/home/james/test_trimesh/src/test_trimesh.cpp:106: undefined reference to
`dsDrawBox'
test_trimesh.o(.text+0x1d6):/home/james/test_trimesh/src/test_trimesh.cpp:110:
undefined reference to `dsDrawSphere'
test_trimesh.o(.text+0x256):/home/james/test_trimesh/src/test_trimesh.cpp:118:
undefined reference to `dsDrawLine'
test_trimesh.o(.text+0x271): In function `start':
/home/james/test_trimesh/src/test_trimesh.cpp:136: undefined reference to
`dsSetViewpoint'
test_trimesh.o(.text+0xbef): In function `drawGeom(dxGeom*, float const*,
float const*, int)':
/home/james/test_trimesh/src/test_trimesh.cpp:370: undefined reference to
`dsSetColorAlpha'
test_trimesh.o(.text+0xc03):/home/james/test_trimesh/src/test_trimesh.cpp:371:
undefined reference to `dsDrawBox'
test_trimesh.o(.text+0xdd6):/home/james/test_trimesh/src/test_trimesh.cpp:336:
undefined reference to `dsDrawCappedCylinder'
test_trimesh.o(.text+0xdf7):/home/james/test_trimesh/src/test_trimesh.cpp:331:
undefined reference to `dsDrawSphere'
test_trimesh.o(.text+0xe16):/home/james/test_trimesh/src/test_trimesh.cpp:328:
undefined reference to `dsDrawBox'
test_trimesh.o(.text+0xe5e): In function `simLoop':
/home/james/test_trimesh/src/test_trimesh.cpp:380: undefined reference to
`dsSetColor'
test_trimesh.o(.text+0xea1):/home/james/test_trimesh/src/test_trimesh.cpp:388:
undefined reference to `dsSetColor'
test_trimesh.o(.text+0xead):/home/james/test_trimesh/src/test_trimesh.cpp:389:
undefined reference to `dsSetTexture'
test_trimesh.o(.text+0xef7):/home/james/test_trimesh/src/test_trimesh.cpp:396:
undefined reference to `dsSetColor'
test_trimesh.o(.text+0xf59):/home/james/test_trimesh/src/test_trimesh.cpp:407:
undefined reference to `dsDrawLine'
test_trimesh.o(.text+0xfcc):/home/james/test_trimesh/src/test_trimesh.cpp:423:
undefined reference to `dsDrawLine'
test_trimesh.o(.text+0x1257): In function `main':
/home/james/test_trimesh/src/test_trimesh.cpp:511: undefined reference to
`dsSimulationLoop'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0xd): In function
`dxTriMeshData::dxTriMeshData[not-in-charge]()':
: undefined reference to `Opcode::Model::Model[in-charge]()'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x15): In function
`dxTriMeshData::dxTriMeshData[not-in-charge]()':
: undefined reference to `Opcode::MeshInterface::MeshInterface[in-charge]()'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x2d): In function
`dxTriMeshData::dxTriMeshData[in-charge]()':
: undefined reference to `Opcode::Model::Model[in-charge]()'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x35): In function
`dxTriMeshData::dxTriMeshData[in-charge]()':
: undefined reference to `Opcode::MeshInterface::MeshInterface[in-charge]()'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x4d): In function
`dxTriMeshData::~dxTriMeshData [not-in-charge]()':
: undefined reference to `Opcode::MeshInterface::~MeshInterface
[in-charge]()'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x55): In function
`dxTriMeshData::~dxTriMeshData [not-in-charge]()':
: undefined reference to `Opcode::Model::~Model [in-charge]()'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x6d): In function
`dxTriMeshData::~dxTriMeshData [in-charge]()':
: undefined reference to `Opcode::MeshInterface::~MeshInterface
[in-charge]()'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x75): In function
`dxTriMeshData::~dxTriMeshData [in-charge]()':
: undefined reference to `Opcode::Model::~Model [in-charge]()'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0xbd): In function
`dxTriMeshData::Build(void const*, int, int, void const*, int, int)':
: undefined reference to
`Opcode::MeshInterface::SetPointers(IceMaths::IndexedTriangle const*,
IceMaths::Point const*)'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0xce): In function
`dxTriMeshData::Build(void const*, int, int, void const*, int, int)':
: undefined reference to `Opcode::MeshInterface::SetStrides(unsigned,
unsigned)'/usr/local/lib/libode.a(collision_trimesh.o)(.text+0xe9): In
function `dxTriMeshData::Build(void const*, int, int, void const*, int,
int)':
: undefined reference to `Opcode::OPCODECREATE::OPCODECREATE[in-charge]()'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x11a): In function
`dxTriMeshData::Build(void const*, int, int, void const*, int, int)':
: undefined reference to `Opcode::Model::Build(Opcode::OPCODECREATE const&)'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x592): In function
`__static_initialization_and_destruction_0(int, int)':
: undefined reference to
`Opcode::PlanesCollider::PlanesCollider[in-charge]()'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x5bb): In function
`__static_initialization_and_destruction_0(int, int)':
: undefined reference to
`Opcode::SphereCollider::SphereCollider[in-charge]()'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x5e4): In function
`__static_initialization_and_destruction_0(int, int)':
: undefined reference to `Opcode::OBBCollider::OBBCollider[in-charge]()'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x611): In function
`__static_initialization_and_destruction_0(int, int)':
: undefined reference to `Opcode::RayCollider::RayCollider[in-charge]()'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x63e): In function
`__static_initialization_and_destruction_0(int, int)':
: undefined reference to
`Opcode::AABBTreeCollider::AABBTreeCollider[in-charge]()'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x669): In function
`__static_initialization_and_destruction_0(int, int)':
: undefined reference to `IceCore::Container::Container[not-in-charge]()'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x6e5): In function
`__tcf_5':
: undefined reference to `IceCore::Container::~Container [not-in-charge]()'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x695): In function
`__tcf_0':
: undefined reference to `Opcode::PlanesCollider::~PlanesCollider
[in-charge]()'/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x6a5): In
function `__tcf_1':
: undefined reference to `Opcode::SphereCollider::~SphereCollider
[in-charge]()'/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x6b5): In
function `__tcf_2':
: undefined reference to `Opcode::OBBCollider::~OBBCollider [in-charge]()'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x6c5): In function
`__tcf_3':
: undefined reference to `Opcode::RayCollider::~RayCollider [in-charge]()'
/usr/local/lib/libode.a(collision_trimesh.o)(.text+0x6d5): In function
`__tcf_4':
: undefined reference to `Opcode::AABBTreeCollider::~AABBTreeCollider
[in-charge]()'
/usr/local/lib/libode.a(collision_trimesh_sphere.o)(.text+0x6e2): In
function `dCollideSTL(dxGeom*, dxGeom*, int, dContactGeom*, int)':
: undefined reference to
`Opcode::SphereCollider::Collide(Opcode::SphereCache&, IceMaths::Sphere
const&, Opcode::Model const&, IceMaths::Matrix4x4 const*,
IceMaths::Matrix4x4 const*)'
/usr/local/lib/libode.a(collision_trimesh_sphere.o)(.text+0xb6b): In
function `dCollideSTL(dxGeom*, dxGeom*, int, dContactGeom*, int)':
: undefined reference to `IceCore::Container::Container[in-charge]()'
/usr/local/lib/libode.a(collision_trimesh_sphere.o)(.text+0xbed): In
function `dCollideSTL(dxGeom*, dxGeom*, int, dContactGeom*, int)':
: undefined reference to `IceCore::Container::~Container [in-charge]()'
/usr/local/lib/libode.a(collision_trimesh_box.o)(.text+0xb0e): In function
`dCollideBTL(dxGeom*, dxGeom*, int, dContactGeom*, int)':
: undefined reference to `IceMaths::InvertPRMatrix(IceMaths::Matrix4x4&,
IceMaths::Matrix4x4 const&)'
/usr/local/lib/libode.a(collision_trimesh_box.o)(.text+0xc26): In function
`dCollideBTL(dxGeom*, dxGeom*, int, dContactGeom*, int)':
: undefined reference to `Opcode::OBBCollider::Collide(Opcode::OBBCache&,
IceMaths::OBB const&, Opcode::Model const&, IceMaths::Matrix4x4 const*,
IceMaths::Matrix4x4 const*)'
/usr/local/lib/libode.a(collision_trimesh_box.o)(.text+0x1436): In function
`dCollideBTL(dxGeom*, dxGeom*, int, dContactGeom*, int)':
: undefined reference to `IceCore::Container::Container[in-charge]()'
/usr/local/lib/libode.a(collision_trimesh_box.o)(.text+0x14f4): In function
`dCollideBTL(dxGeom*, dxGeom*, int, dContactGeom*, int)':
: undefined reference to `IceCore::Container::~Container [in-charge]()'
/usr/local/lib/libode.a(collision_trimesh_ray.o)(.text+0x1b2): In function
`dCollideRTL(dxGeom*, dxGeom*, int, dContactGeom*, int)':
: undefined reference to `Opcode::RayCollider::Collide(IceMaths::Ray const&,
Opcode::Model const&, IceMaths::Matrix4x4 const*, unsigned*)'
collect2: ld returned 1 exit status
make[2]: *** [test_trimesh] Error 1
make[2]: Leaving directory `/home/james/test_trimesh/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/james/test_trimesh'
make: *** [all] Error 2
_________________________________________________________________
Free up your inbox with MSN Hotmail Extra Storage! Multiple plans available.
http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/direct/01/
More information about the ODE
mailing list