Android building help

For people working on the C++ code.
Post Reply
User avatar
Mainpage
Member
Posts: 61
Joined: Fri Nov 13, 2015 01:12
GitHub: mainfolio
IRC: mainpage
In-game: mainpage

Android building help

by Mainpage » Post

So I'm trying to build minetest for android. I followed all the instructions here http://dev.minetest.net/Android
unfortunately when I did the last step with the make command I got this error:

Code: Select all

/home/hello/Android/android-ndk-r11c/build/core/build-binary.mk:665: recipe for target 'obj/local/armeabi-v7a/libminetest.so' failed
make[2]: *** [obj/local/armeabi-v7a/libminetest.so] Error 1
make[2]: Leaving directory '/home/hello/minetest/build/android'
Makefile:755: recipe for target 'apk' failed
make[1]: *** [apk] Error 1
make[1]: Leaving directory '/home/hello/minetest/build/android'
Makefile:157: recipe for target 'debug' failed
make: *** [debug] Error 2
Also when I installed these packages

Code: Select all

sudo apt-get install --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch
I got this error:

Code: Select all

Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However, the following packages replace it:
  lib32ncurses5 lib32z1

E: Unable to locate package libgd2-xpm
E: Package 'ia32-libs' has no installation candidate
E: Unable to locate package ia32-libs-multiarch
I then installed the lib32ncurses5 lib32z1 libraries, but I think that when I try building it the build script call for the packages I don't have, not the ones that replaced those ones.
Anyways any help would be much appreciated
Edit: Fixed spelling error
Edit: The wiki is outdated, google turned up this info "The ia32-libs package has not been available since Ubuntu introduced multiarch" so I think the fact that I installed different libraries is not a problem.
I eat baby seals

User avatar
Mainpage
Member
Posts: 61
Joined: Fri Nov 13, 2015 01:12
GitHub: mainfolio
IRC: mainpage
In-game: mainpage

Re: Android building help

by Mainpage » Post

Ignore this post, problem is fixed.
I eat baby seals

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests