Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 28, 2024, 01:04:42 13:04


Login with username, password and session length


Pages: [1]
Print
Author Topic: Port BOX2D on ARM LPC2106 Debug freeze  (Read 3325 times)
0 Members and 1 Guest are viewing this topic.
inkognitous
Newbie
*
Offline Offline

Posts: 8

Thank You
-Given: 0
-Receive: 3


« on: February 07, 2009, 11:37:37 23:37 »

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
Code:
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.zip

DevCpp Source
http://milikiller.ic.cz/external/box2D_devcpp.zip


I think the error is in std. If i delete this lines and comment links to this program works.
Code:
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?
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC