I am unable to build the TestBed examples with the latest subversion source. The first error I run into is the following:
This seems to be just a case issue, and can be solved by replacing "box2d.h" with the case-correct "Box2D.h" on line 14.
Next is a rather lengthy link error which I won't bother pasting. It just boils down to TriangleMesh.cpp not being included in the Makefile under Examples/TestBed/ in the "SOURCES" list.
The last one seems to be g++ being picky:
This one is fixed by changing the 0 at the end of that comparison to 0.0f.
I have attached a patch which fixes the above errors for me under Linux. I am hoping that someone can test it against a Windows working copy for me.
Code:
Tests/TriangleMesh.h:14:19: error: box2d.h: No such file or directory
make[2]: *** [Gen/float/Tests/TestEntries.o] Error 1
make[2]: *** [Gen/float/Tests/TestEntries.o] Error 1
This seems to be just a case issue, and can be solved by replacing "box2d.h" with the case-correct "Box2D.h" on line 14.
Next is a rather lengthy link error which I won't bother pasting. It just boils down to TriangleMesh.cpp not being included in the Makefile under Examples/TestBed/ in the "SOURCES" list.
The last one seems to be g++ being picky:
Code:
Tests/TriangleMesh.cpp:585: error: ambiguous overload for ‘operator==’ in ‘TriangleMesh::GetVertexPosition(tmVertex*, tmVertex*, tmVertex*)(v0, v1, v) == 0’
This one is fixed by changing the 0 at the end of that comparison to 0.0f.
I have attached a patch which fixes the above errors for me under Linux. I am hoping that someone can test it against a Windows working copy for me.