Post-Apocalyptic RPG forums

Development => Programming => Topic started by: zenbitz on May 18, 2009, 09:03:29 PM



Title: Mac version
Post by: zenbitz on May 18, 2009, 09:03:29 PM
Well, I haven't tried this for a while, and still have lots of rules writing to do.... but I just thought I would see if any of the new "eyes" have tried to get FIFE/Rio/Latest SVN running on an Intel Mac (10.5).

If you do, post here or send me a message... I recall that I got stuck on guichan.  I eventually forced a compile, but I think I have wrong libraries set up for OpenGL or something.   It doesn't help that in my frenzy to get something working I had up to 3 versions of various C++ libraries floating around...


Title: Re: Mac version
Post by: maximinus on May 22, 2009, 02:34:54 PM
Zenbitz, you buy me a Mac and I'll get it ported. is that a deal?


Title: Re: Mac version
Post by: mvBarracuda on June 02, 2009, 05:13:41 PM
For now the easiest option seems VirtualBox:
http://www.virtualbox.org/

It's not really satisfying that you need to emulate a Win32 or Linux system to get things running but on the other side it might be easier than getting FIFE to build on a Mac :-/


Title: Re: Mac version
Post by: zenbitz on June 02, 2009, 08:14:32 PM
I will check out Virtual box, maybe tomorrow.  It would be nice to dump my XP partition as well....
I need a new lap top anyway... my disk is something pathetic like 60Gb.  I have externals, but that's not the same thing.


Title: Re: Mac version
Post by: mvBarracuda on June 02, 2009, 08:42:00 PM
I'm just writing on the news update for today and I'll call for any volunteers helping out with the Mac port of PARPG. Let's see if that helps.


Title: Re: Mac version
Post by: mvBarracuda on June 14, 2009, 03:50:57 PM
Somewhat good news: a programmer just showed up at the unknown horizons IRC channel and build FIFE on his Mac system just fine. I just commited his changes to the mac build script to SVN and he plans to update the Mac build guide at the FIFE wiki as well.

He seems to have installed some frameworks via sudo instead of manually doing so. Might be worth a try:
Quote
<UH-Guest> Oh, and you have to do: sudo port install sdl-framework sdl_image-framework sdl_ttf-framework
<UH-Guest> That's easier than installing the frameworks by hand.


Title: Re: Mac version
Post by: zenbitz on June 15, 2009, 05:37:30 PM
you mean via port = macports. "sudo" is of course super-user permission (on a personal mac os x this is the equivalent of administrator install)

I think I was trying  to use the Mac Dev kit frameworks... so maybe these are better!  4th version of SDL?


Title: Re: Mac version
Post by: mvBarracuda on June 15, 2009, 07:10:28 PM
Where did you get this 4th version of SDL thing from? I'm confused.


Title: Re: Mac version
Post by: zenbitz on June 15, 2009, 10:58:55 PM
I believe I have installed on my mac (and I am not sure, because I tend to "install-and-forget")

- The Mac Dev kit SDL framework
- MacPorts SDL libs (non framework)
- Fink SDL libs (non framework)

So the macports SDL frameworks would be the 4th.  They are probably a couple different version no.s as well...


Title: Re: Mac version
Post by: mvBarracuda on June 15, 2009, 11:33:38 PM
Ahh I see, seems like macports is the way to go. You might want to get rid of the other versions in case problems arise. Different versions of the same library tend to create problems sometimes.


Title: Re: Mac version
Post by: zenbitz on September 28, 2009, 09:48:10 PM
For the record...

I used Prock's guide here: http://wiki.fifengine.de/Building:Mac:Scons and got FIFE/parpg working on my mac.  Looks great guys!

I did have a couple hiccoughs (which I will add to the wiki):
1) You have to make sure your scons (itself) has an up-to-date package list, because some of the versions that are old don't work.
2) You cannot use guichan 0.8.1, only 0.8.0
3) You cannot have a fink/port install of python2.4 anywhere or it might get linked and nothing will run.

(and as Prock mentions, you cannot use Snow Leopart - Mas OS X 10.6)
I think I have 2-3 python 2.6s in various places on my poor machine...


Title: Re: Mac version
Post by: mvBarracuda on October 01, 2009, 05:28:21 PM
Thanks for testing zenbitz! It's great news that it finally runs on Mac :-)


Title: Re: Mac version
Post by: zenbitz on October 01, 2009, 10:30:42 PM
what's funny is that it worked literally hours after I "gave up" (for maybe the 3rd time) and installed VMWare.  But I didn't have any windows OS disks!  So I finally realized that there was a conflict with "extra" old versions of python, deleted them, and presto.

The other key is that guichan 0.8.1 does NOT work on a mac.  I spent a lot of time trying to compile the source with no luck.


Title: Re: Mac version
Post by: mvBarracuda on December 29, 2009, 07:50:59 AM
Looks like there is a workaround available to get guichan 0.8.2 building from source on OSX:
http://forums.fifengine.de/index.php?topic=308.msg1704#msg1704


Title: Re: Mac version
Post by: zenbitz on December 29, 2009, 09:33:18 PM
maybe when we need a new FIFE upgrade I will go for guichain 0.8.2


Title: Re: Mac version
Post by: mvBarracuda on December 14, 2010, 06:07:08 PM
Guichan 0.8.2 is now available via MacPorts:
http://trac.macports.org/browser/trunk/dports/graphics/libguichan/Portfile

That solves at least a bunch of potential headaches for Mac-based devs. I spoke to prock (of FIFE) about the topic and he mentioned that you can apply the custom key.hpp UTF8 hack on Mac systems as well, that FIFE uses on Linux and Win32.

So the SDL issue might the only remaining roadblocker. But maybe this has been fixed by your recent OSX upgrade zenbitz?


Title: Re: Mac version
Post by: zenbitz on January 10, 2011, 03:30:44 AM
Just to update this thread, too.
I was able to get FIFE to work by wiping my disk and installing 10.6.5  Others on IRC have had the same SDL bug but not been able to resolve it.