PDA

View Full Version : Error compiling rtphysics for android



darkchazz
08-01-2013, 03:17 PM
I wanted to use irrbullet for my project so I thought I should start by testing the rtphysics example.
All the sources compile fine but in the end I get this error:

make (e=87): The parameter is incorrect.
make: *** [obj/local/armeabi-v7a/libRTPhysics.so] Error 87

I added all the bullet and irrbullet sources to my project and I get the same error.

After searching around, this is apparently a limitation of the amount of characters the windows command line can handle, and the fix was supposedly setting the LOCAL_SHORT_COMMANDS flag in Android.mk, but that didn't work as I got the same error...
Any way to fix this?

I'm using the latest android sdk and ndk r8e.
I tried using ndk r9 but that completely breaks proton builds :sweatdrop:

feelthat
08-01-2013, 04:09 PM
first try android-ndk-r7-crystax-5.beta3

and bullet already build in rtphysics, you don't need change it

then build again~

here is my setting in Ubuntu 10

http://www.mediafire.com/download/xo8fyg8alpaco8b/RTPhysics_android.rar


I wanted to use irrbullet for my project so I thought I should start by testing the rtphysics example.
All the sources compile fine but in the end I get this error:

make (e=87): The parameter is incorrect.
make: *** [obj/local/armeabi-v7a/libRTPhysics.so] Error 87

I added all the bullet and irrbullet sources to my project and I get the same error.

After searching around, this is apparently a limitation of the amount of characters the windows command line can handle, and the fix was supposedly setting the LOCAL_SHORT_COMMANDS flag in Android.mk, but that didn't work as I got the same error...
Any way to fix this?

I'm using the latest android sdk and ndk r8e.
I tried using ndk r9 but that completely breaks proton builds :sweatdrop:

darkchazz
08-01-2013, 06:05 PM
Can you try to compile on ms windows? it does not work

feelthat
08-01-2013, 06:20 PM
only in linux can debug android c++

http://www.wretch.cc/blog/fatalfeel/844598

so i will not work in windows


first try android-ndk-r7-crystax-5.beta3

and bullet already build in rtphysics, you don't need change it

then build again~

here is my setting in Ubuntu 10

http://www.mediafire.com/download/xo8fyg8alpaco8b/RTPhysics_android.rar

darkchazz
08-03-2013, 12:05 AM
Never mind. NDK r9 fixes this issue.

I have another question: how to disable the irrbullet debug text??