Such a long time not stepping on these forums
I've been asked to make an UI for a device that runs on a Linux ARM board (Rockchip). Before you ask, it was supposed to run Android, but they moved to Linux for some reasons I don't know.
They told me to use Unity, but it doesn't support ARM on Linux, so I'm searching for alternatives.
I haven't found evidence of Löve2d supporting Linux ARM, so I though I'd better ask here.
Thanks a lot in advance.
Does Löve support Linux ARM?
Re: Does Löve support Linux ARM?
It runs on the Pi, which is ARM; I don't know how easy/hard it would be to make it run on your specific device though
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Does Löve support Linux ARM?
If you have a full fletched Linux distribution running there you will not have any problems compiling löve2d. As Nixola said before it is buildable and runs perfectly well on a raspberry pi.
Re: Does Löve support Linux ARM?
Thanks for the answers I'll let you know if I manage to make it work.
Re: Does Löve support Linux ARM?
Is it straightforward to build against OpenGL ES on Linux? There are several hobbyist ARM boards with official Linux support that only provide the OpenGL ES 2 profile. (Pretty much anything with a Mali GPU, for example.)
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Does Löve support Linux ARM?
Yes, it should just work.
Re: Does Löve support Linux ARM?
Thanks bartbes. I hope I get it working
I was using an Ubuntu app for Windows 10 but I finally installed Ubuntu 16.04 for cross-building (can't build on the device).
Now I'm stuck on the ./configure step. I get this error:
Is there anything I could do to go on? Not sure what the suggestions regarding PKG_CONFIG_PATH and llua_CFLAGS mean (sorry, I'm no Linux expert at all)
I was using an Ubuntu app for Windows 10 but I finally installed Ubuntu 16.04 for cross-building (can't build on the device).
Now I'm stuck on the ./configure step. I get this error:
Which makes sense, as the Rockchip toolchain has no luajit (and most likely other packages).checking for luajit5.1... no
checking for luajit51... no
checking for luajit... no
configure: error: Package requirements (luajit) were not met:
No package 'luajit' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables lua_CFLAGS
and lua_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Is there anything I could do to go on? Not sure what the suggestions regarding PKG_CONFIG_PATH and llua_CFLAGS mean (sorry, I'm no Linux expert at all)
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Does Löve support Linux ARM?
You'll need to install the dependencies. I'm not sure what arm version is required for luajit, but you can definitely try to get it running. If that doesn't work out, try passing --help to configure to see how you can build against another lua implementation.
Re: Does Löve support Linux ARM?
Sorry, I missed a lot of details (I've been 12 hours on this already, I'm not even speaking properly ^_^U).
Dependencies are installed, and I actually built LÖVE for Ubuntu successfully to be sure I'm on the right track. The problem is that, for building for the ARM device, I'm using a toolchain that doesn't have some of the dependencies, starting with luajit.
Now, my doubt is: should I somehow install the dependencies on the toolchain? Or could I make the ./configure script look for the dependencies installed on Ubuntu instead of the toolchain's somehow?
If it was the latter, I hate to ask like this but, would anyone kindly tell me how to do it? Cross-building is a brand new world for me
Dependencies are installed, and I actually built LÖVE for Ubuntu successfully to be sure I'm on the right track. The problem is that, for building for the ARM device, I'm using a toolchain that doesn't have some of the dependencies, starting with luajit.
Now, my doubt is: should I somehow install the dependencies on the toolchain? Or could I make the ./configure script look for the dependencies installed on Ubuntu instead of the toolchain's somehow?
If it was the latter, I hate to ask like this but, would anyone kindly tell me how to do it? Cross-building is a brand new world for me
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Does Löve support Linux ARM?
Oh, you're cross-compiling, well that's fun. You'll probably need to cross-compile all dependencies yourself, and maybe even set the environment variables to override the search paths. You can't re-use the dependencies installed on the host as you can't run those on the target.
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest