Building core 300 for Android

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Re: Building core 300 for Android

Postby pHySiQuE » Thu May 31, 2012 12:41 am

On OSX, it crashes on NewtonCreate(). I'm still investigating Android and iOS execution.

I attached my modified dgtypes.h file:
dgTypes.h.zip
(5.57 KiB) Downloaded 161 times
pHySiQuE
 
Posts: 608
Joined: Fri Sep 02, 2011 9:54 pm

Re: Building core 300 for Android

Postby Julio Jerez » Thu May 31, 2012 7:57 am

In OSX it crashed because the thread, try setting the thre to emulation on OSX as well and it sodul all be fine.

edit:
I just made a define to disable threading on all non window platforms until I debug the code. if you sync again, it should work evreywere.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Building core 300 for Android

Postby pHySiQuE » Thu May 31, 2012 11:28 am

On iOS and OSX the program stops on NewtonUpdate(). I don't think it crashes, it just pauses and never continues. I did not test this on Android, but I assume the result would be the same.

When NewtonUpdate is commented out, the program runs normally on iOS, OSX, and Android.
pHySiQuE
 
Posts: 608
Joined: Fri Sep 02, 2011 9:54 pm

Re: Building core 300 for Android

Postby Julio Jerez » Thu May 31, 2012 11:31 am

Like I said it is probably blocked in a mutex, I have not debugged teh Poist version of te thread code, and thsi is what is link in OSX.
I check in a define that temprarrlli fore the thread to run in emulation until I debug the class.
you can sync and try again.

this weekend I will try to complet part tow of the linux build (building FOX)
the I will be able to debug the thread class.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Building core 300 for Android

Postby pHySiQuE » Thu May 31, 2012 12:36 pm

Yes, that's with your latest revision.
pHySiQuE
 
Posts: 608
Joined: Fri Sep 02, 2011 9:54 pm

Previous

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest