You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. cmake -G "Unix Makefiles"
2. make
What is the expected output? What do you see instead?
The error is below:
~/Box2D_v2.3.0/Box2D/Testbed/Framework/Test.h:38:24: error:
no member named 'rand' in namespace 'std'; did you mean simply 'rand'?
What version of the product are you using? On what operating system?
Box2D_v2.3.0
On OS X 10.9.5
g++ 4.2.1 Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Please provide any additional information below.
In Box2D/Testbed/Framework/Test.h L25, replace
#include <stdlib.h>
into
#include <cstdlib>
it works.
Original issue reported on code.google.com by Ryogo.Yo...@gmail.com on 28 Feb 2015 at 3:20
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
Ryogo.Yo...@gmail.com
on 28 Feb 2015 at 3:20The text was updated successfully, but these errors were encountered: