I download box2d 2.0.1,and "make"
It jump out an error,
Quote:
Dynamics/Contacts/b2PolyContact.cpp:53: error: ‘memcpy’ was not declared in this scope
So i looking into the include chain and add an include
Code:
#include <cstring>
in the common/b2math.h
and make again
the previous error have passed,but then another error jump out
Quote:
Common/b2BlockAllocator.cpp:202: error: ‘memset’ was not declared in this scope
again i add an include
Code:
#include <cstring>
in the Common/b2BlockAllocator.h
then everything is OK and build an static library and the example application(Both with fixed and float)
So,is that a bug?
That someone forgot to include <cstring>

===================================
By the way,the project file for the codeblock(workspace,cbp) in the build directory does't work too(under linux).
It seems that is did not include all the necessary files that should be included in this project.
So the build process got many error message like "undeclared XXX" something like that.