Open GoogleCodeExporter opened 9 years ago
excellent, very soon I will integrate this work with the current version of
Newton.
Thank you for this work
Original comment by JerezJul...@gmail.com
on 11 Sep 2011 at 3:43
It looks like in patched dgTypes.cpp code:
#ifdef ANDROID
should be:
#ifdef __ANDROID__
http://newtondynamics.com/forum/viewtopic.php?f=26&t=6802&start=13
http://groups.google.com/group/android-ndk/browse_thread/thread/c93b0cedc6a6fdd9
(__ANDROID__ didn't work correctly at least in NDK pre-r5)
http://groups.google.com/group/android-ndk/browse_thread/thread/9c1922c3b3e8e6e6
(some bug related to ANDROID def. fixed in latest NDK r6b)
However in my app. both ANDROID and __ANDROID__ works correctly. But from links
above you can read that guy from android recommends using __ANDROID__ in NDK,
so in attachment there is a new patch (with that small #ifdef change in
dgTypes.cpp)
Original comment by krystian...@gmail.com
on 19 Sep 2011 at 5:12
Attachments:
I see that applying patch by Tortoise SVN (1.6.16, x64) doesn't add new
files/directories to local svn like:
- {NGD}\coreLibrary_200\projets\android\Android.mk (only NewtonSrc.mk was added
properly and parent dir 'android')
- {NGD}\packages\projects\android (this dir and sub-dirs/files)
So those new files/dirs need to be added (Tortoise SVN->Add...) to SVN manually
before committing.
Original comment by krystian...@gmail.com
on 19 Sep 2011 at 9:12
Original issue reported on code.google.com by
krystian...@gmail.com
on 11 Sep 2011 at 9:49Attachments: