Hi All i am new in ARM community. I try to port BOX2D to My test board with LPC2106 with 132x176 LCD and joystick.
Rutine for controlling hardware is working good. Now i testing porting BOX2D physics engine to Keil. with little change in source code compilling with no error and no warning , but if I try to debug, debug if freezing after startup cpu. Debug is freeze in line
IMPORT __main
LDR R0, =__main
BX R0
I try to solve this problem but all my work is bad, Code work only if i delete line 164 in main and comment many needed code
Source Code is Optimalising for runing On ARM and PC with SDL support. Compiling devcpp variant working perfectly
Keil Source
http://milikiller.ic.cz/external/Box2D_keil.zipDevCpp Source
http://milikiller.ic.cz/external/box2D_devcpp.zipI think the error is in std. If i delete this lines and comment links to this program works.
std::vector<Body*> bodies;
std::vector<Joint*> joints;
std::map<ArbiterKey, Arbiter> arbiters;
I using Keil Uvision 3.24.
Exist other physics engine working on arm?