Hi Erwin,
'rand' is used in btsoftbody.cpp without definition.
stdlib.h defines 'rand'.
I don't know why some compilers know this by default. Well, some don't
Could you please include <stdlib.h> at top of btsoftbody.cpp?
Thanks
#include <stdlib.h> missing in btsoftbody.cpp
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: #include <stdlib.h> missing in btsoftbody.cpp
We will fix those two includes, as suggested, and replace rand by btRand.
Thanks for the feedback!
Erwin
Thanks for the feedback!
Erwin