Error at compiling bullet in Visual C 6.0

mitikoro
Posts: 3
Joined: Mon Jul 14, 2008 12:24 pm

Error at compiling bullet in Visual C 6.0

Post by mitikoro »

I was trying to compile Bullet 2.69 in Visual C 6.0 using the workspace files at msvc/6.
Every program i try to compile i get mainly this error : "size_t is not a member of std"
Thanks.
sparkprime
Posts: 508
Joined: Fri May 30, 2008 2:51 am
Location: Ossining, New York

Re: Error at compiling bullet in Visual C 6.0

Post by sparkprime »

I dunno about bullet but I think most people don't even try writing code for that incredibly broken compiler. More recent incarnations are much more reliable.

Alternatively you could try changing line 283 of btCollisionDispatcher.cpp to use size_t instead of std::size_t but that's just guesswork.
mitikoro
Posts: 3
Joined: Mon Jul 14, 2008 12:24 pm

Re: Error at compiling bullet in Visual C 6.0

Post by mitikoro »

well, i fixed that error, but i get 2 new errors :
" first formal parameter to 'operator new' must be 'unsigned int' "
" 'new' : error in function declaration; skipping function body "

thanks. by the way, i'll update to a new compiler sooner.
mitikoro
Posts: 3
Joined: Mon Jul 14, 2008 12:24 pm

Re: Error at compiling bullet in Visual C 6.0

Post by mitikoro »

sorry for double posting. i only want to tell you that i fixed the problem ( i updated my compiler ).
thanks for the answers and for the library
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Error at compiling bullet in Visual C 6.0

Post by Erwin Coumans »

The source code is updated so it compiles with MSVC 6.0 again. Upcoming Bullet 2.70 should compile fine with this older compiler.

http://code.google.com/p/bullet/source/detail?r=1205

Thanks for the feedback,
Erwin
zthom
Posts: 1
Joined: Wed Jul 23, 2008 8:02 am

Re: Error at compiling bullet in Visual C 6.0

Post by zthom »

I have the same problem. I have Visual Studio 6.0 and 7.0 and I can't compile demos and engine.