Android building help

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 » Sat Jun 11, 2016 13:56

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:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
sudo apt-get install --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch

I got this error:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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 » Mon Jun 13, 2016 13:41

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


Return to Minetest Engine

Who is online

Users browsing this forum: No registered users and 5 guests

cron