seems like projects in visual studio 6.0 don't compile if there are functions with the same name in a class.
i don't know if this is the best way, but i just replaced a few things in b2math.h
Quote:
inline b2Vec2 b2Max(const b2Vec2& a, const b2Vec2& b)
inline b2Vec2 b2Min(const b2Vec2& a, const b2Vec2& b)
inline b2Vec2 b2Clamp(const b2Vec2& a, const b2Vec2& low, const b2Vec2& high)
became
Quote:
inline b2Vec2 b2MaxVec(const b2Vec2& a, const b2Vec2& b)
inline b2Vec2 b2MinVec(const b2Vec2& a, const b2Vec2& b)
inline b2Vec2 b2ClampVec(const b2Vec2& a, const b2Vec2& low, const b2Vec2& high)
(of course i edited all calls using inline-functions with b2vec2-objects)
now it compiles, but i guess i'm still missing some .lib-files, because now i get unresolved externals on the b2world-object...