Compiling on Mac OS X

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
IdahoEv
Prole
Posts: 4
Joined: Wed Mar 23, 2011 6:00 pm

Compiling on Mac OS X

Post by IdahoEv »

Note: downloading the frameworks described here http://love2d.org/forums/viewtopic.php? ... ing#p23946 helps a lot when trying to build love on the mac.

Anyway, like the previous poster I'm trying to build Love on the mac so I can add some functionality for my game. (Specifically, an ellipse function for love.graphics). I'll issue a pull request on bitbucket when i've got it working so others can enjoy the functionality as well.

However, at the moment I can't get it to build on the mac; there are two errors in ModPlugDecoder.cpp :
  • struct ModPlug_Settings has no member named 'mStereoSeparation' (line 46)
  • struct ModPlug_Settings has no member named mMaxMixChannels (line 47)
Any help appreciated.
Thanks,
Evan
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: Compiling on Mac OS X

Post by BlackBulletIV »

You need to update your ModPlug framework. I had the same problem. See this thread: http://love2d.org/forums/viewtopic.php?f=4&t=2589
IdahoEv
Prole
Posts: 4
Joined: Wed Mar 23, 2011 6:00 pm

Re: Compiling on Mac OS X

Post by IdahoEv »

Thanks, that took care of it! I went ahead and built the function I needed and issued a pull request. I'll put a separate post up about it in case anyone else wants the code in the meantime.
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: Compiling on Mac OS X

Post by BlackBulletIV »

No worries! By the way, I keep an up-to-date Mac build of the master branch here: http://dl.dropbox.com/u/22660566/Love/love.app.zip. I have a script that downloads the latest source, compiles it, zips it, and moves it in one go, so it's pretty easy to do.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 5 guests