[ODE] Boxiangle collision

Nate W coding at natew.com
Fri May 10 02:40:02 2002


On Fri, 3 May 2002, Erwin de Vries wrote:

> Have a look at the trianglecollider in the contrib directory. 

I've been doing exactly that just now, and I have a few questions...


First, any idea what's causing this linker warning?

dTriList.obj : warning LNK4049: locally defined symbol
dcOBBTreeCollider::~dcOBBTreeCollider(void)) imported

There's actually a half-dozen of these for various BBTreeCollider methods.  
I can't figure out where it got the idea that any of them should be an
import.  Any suggestions where to look?


Second, a linker error:  

unresolved external symbol "bool dcOBBTreeCollider::TriBoxOverlap(void)" 
referenced in function "void dcOBBTreeCollider::_CollideTriBox(void)" 

But TriBoxOverlap is defined right above _CollideTriBox, so I figure
it's got no right to complain.  Removing the __forceinline specifier makes
the linker happy, but naturally I'd rather not do that.  Any
suggestions?  Is there a compiler or linker switch I should be using?


Thanks.

-- 

Nate Waddoups
Redmond WA USA
http://www.natew.com