Please help me on this one. I'll appreciate it so much! I'm new to Box2D and I've read a lot about it and it seems an awesome Physics engine that I would like to start learning and using.
I want to start with some basics, but when I got to the installation I got stuck. I've been trying for a week, and slowly losing hope, searching online and in these forums, but it doesn't seem that anyone else is having the same problem. I followed the instructions from the folder of Box2D, the installation goes well but it gets stuck at 98% as can be seen below:
151 warnings generated.
[ 98%] Building CXX object Testbed/CMakeFiles/Testbed.dir/Framework/Main.cpp.o
In file included from /Users/Owen/Applications/Box2D_v2.3.0/Box2d/Testbed/Framework/Main.cpp:20:
/Users/Owen/Applications/Box2D_v2.3.0/Box2d/Testbed/Framework/Test.h:38:24: error:
no member named 'rand' in namespace 'std'; did you mean simply 'rand'?
float32 r = (float32)(std::rand() & (RAND_LIMIT));
^~~~~~~~~
rand
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/stdlib.h:159:6: note:
'rand' declared here
int rand(void);
^
In file included from /Users/Owen/Applications/Box2D_v2.3.0/Box2d/Testbed/Framework/Main.cpp:20:
/Users/Owen/Applications/Box2D_v2.3.0/Box2d/Testbed/Framework/Test.h:47:24: error:
no member named 'rand' in namespace 'std'; did you mean simply 'rand'?
float32 r = (float32)(std::rand() & (RAND_LIMIT));
^~~~~~~~~
rand
From the research I did it looks like X11 is not available anymore on 10.9 and could affect Box2D.. And a lot of 'deprecated in OSX 10.9' warnings during installation as well.
1) Is anyone else having any problems installing Box2D on OSX 10.9.2? Tell me if its just my machine
2) Do you know if this has been already answered? Please redirect me to it
Thanks a lot!
I want to start with some basics, but when I got to the installation I got stuck. I've been trying for a week, and slowly losing hope, searching online and in these forums, but it doesn't seem that anyone else is having the same problem. I followed the instructions from the folder of Box2D, the installation goes well but it gets stuck at 98% as can be seen below:
151 warnings generated.
[ 98%] Building CXX object Testbed/CMakeFiles/Testbed.dir/Framework/Main.cpp.o
In file included from /Users/Owen/Applications/Box2D_v2.3.0/Box2d/Testbed/Framework/Main.cpp:20:
/Users/Owen/Applications/Box2D_v2.3.0/Box2d/Testbed/Framework/Test.h:38:24: error:
no member named 'rand' in namespace 'std'; did you mean simply 'rand'?
float32 r = (float32)(std::rand() & (RAND_LIMIT));
^~~~~~~~~
rand
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/stdlib.h:159:6: note:
'rand' declared here
int rand(void);
^
In file included from /Users/Owen/Applications/Box2D_v2.3.0/Box2d/Testbed/Framework/Main.cpp:20:
/Users/Owen/Applications/Box2D_v2.3.0/Box2d/Testbed/Framework/Test.h:47:24: error:
no member named 'rand' in namespace 'std'; did you mean simply 'rand'?
float32 r = (float32)(std::rand() & (RAND_LIMIT));
^~~~~~~~~
rand
From the research I did it looks like X11 is not available anymore on 10.9 and could affect Box2D.. And a lot of 'deprecated in OSX 10.9' warnings during installation as well.
1) Is anyone else having any problems installing Box2D on OSX 10.9.2? Tell me if its just my machine
2) Do you know if this has been already answered? Please redirect me to it
Thanks a lot!