Page 1 of 1

Compiling on Mac OS X

Posted: Wed Mar 23, 2011 8:46 pm
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

Re: Compiling on Mac OS X

Posted: Wed Mar 23, 2011 8:54 pm
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

Re: Compiling on Mac OS X

Posted: Wed Mar 23, 2011 9:42 pm
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.

Re: Compiling on Mac OS X

Posted: Wed Mar 23, 2011 11:11 pm
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.