can't build Testbed

I can't seem to build the Testbed.

In Test.cpp, I get a compiler error complaining about m_pointCount in b2Manifold.
Why was this moved to build Issues? Isn't it a bug in Box2d?
Build issues are rarely bugs. They are typically problems specific to one's environment and you haven't given enough information for me to know if this is a bug or not.

Please provide more information to help us solve your problem:

- what was the specific compilation error?
- what version of Box2D are you compiling?
- what compiler are you using?
How do you tell which version you have?

Here are the errors I get. I'm using GCC with Code::Blocks 10.05
||=== TestBed, Debug ===|
C:\ActiveProjects\Downloads\Box2d_testsvn\Contributions\Examples\TestBed\Framework\Test.h||In constructor 'Settings::Settings()':|
C:\ActiveProjects\Downloads\Box2d_testsvn\Contributions\Examples\TestBed\Framework\Test.h|87|warning: 'Settings::drawStats' will be initialized after|
C:\ActiveProjects\Downloads\Box2d_testsvn\Contributions\Examples\TestBed\Framework\Test.h|78|warning: 'int32 Settings::drawShapes'|
C:\ActiveProjects\Downloads\Box2d_testsvn\Contributions\Examples\TestBed\Framework\Test.h|55|warning: when initialized here|
C:\ActiveProjects\Downloads\Box2d_testsvn\Contributions\Examples\TestBed\Framework\Test.cpp||In member function 'virtual void Test::PreSolve(b2Contact*, const b2Manifold*)':|
C:\ActiveProjects\Downloads\Box2d_testsvn\Contributions\Examples\TestBed\Framework\Test.cpp|73|error: 'const struct b2Manifold' has no member named 'm_pointCount'|
C:\ActiveProjects\Downloads\Box2d_testsvn\Contributions\Examples\TestBed\Framework\Test.cpp|87|error: 'const struct b2Manifold' has no member named 'm_pointCount'|
C:\ActiveProjects\Downloads\Box2d_testsvn\Contributions\Examples\TestBed\Framework\Test.cpp|92|error: 'struct b2WorldManifold' has no member named 'm_points'|
C:\ActiveProjects\Downloads\Box2d_testsvn\Contributions\Examples\TestBed\Framework\Test.cpp|93|error: 'struct b2WorldManifold' has no member named 'm_normal'|
C:\ActiveProjects\Downloads\Box2d_testsvn\Contributions\Examples\TestBed\Framework\Test.cpp||In member function 'virtual void Test::Step(Settings*)':|
C:\ActiveProjects\Downloads\Box2d_testsvn\Contributions\Examples\TestBed\Framework\Test.cpp|313|error: 'b2_byteCount' was not declared in this scope|
||=== Build finished: 5 errors, 3 warnings ===|
The code version is defined in b2_version in b2Settings.cpp.

It looks like you are trying to compile an old testbed version against a newer engine version.

b2Manifold::m_pointCount was renamed to b2Manifold::pointCount in January 2010.
That's what I suspected, but I couldn't figure out the version so I wasn't sure.
My b2settings.cpp says it's version 2,1,3
How do I check the version of the Testbed?
By the way, I already tried to update, so if I don't have the most recent version, it's probably because I don't know how to use TortoiseSVN properly.

The weird part is that I successfully compiled the Testbed back in late February 2010, which is after the change was made.
There are two ways to get Box2D code:
- Download the release zip file. There is no connection with SVN in this case.
- Download the trunk using SVN. When you update code, you should do it from the top level.

Individual files don't carry the Box2D version, but you can use SVN to see the timestamp on each file. But I don't think that will help you. You just need to make sure all your files are from the same version, or latest.
I right clicked on the Box2d and Contribution folders and clicked SVN Update. Is there any reason I wouldn't have the latest version?
Yes, there can be many reason. You may have local edits that are not automatically merged. You may have made your files read only. You may have sync'd to a specific revision. Try right clicking on a file to look at it's log/history. You can also use Check for Modifications at the top level.
I think the problem may be that I copied the folder with all the source files to a different location, so it wasn't being updated.
I've now changed my project so it includes the files from the right location, but I have a new error.

It looks like this error has been reported before.
viewtopic.php?f=3&t=5427

..\..\..\Box2D\freeglut\GL\freeglut_std.h|60|warning: "NOMINMAX" redefined|
c:\program files\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\include\c++\mingw32\bits\os_defines.h|46|warning: this is the location of the previous definition|
..\..\..\Box2D\Box2D\Common\b2Settings.h||In function 'float32 b2MixFriction(float32, float32)':|
..\..\..\Box2D\Box2D\Common\b2Settings.h|142|error: 'sqrtf' is not a member of 'std'|
..\..\..\Box2D\Box2D\Common\b2Math.h||In member function 'float32 b2Vec2::Length() const':|
..\..\..\Box2D\Box2D\Common\b2Math.h|119|error: 'sqrtf' is not a member of 'std'|
..\..\..\Box2D\Box2D\Common\b2Math.h||In member function 'float32 b2Mat22::GetAngle() const':|
..\..\..\Box2D\Box2D\Common\b2Math.h|256|error: 'atan2f' is not a member of 'std'|
..\..\..\Box2D\Box2D\Common\b2Math.h||In member function 'float32 b2Transform::GetAngle() const':|
..\..\..\Box2D\Box2D\Common\b2Math.h|353|error: 'atan2f' is not a member of 'std'|
C:\ActiveProjects\Downloads\Box2d_testsvn\Box2D\Testbed\Framework\Test.h||In constructor 'Settings::Settings()':|
C:\ActiveProjects\Downloads\Box2d_testsvn\Box2D\Testbed\Framework\Test.h|88|warning: 'Settings::drawStats' will be initialized after|
C:\ActiveProjects\Downloads\Box2d_testsvn\Box2D\Testbed\Framework\Test.h|79|warning: 'int32 Settings::drawShapes'|
C:\ActiveProjects\Downloads\Box2d_testsvn\Box2D\Testbed\Framework\Test.h|55|warning: when initialized here|
||=== Build finished: 4 errors, 5 warnings ===|

Original thread: https://box2d.org/forum/viewtopic.php?t=5431