Results 1 to 3 of 3

Thread: RTPhysics android compile problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2012

    Default RTPhysics android compile problem

    Hi guys, get a problem when compiling RTPhysics android, which has bothered me for a whole day

    Using latest RTPhysics source with ndk r8 and compile on windows 7 64

    click build.bat and after ndk-build, got this error:

    .... -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-z,noexecstack -LE:/android-n
    dk-r8/platforms/android-8/arch-arm/usr/lib -lGLESv1_CM -ldl -llog -lz -lc -lm -o
    obj/local/armeabi-v7a/, ...) failed.
    make (e=87):
    make: *** [obj/local/armeabi-v7a/] Error 87

    Is this due to LOCAL_SRC_FILES in exceeds windows limitation or anything else?
    I could compile and run other android examples successfully in same environment.

    Thank you!

  2. #2
    Administrator Seth's Avatar
    Join Date
    Jul 2002


    Hmm, I tried it on my Win 7-64bit just now and it built and ran without errors. But maybe I have something nonstandard with my shell memory settings..

    I went ahead and change it so instead of adding each file, it only uses one ( $(IRRSRC)/UnityBuild_IrrlichtMain.cpp ) so now the is a bit smaller. The same could be done for Bullet as well if need be. (A unity build just means a .cpp that includes all the other .cpp files)

    So please update svn and try the build again. I also modified the .bat to use 7 threads, faster builds. Really I need to update it to my android v2 build system at some point... I think it's the only example that isn't. Oops, forget to add a comment to my commit. Too late now
    Seth A. Robinson
    Robinson Technologies

  3. #3
    Join Date
    Jul 2012


    Have placed some other cpp files into one file following your way, and now it works!
    Maybe later I'll upload my compressed

    Thank you Seth!

Similar Threads

  1. Need help on windows android compile
    By youngvleo in forum Proton SDK
    Replies: 1
    Last Post: 10-07-2012, 10:07 PM
  2. Compile RTPhysics error
    By hua1350 in forum Proton SDK
    Replies: 4
    Last Post: 10-17-2011, 01:09 AM
  3. android build problem
    By stubtemple in forum Proton SDK
    Replies: 7
    Last Post: 06-15-2011, 09:16 PM
  4. Yet another Android problem
    By kalango in forum Proton SDK
    Replies: 7
    Last Post: 06-08-2011, 02:48 AM
  5. Compile problem
    By lorin in forum Official ClanLib SDK Forums
    Replies: 13
    Last Post: 01-22-2011, 06:42 AM



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts