Love 0.10.x Android + Linux

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
TurtleP
Party member
Posts: 147
Joined: Thu Mar 22, 2012 9:20 pm
Contact:

Love 0.10.x Android + Linux

Post by TurtleP »

Hi all,

I'm trying to build love with NDK but it keeps erroring out. I've updated the NDK to the latest and even still it won't work. I originally had to rename files but I think that's not there anymore since I updated. Anyhow, this is what I keep getting:

Code: Select all

[armeabi] Compile++      : love <= love.cpp
make: /home/jpost/Android/Ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++: Command not found
Not sure what I can do. I have some games I've ported to Android that I'd really like to update/release that are already on the Play Store.

Any help is appreciated!
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: Love 0.10.x Android + Linux

Post by qubodup »

Same here https://bitbucket.org/MartinFelis/love- ... d-ndk-r11c

I was thinking of going to an earlier version of ndk to try to fix it.

Renaming the folder works to fix that issue but then there's 177 errors of the following kind:

Code: Select all

error: ./obj/local/armeabi/libfreetype.a(ftbase.o): multiple definition of 'FT_Load_Glyph'
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: Love 0.10.x Android + Linux

Post by qubodup »

PS: https://bitbucket.org/MartinFelis/love- ... id_-_Linux suggest to use http://dl.google.com/android/ndk/androi ... 64.tar.bz2

Does 9c work for you? Do you get the multiple definition error as well?
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
User avatar
TurtleP
Party member
Posts: 147
Joined: Thu Mar 22, 2012 9:20 pm
Contact:

Re: Love 0.10.x Android + Linux

Post by TurtleP »

I used the NDK from the wiki, but it didn't work. That's why I tried to use the latest.
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: Love 0.10.x Android + Linux

Post by qubodup »

TurtleP wrote:I used the NDK from the wiki, but it didn't work. That's why I tried to use the latest.
yeah, but which error exactly are you getting with the wiki version and which error with the new version?

I'm assuming you're using the latest git version (just like me) straight from the repository.
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
Snake174rus
Prole
Posts: 32
Joined: Thu Aug 28, 2014 8:38 am
Location: Russia
Contact:

Re: Love 0.10.x Android + Linux

Post by Snake174rus »

jdk-8u73
apache-ant-1.9.7
android-ndk-r9d
android-sdk_r24.4.1

Work fine for me.
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: Love 0.10.x Android + Linux

Post by qubodup »

Snake174rus wrote:jdk-8u73
apache-ant-1.9.7
android-ndk-r9d
android-sdk_r24.4.1

Work fine for me.
on linux? 64bit?

I wonder what messed up on my side.

I was able to compile on Windows.
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
Snake174rus
Prole
Posts: 32
Joined: Thu Aug 28, 2014 8:38 am
Location: Russia
Contact:

Re: Love 0.10.x Android + Linux

Post by Snake174rus »

On Windows x64 and Linux x64
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 44 guests