OSX build compilation

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
coffee
Party member
Posts: 1206
Joined: Wed Nov 02, 2011 9:07 pm

OSX build compilation

Post by coffee » Mon May 07, 2012 11:22 am

Hi lovers or specially OSX lovers, I have several questions about building/compiling LOVE for OSX.

First I'm inquiring what's the current official status of OSX build. That's because in Love's source code repository overview still says that "For other linuxes and OSX there are currently no official builds." and also because https://love2d.org/wiki/Building_LÖVE shows no instructions concerning OSX (but that's could be of course simply because no one made that effort).

Another point is if "0.8.0 officially drops support for PPC Macs" (quoted from here viewtopic.php?f=3&t=8750#p53962) the true it's that the build offer atm is still universal. So I'm confused in that point.

Since I haven't success compiling (about 150 errors and 40 warnings) by just open love.xcodeproj and build it as docs say I trying to figure what it could be wrong.

- Is OSX building of actual stable version possible or need be "hacked"?

- Besides the missing "freetype.framework" downloadable here (http://www.kyngchaos.com/software/frameworks) are the remaining frameworks certified/tested for the current stable osx build? (NOTE: I know that I need keep to keep them System/Library/Frameworks).

- Is XCODE 3.2.5 valid to compile a build? There is any parameter/setting not kept in project configuration that I should add/change?

About my errors I mostly got repeats of those kind of errors for the 3 subsections of build (ppc,386,64bits):

Code: Select all

love.cpp:250: error: expected constructor, destructor, or type conversion before '(' token
love.cpp:255: error: ISO C++ forbids declaration of 'wostream' with no type
love.cpp:255: error: explicit instantiation of non-template 'int wostream'
love.cpp:255: error: expected `;' before '&' token
love.cpp:259: error: ISO C++ forbids declaration of 'ostream' with no type
love.cpp:259: error: explicit instantiation of non-template 'int ostream'
love.cpp:259: error: expected `;' before '&' token 
Thanks for any clues or help provided.

For last this is intended for slime (I tried to find your JIT fork in Rude's repository and in yours) but I public ask him about it since is a bit on-topic. Of course you could have your (at least for me) unknow reasons of keep your JIT version close-sourced but since your LuaJIT it's kind of a public useful LOVE asset will you think open/provide the source of your JIT version one day?

User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: OSX build compilation

Post by bartbes » Mon May 07, 2012 12:37 pm

coffee wrote:"For other linuxes and OSX there are currently no official builds."
That quote is a bit outdated, but it still mostly hold. However, it's about development builds, not releases. (They do exist for linux and OSX.)
coffee wrote:Another point is if "0.8.0 officially drops support for PPC Macs" [snip] the build offer atm is still universal.
Apple redefined universal, it no longer includes ppc.
And, we do not officially support ppc, that does not mean it won't build on ppc osx, just that we don't test it, or intend to provide fixes for it.
coffee wrote: - Is OSX building of actual stable version possible or need be "hacked"?
Of course it's possible, there's a build linked on the front page!
coffee wrote: For last this is intended for slime (I tried to find your JIT fork in Rude's repository and in yours) but I public ask him about it since is a bit on-topic. Of course you could have your (at least for me) unknow reasons of keep your JIT version close-sourced but since your LuaJIT it's kind of a public useful LOVE asset will you think open/provide the source of your JIT version one day?
It's not closed-source, it's normal love, the only difference is that it's linked against luajit instead of "plain" lua.
(To clarify, it's a different binary, built from the same source.)

Post Reply

Who is online

Users browsing this forum: No registered users and 37 guests