hey there!
first of all: thank you for creating this framework! it seems to be pretty useful! 🙂
i tried to use your stuff in visual studio 6.0. i created an empty console application and inserted your "hello world"-code. i set the include path to your box2d-include directory, but when i try to compile i get a load of errors - all located in b2math.h:
any insights would be helpful! 🙂
first of all: thank you for creating this framework! it seems to be pretty useful! 🙂
i tried to use your stuff in visual studio 6.0. i created an empty console application and inserted your "hello world"-code. i set the include path to your box2d-include directory, but when i try to compile i get a load of errors - all located in b2math.h:
Quote:
d:\silver\zodiac\box2d_v1.4.2\box2d\source\common\b2math.h(276) : error C2782: 'T __cdecl b2Min(T,T)' : template parameter 'T' is ambiguous
could be 'struct b2Vec2'
or 'const struct b2Vec2 &'
d:\silver\zodiac\box2d_v1.4.2\box2d\source\common\b2math.h(276) : error C2785: 'T __cdecl b2Min(T,T)' and 'struct b2Vec2 __cdecl b2Min(const struct b2Vec2 &,const struct b2Vec2 &)' have different return types
d:\silver\zodiac\box2d_v1.4.2\box2d\source\common\b2math.h(270) : see declaration of 'b2Min'
d:\silver\zodiac\box2d_v1.4.2\box2d\source\common\b2math.h(290) : error C2782: 'T __cdecl b2Max(T,T)' : template parameter 'T' is ambiguous
could be 'struct b2Vec2'
or 'const struct b2Vec2 &'
d:\silver\zodiac\box2d_v1.4.2\box2d\source\common\b2math.h(290) : error C2785: 'T __cdecl b2Max(T,T)' and 'struct b2Vec2 __cdecl b2Max(const struct b2Vec2 &,const struct b2Vec2 &)' have different return types
d:\silver\zodiac\box2d_v1.4.2\box2d\source\common\b2math.h(284) : see declaration of 'b2Max'
d:\silver\zodiac\box2d_v1.4.2\box2d\source\common\b2math.h(304) : error C2782: 'T __cdecl b2Clamp(T,T,T)' : template parameter 'T' is ambiguous
could be 'struct b2Vec2'
or 'const struct b2Vec2 &'
d:\silver\zodiac\box2d_v1.4.2\box2d\source\common\b2math.h(304) : error C2785: 'T __cdecl b2Clamp(T,T,T)' and 'struct b2Vec2 __cdecl b2Clamp(const struct b2Vec2 &,const struct b2Vec2 &,const struct b2Vec2 &)' have different return types
d:\silver\zodiac\box2d_v1.4.2\box2d\source\common\b2math.h(298) : see declaration of 'b2Clamp'
could be 'struct b2Vec2'
or 'const struct b2Vec2 &'
d:\silver\zodiac\box2d_v1.4.2\box2d\source\common\b2math.h(276) : error C2785: 'T __cdecl b2Min(T,T)' and 'struct b2Vec2 __cdecl b2Min(const struct b2Vec2 &,const struct b2Vec2 &)' have different return types
d:\silver\zodiac\box2d_v1.4.2\box2d\source\common\b2math.h(270) : see declaration of 'b2Min'
d:\silver\zodiac\box2d_v1.4.2\box2d\source\common\b2math.h(290) : error C2782: 'T __cdecl b2Max(T,T)' : template parameter 'T' is ambiguous
could be 'struct b2Vec2'
or 'const struct b2Vec2 &'
d:\silver\zodiac\box2d_v1.4.2\box2d\source\common\b2math.h(290) : error C2785: 'T __cdecl b2Max(T,T)' and 'struct b2Vec2 __cdecl b2Max(const struct b2Vec2 &,const struct b2Vec2 &)' have different return types
d:\silver\zodiac\box2d_v1.4.2\box2d\source\common\b2math.h(284) : see declaration of 'b2Max'
d:\silver\zodiac\box2d_v1.4.2\box2d\source\common\b2math.h(304) : error C2782: 'T __cdecl b2Clamp(T,T,T)' : template parameter 'T' is ambiguous
could be 'struct b2Vec2'
or 'const struct b2Vec2 &'
d:\silver\zodiac\box2d_v1.4.2\box2d\source\common\b2math.h(304) : error C2785: 'T __cdecl b2Clamp(T,T,T)' and 'struct b2Vec2 __cdecl b2Clamp(const struct b2Vec2 &,const struct b2Vec2 &,const struct b2Vec2 &)' have different return types
d:\silver\zodiac\box2d_v1.4.2\box2d\source\common\b2math.h(298) : see declaration of 'b2Clamp'
any insights would be helpful! 🙂