Author Topic: Glest 3.2.1 for Mac OS X  (Read 31442 times)

Thamster

  • Guest
Re: Glest 3.2.1 for Mac OS X
« Reply #25 on: 22 March 2010, 19:32:18 »
Just found the solution! :)

For those in the same boat:
download the source: http://archive.apache.org/dist/xml/xerces-c/Xerces-C_2_7_0/source/xerces-c-src_2_7_0.tar.gz
gunzip and untar
export XERCESCROOT=/${whereever you put it}/xerces-c-src_2_7_0
cd $XERCESROOT/src/xercesc
./runConfigure -pmacosx
make
cp xercesc folder to aforementioned "Glest 3.2/Xcode/PrvFrameworks/Xerces.framework/Versions/A/Headers"
clean -> build and run!


Bruce

  • Guest
Re: Glest 3.2.1 for Mac OS X
« Reply #26 on: 24 March 2010, 02:14:58 »
I managed to grab a copy of the Xerces framework and it has worked fine for me. I've had no compilation issues - I'm just trying to get the latest build 3.2.2 or 3.2.3 to bundle into a Mac OS Binary - I have issues associated with fonts and the shared library which I am yet to pin down. Assuming that's what it is.

I sent an email to KaSek asking about it and I didn't get a response... It's a shame that I won't get the time to sort it all out until later this year (I'm tied up next school hols), but at least the guys have a single player version which, at the very least, means they can drop their models in and work on the tech tree, even if the multiplayer is dodgy.

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,886
  • Make it so.
    • View Profile
    • My Website
Re: Glest 3.2.1 for Mac OS X
« Reply #27 on: 29 March 2010, 15:02:12 »
Bruce, if you get Glest/MegaGlest working on Mac, I may be able to make a MAC installer. :D
I'm pretty good at using Bitrock Install Builder, and it can build MAC installers. ;)
Egypt Remastered!

Proof: Owner of glest@mail.com

ElimiNator

  • Airship
  • ********
  • Posts: 3,391
  • The MegaGlest Moder.
    • View Profile
Re: Glest 3.2.1 for Mac OS X
« Reply #28 on: 29 March 2010, 15:37:55 »
Yes but to make a build of mega-glest for MAC you need MAC, and we don't have MAC.  :(
Get the Vbros': Packs 1, 2, 3, 4, and 5!

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,886
  • Make it so.
    • View Profile
    • My Website
Re: Glest 3.2.1 for Mac OS X
« Reply #29 on: 29 March 2010, 16:21:25 »
Yah, but Bruce may be able to build one, we'll see...
Egypt Remastered!

Proof: Owner of glest@mail.com

Bruce

  • Guest
Re: Glest 3.2.1 for Mac OS X
« Reply #30 on: 30 March 2010, 08:37:05 »
It's not the installer that is the issue - I don't believe in installers (it's not the Mac way (and its Mac not MAC, by the way ;) )). The way applications on a Mac work is that they all get bundled together into a single "Application Bundle" - it would be like having an executable folder. Everything is inside it and to make the program run, you double-click on the folder and it starts.

I've got it working like this in 3.2.1, but the data sits in another place and I've created a bundle installer that takes care of that too - and unlike KaSek's version it puts the stuff in folders that are more typical of standard Mac applications (which is nicer for cleaning things up, is all).

My issues are:
1. There seems to be a compilation issue when I attempt to use the newer version of the shared library.
2. There's a compilation issue related to the new code in the linux version that creates some issues on the Mac. It could be related to the versions of the frameworks I am using, or how the frameworks are used, but I need time to investigate that fully.
3. There's a display problem that occurs when I dump the linux source files into the existing Mac bundle in the hope that it will effectively "upgrade" the version. It only displays the first character of all of the menus. I found a way to work around this, but the fonts don't look right (everything is a bit too big).

I'll then need to test it thoroughly and the problem I have there is that the only network I have to test multiplayer on is at school, and its not a traditional network because it has a whole heap of network access restrictions built into it that are configured by people higher up the IT chain of command than me (and they won't change them for security reasons). If, however, it works on my school network, it'll work on ANY home network (which is probably a good thing).

So yeah - I can build the packages for installation and all of those things - what I need to do is find the time to sit down and work through the final compilation errors. Perhaps something I can do with softcoder when things calm down a bit (maybe even over these coming school holidays I'll get the opportunity - which means we could have a GAE or MegaGlest version for Mac within a month!).

 

anything