Results 1 to 6 of 6

Thread: Many errors in Android build ( RTBareBones )

  1. #1
    Squire
    Join Date
    Jun 2011
    Posts
    10

    Default Many errors in Android build ( RTBareBones )

    I have done all in "Setting up the NDK and compiling RTBareBones" from wiki.

    Also I uncomment line "export NDK_PROJECT_PATH=" in build.sh for avoid errors with window path.

    Now I have many compile errors. Compiler can not found 'string', 'vector', 'deque', 'map', 'iostream', 'sstream' etc.

    All demo projects from NDK compiled successful. RTBareBones for window build success.

    p.s. Also I don't now how to setup Ant. I downloaded it and added in some path.
    Last edited by mmortall; 06-15-2011 at 06:19 AM.

  2. #2
    Peasant
    Join Date
    May 2011
    Posts
    8

    Default

    Make sure that your NDK is the NDKr4 from Crystax, because it supports STL (vector, deque, etc).
    To setup Ant just add a system variable ANT_HOME to your ant directory.

  3. #3
    Squire
    Join Date
    Jun 2011
    Posts
    10

    Default

    Quote Originally Posted by kalango View Post
    Make sure that your NDK is the NDKr4 from Crystax, because it supports STL (vector, deque, etc).
    To setup Ant just add a system variable ANT_HOME to your ant directory.
    Thank you! I got *.so file. But next build step is filed.
    It is possible to use Eclipce + this lib for build application for android without Ant ?
    Last edited by mmortall; 06-16-2011 at 12:22 PM.

  4. #4
    Peasant
    Join Date
    May 2011
    Posts
    8

    Default

    Try to search the forums a thread of mine that i came up with the same error then solved it. Ant build is pretty easy to set up so i think you shouldnt get on with eclipse because some times it acts a little buggy.

  5. #5
    Squire
    Join Date
    Jun 2011
    Posts
    10

    Default

    Thanks for your help! I successful compile and run RTBareBones on the emulator.

    kalango, I have the same problem with Ant build.xml.

  6. #6
    Peasant
    Join Date
    May 2011
    Posts
    8

    Default

    Quote Originally Posted by mmortall View Post
    Thanks for your help! I successful compile and run RTBareBones on the emulator.

    kalango, I have the same problem with Ant build.xml.
    No problem. Everyone with updated SDK will find this problem because android has a slight different build script now. But its simple to solve.

Similar Threads

  1. android build problem
    By stubtemple in forum Proton SDK
    Replies: 7
    Last Post: 06-15-2011, 09:16 PM
  2. Replies: 5
    Last Post: 02-21-2011, 10:54 PM
  3. Android build error
    By Le Viet Bach in forum Proton SDK
    Replies: 1
    Last Post: 01-10-2011, 06:49 PM
  4. Failing Android build
    By rzuf in forum Proton SDK
    Replies: 1
    Last Post: 11-11-2010, 10:57 PM
  5. Replies: 3
    Last Post: 08-13-2010, 10:17 PM

Bookmarks

Bookmarks

Posting Permissions

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