Compiling for mac from windows or 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
Jimanzium
Party member
Posts: 103
Joined: Sun Jun 03, 2012 2:39 pm
Contact:

Compiling for mac from windows or linux

Post by Jimanzium »

How do I compile a version of my game for mac? I have tried to follow the instructions on the wiki but it wouldn't run when people tried it. If anyone could help I would be grateful.

I will add the .love as an atachment
Attachments
TSD.love
(50.22 KiB) Downloaded 108 times
Last edited by Jimanzium on Thu Aug 29, 2013 3:55 pm, edited 1 time in total.
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: Compiling for mac from windows or linux

Post by raidho36 »

It should just work as simple as appending .love file to the executable binary, but you must use Mac LÖVE binaries to create a Mac binary of your game.
FireZenk
Prole
Posts: 25
Joined: Tue Apr 09, 2013 4:14 pm
Location: Valencia, Spain
Contact:

Re: Compiling for mac from windows or linux

Post by FireZenk »

User avatar
Jimanzium
Party member
Posts: 103
Joined: Sun Jun 03, 2012 2:39 pm
Contact:

Re: Compiling for mac from windows or linux

Post by Jimanzium »

You might want to re-read my post. I tried following the instructions on the wiki but it didn't work. I think I messed up the info.plist part as I didn't really get it.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Compiling for mac from windows or linux

Post by Robin »

If you upload the game.app you made, we could take a look at it. :) (it is probably too big for an attachment, so you'll have to upload it somewhere else).
Help us help you: attach a .love.
chansu
Prole
Posts: 3
Joined: Sat Aug 31, 2013 3:44 am

Re: Compiling for mac from windows or linux

Post by chansu »

I'm having a similar problem (trying to package my game for OSX on a Windows machine). I should probably post a separate thread, but just wanted to clarify a few things before I did.
raidho36 wrote:It should just work as simple as appending .love file to the executable binary, but you must use Mac LÖVE binaries to create a Mac binary of your game.
I didn't see anything about appending .love's to executables in the Mac section of the instructions, that was only mentioned as part of the Windows process. Was this comment just a stab in the dark, or are we missing a crucial step?
User avatar
slime
Solid Snayke
Posts: 3162
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Compiling for mac from windows or linux

Post by slime »

chansu wrote:
raidho36 wrote:It should just work as simple as appending .love file to the executable binary, but you must use Mac LÖVE binaries to create a Mac binary of your game.
I didn't see anything about appending .love's to executables in the Mac section of the instructions, that was only mentioned as part of the Windows process. Was this comment just a stab in the dark, or are we missing a crucial step?
In OS X you can either append the .love to the executable like with Windows, or put the .love in game.app/Contents/Resources/ and it will be automatically loaded just like if it was fused. Personally I think the latter method is much cleaner.
Jimanzium wrote:How do I compile a version of my game for mac? I have tried to follow the instructions on the wiki but it wouldn't run when people tried it. If anyone could help I would be grateful.
Is it the same problem described in this thread? viewtopic.php?f=4&t=49743#p126298
User avatar
Jimanzium
Party member
Posts: 103
Joined: Sun Jun 03, 2012 2:39 pm
Contact:

Re: Compiling for mac from windows or linux

Post by Jimanzium »

Dyld Error Message:
Library not loaded: @executable_path/../Frameworks/mpg123.framework/mpg123
Referenced from: /Users/USER/Downloads/TSD.app/Contents/MacOS/love
Reason: no suitable image found. Did find:
/Users/XXXXX/Downloads/TSD.app/Contents/MacOS/../Frameworks/mpg123.framework/mpg123: file too short
/Users/XXXXX/Downloads/TSD.app/Contents/MacOS/../Frameworks/mpg123.framework/mpg123: file too short

The error message is from the same file but for a different reason.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests