Thanks bartbes. I managed to get it working by building my own tarball and then the appimage. For some reason the docker part had all sorts of pushd/popd related bugs with paths so I couldn't do that.
What I'd like to know is where should I add libraries? For Steam I need to add libsteam_api.so somewhere but I'm not sure where. It doesn't seem like I can do it after the final executable is built, so it has to be somewhere in the appimage build script? But I'm not sure where.
Love appImage template (for Linux)
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Love appImage template (for Linux)
Can you make an issue for that so I can take a look? It's been running fine for months on multiple systems for me.
The easiest place is in the tarball stage. Depending on what kind of library it is the location will vary. If it's a c library to be used by love or via the ffi, you can drop it in basically anywhere that contains libraries, so usr/lib is a good bet. If it's a lua library (as in, a c library you want to require directly) at the moment you'll need to modify the launcher script to set the LUA_CPATH environment variable (or modify package.cpath in your code).adnzzzzZ wrote: ↑Wed Feb 21, 2018 7:05 am What I'd like to know is where should I add libraries? For Steam I need to add libsteam_api.so somewhere but I'm not sure where. It doesn't seem like I can do it after the final executable is built, so it has to be somewhere in the appimage build script? But I'm not sure where.
Re: Love appImage template (for Linux)
This worked. I managed to get it working on Ubuntu 16.04+ systems so far. This is good enough for now for me. Thanks!
-
- Party member
- Posts: 134
- Joined: Tue Mar 29, 2011 11:05 pm
Re: Love appImage template (for Linux)
Sorry to be a massive pain here, but could I pick your brains?
Is it technically possible to create a Linux build of a LOVE game while in a Windows OS?
Is it technically possible to create a Linux build of a LOVE game while in a Windows OS?
Re: Love appImage template (for Linux)
I haven't tried it but I don't think it is, drunken_munki. I used multiple VMs for doing and testing my builds on Linux. I think technically you could try with the Windows 10 Linux Subsystem but I think that would lead to lots of bugs.
-
- Party member
- Posts: 134
- Joined: Tue Mar 29, 2011 11:05 pm
Re: Love appImage template (for Linux)
Thanks for the reply adnzzzzZ.
I'm going to have to install Ubuntu and get used to it, it's been several years. I've been developing on a Windows 7 and can package the game I'm making for windows, but am researching how the feck to make a linux release.
I'm going to have to install Ubuntu and get used to it, it's been several years. I've been developing on a Windows 7 and can package the game I'm making for windows, but am researching how the feck to make a linux release.
Who is online
Users browsing this forum: No registered users and 1 guest