Up-to-date FreeOrion Mac-SDK and build - Test please!

For topics that do not fit in another sub-forum.

Moderator: Oberlus

Post Reply
Message
Author
night
Space Kraken
Posts: 102
Joined: Sun Jun 12, 2011 1:21 pm

Up-to-date FreeOrion Mac-SDK and build - Test please!

#1 Post by night »

Hey,
after we went through quite a lot of trouble to get FreeOrion running under OS X, we came up with the idea of making a new SDK with the new builds of Boost we made in that thread, since the current official SDK seems to be a bit outdated.
So I tried my best to make a nice clean new SDK. Since I am running Snow Leopard and Xcode 4 I do not know if the new SDK would also work on machines with Xcode 3 or any previous version of OS X. I would like to ask you to test and report how it's (not) performing on your machines - or if you have any suggestions, please tell me.

Download the SDK and read the article on the wiki how to get your own build up and running

If the game hangs at 'Generating universe' consider updating your Python framework.

I am also making a build based on the new SDK every week. It should run on all Intel based Macs (10.6+).

Download the build
Have a look at the changelog

night

EDIT: Updated files to 0.3.16
EDIT2: Upgraded SDK and app to Python 2.7.1 to make the AI work
EDIT3: The build is based on revision 4138 now
EDIT4: The build is based on revision 4189 now
EDIT4: The build is based on revision 4224 now
EDIT5: The build is based on revision 4251 now
EDIT6: The build is based on revision 4279 now
EDIT7: The build is based on revision 4281 now
EDIT8: The build is based on revision 4282 now
EDIT8: The build is based on revision 4306 now
EDIT9: The build is based on revision 4373 now
EDIT10: The build is based on revision 4387 now
EDIT11: The build is based on revision 4428 now
Last edited by night on Fri Jan 06, 2012 10:00 am, edited 18 times in total.

User avatar
eleazar
Design & Graphics Lead Emeritus
Posts: 3858
Joined: Sat Sep 23, 2006 7:09 pm
Location: USA — midwest

Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

#2 Post by eleazar »

I tested the binary on my snow leopard intel mac.

It acts like it is going to run, the screen turns black, and then it crashes. The SDK is just for compiling, right -- i didn't need to do something with that?

Crash report attached.
Attachments
eleazar crash report.txt
(29.83 KiB) Downloaded 944 times

night
Space Kraken
Posts: 102
Joined: Sun Jun 12, 2011 1:21 pm

Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

#3 Post by night »

You could try to delete/move
/Users/*username*/Library/Application Support/FreeOrion

If that does not help, can you post you FreeOrion logs please?

You only need the SDK if you want to build FreeOrion yourself.

User avatar
eleazar
Design & Graphics Lead Emeritus
Posts: 3858
Joined: Sat Sep 23, 2006 7:09 pm
Location: USA — midwest

Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

#4 Post by eleazar »

night wrote:You could try to delete/move
/Users/*username*/Library/Application Support/FreeOrion
Yep, that did the trick.
thanks!

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13586
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

#5 Post by Geoff the Medio »

night wrote:Download the SDK
Your SDK is quite large at 345 MB. Are you including all the code and data from SVN in the file? This isn't really necessary as that can be gotten from SVN directly (and this needs to be done to be building up-to-date code anyway), and removing it would significantly reduce the file size. This is what's done for the Windows SDK files...

User avatar
Bigjoe5
Designer and Programmer
Posts: 2058
Joined: Tue Aug 14, 2007 6:33 pm
Location: Orion

Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

#6 Post by Bigjoe5 »

SDK works.
Warning: Antarans in dimensional portal are closer than they appear.

night
Space Kraken
Posts: 102
Joined: Sun Jun 12, 2011 1:21 pm

Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

#7 Post by night »

Here's a more compact version of the SDK (52 mb).
Now you have to do an SVN update before you can use the SDK.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13586
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

#8 Post by Geoff the Medio »

Someone on twitter reports that v0.3.16 doesn't work for them:
A_PL5 and GeofftheMedio wrote:FreeOrion起動できず。なぜじゃ…

@A_PL5 "config.xml" を削除する http://freeorion.org/index.php/Config.xml (google translated)

@GeofftheMedio Thank you! I tried it but the application didn't run (on Mac OS 10.5.8 )

@A_PL5 For OSX try this: viewtopic.php?p=46782#p46782

@GeofftheMedio I deleted "FreeOrion" folder, but nothing changed... I think something is wrong with my PC or OS. Thank you!

@A_PL5 Try rebooting? If that doesn't fix it, could you find freeorion.log (same place at config.xml) and post it (pastebin is fine) for me?

@GeofftheMedio I tried rebooting. In my case, it seems that FreeOrion folder (and freeorion.log) is not created on 0.3.16

night
Space Kraken
Posts: 102
Joined: Sun Jun 12, 2011 1:21 pm

Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

#9 Post by night »

The app-bundle was built with the Apple Base SDK for OSX 10.6. That could be the reason why the game is not working (or he has a PowerPC based mac).
He could try to build the game himself with the 10.5 Base SDK.

Also I am going to try to build a version with an older Base SDK myself.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13586
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

#10 Post by Geoff the Medio »

A_PL5 and GeofftheMedio wrote:@A_PL5 Also, do you have an Intel or PowerPC Mac? The app is only expected to work on Intel Macs...

@GeofftheMedio Many thanksヽ(゚∀゚)ノ (This is Intel Mac.)

night
Space Kraken
Posts: 102
Joined: Sun Jun 12, 2011 1:21 pm

Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

#11 Post by night »

I made a build for 10.5 and later using the 'deployment target' option in Xcode 4. Using Xcode 3 and/or the 10.5 SDK just gives me tons of errors.
You can get the new build here. Please report if it's working for you.

User avatar
eleazar
Design & Graphics Lead Emeritus
Posts: 3858
Joined: Sat Sep 23, 2006 7:09 pm
Location: USA — midwest

Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

#12 Post by eleazar »

night wrote:I made a build for 10.5 and later using the 'deployment target' option in Xcode 4. Using Xcode 3 and/or the 10.5 SDK just gives me tons of errors.
You can get the new build here. Please report if it's working for you.
Is this build just for 10.5, or it is supposed to work for everybody?
In other words, should i download and test it on Snow leopard? {10.6.8}
Last edited by eleazar on Sun Jul 31, 2011 10:02 pm, edited 1 time in total.

night
Space Kraken
Posts: 102
Joined: Sun Jun 12, 2011 1:21 pm

Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

#13 Post by night »

The build is for Mac OSX 10.5 and later. You can download and test it, but it should be working on 10.6 (at least it's working for me on 10.7).
The old build was not compatible with 10.5, that's the reason for the new one I uploaded.

User avatar
eleazar
Design & Graphics Lead Emeritus
Posts: 3858
Joined: Sat Sep 23, 2006 7:09 pm
Location: USA — midwest

Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

#14 Post by eleazar »

It works fine for me.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13586
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

#15 Post by Geoff the Medio »

Is this v0.3.16 (SVN 4046) rebuilt, or is it a newer version (which?)

Post Reply