Bullet 2.69 Compilation with VC6

Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
Post Reply
GavRo
Posts: 32
Joined: Fri Dec 29, 2006 12:15 am

Bullet 2.69 Compilation with VC6

Post by GavRo »

Well, the title should say it all. I'm trying to compile the Bullet Physics Engine version 2.69 in MSVC6. The bullet math library compiles fine, but the dynamics and the collision libraries don't giving me some error about how:

..\..\src\BulletCollision/BroadphaseCollision/btBroadphaseProxy.h(72) : error C2039: 'size_t' : is not a member of 'std'

in almost every file. I've noticed how the compiler points me to this line:
BT_DECLARE_ALIGNED_ALLOCATOR();

Has anyone else had this problem, and if so have you solved it? If so, can you post the solution.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

You can't Google the top hit for 'size_t' : is not a member of 'std' ?

Suggestions:

1) Use a compiler from this millennium. VC Express 2008 is freely available.

2) Use different std headers than the ones that come with VC6. That's probably more work than changing compiler.

3) Modify the source, removing the std:: qualifier where necessary. Again, it would be easier to just use a more standard compliant compiler.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Post Reply