A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by Slick » Tue May 27, 2014 6:55 pm
I am trying to get a basic app working on Android.
When I call dNewton::Update (m_timestep);
I get a crash. I built using -DDG_THREAD_EMULATION because I saw that might create a problem in another discussion.
Any thoughts on what I can look for?
-
Slick
-
- Posts: 330
- Joined: Sat Feb 07, 2004 7:24 pm
- Location: LA last and France now
by AntonSynytsia » Wed May 28, 2014 3:22 am
I thought NewtonUpdate had two parameters: world_ptr and timestep.
Your has one. Maybe that's why it crashes. I don't know, just a thought.
-
AntonSynytsia
-
- Posts: 193
- Joined: Sat Dec 28, 2013 6:36 pm
by Slick » Wed May 28, 2014 10:52 am
There are two interfaces to Newton I think. C and C++ style.
Today I am going to try adjusting the compile flags in case it is something to do with them. Other than that I'm not sure.
-
Slick
-
- Posts: 330
- Joined: Sat Feb 07, 2004 7:24 pm
- Location: LA last and France now
by pHySiQuE » Fri Jun 06, 2014 11:55 am
Disable SSE.
-
pHySiQuE
-
- Posts: 608
- Joined: Fri Sep 02, 2011 9:54 pm
by Julio Jerez » Mon Jun 09, 2014 7:26 am
how do you guys test the Android? last time I checked you could no use C++, has that changed?
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by JoeJ » Mon Jun 09, 2014 10:16 am
Julio Jerez wrote:how do you guys test the Android? last time I checked you could no use C++, has that changed?
You can use C++ and communicate with Android by Java Native Interface, but you need to install a additional SDK (NDK = Native Development Kit).
See middle of this thread for some more details:
http://newtondynamics.com/forum/viewtopic.php?f=9&t=8654
-

JoeJ
-
- Posts: 1489
- Joined: Tue Dec 21, 2010 6:18 pm
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 3 guests