just like
"error in cl_platform.h with MinGW"
http://bulletphysics.org/Bullet/phpBB3/ ... f=9&t=4710
not compile when using mingw
at file Extras\Serialize\BulletFileLoader\bChunk.h
near line 20
#ifdef _WIN32
#define long64 __int64
#else
#define long64 long long
#endif
I replace it with
#if defined (_WIN32) && ! defined (__MINGW32__)
#define long64 __int64
#elif defined (__MINGW32__)
#include <stdint.h>
#define long64 int64_t
#else
#define long64 long long
#endif
and it works
error in bChunk.h with MinGW
-
Erwin Coumans
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: error in bChunk.h with MinGW
We don't test using MinGW but are happy to apply this fix to make it work: applied in latest trunk.
Thanks for the feedback!
Erwin
Thanks for the feedback!
Erwin