FreeOrion
http://www.freeorion.org/forum/

Up-to-date FreeOrion Mac-SDK and build - Test please!
http://www.freeorion.org/forum/viewtopic.php?f=2&t=5587
Page 1 of 34

Author:  night [ Fri Jul 15, 2011 9:38 am ]
Post subject:  Up-to-date FreeOrion Mac-SDK and build - Test please!

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

Author:  eleazar [ Fri Jul 15, 2011 8:07 pm ]
Post subject:  Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

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 238 times

Author:  night [ Fri Jul 15, 2011 9:30 pm ]
Post subject:  Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

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.

Author:  eleazar [ Fri Jul 15, 2011 10:24 pm ]
Post subject:  Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

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

Yep, that did the trick.
thanks!

Author:  Geoff the Medio [ Sat Jul 16, 2011 4:55 pm ]
Post subject:  Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

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...

Author:  Bigjoe5 [ Sun Jul 17, 2011 12:31 am ]
Post subject:  Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

SDK works.

Author:  night [ Sun Jul 17, 2011 5:50 pm ]
Post subject:  Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

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.

Author:  Geoff the Medio [ Sun Jul 17, 2011 5:54 pm ]
Post subject:  Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

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

Author:  night [ Sun Jul 17, 2011 6:06 pm ]
Post subject:  Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

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.

Author:  Geoff the Medio [ Sun Jul 17, 2011 6:17 pm ]
Post subject:  Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

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.)

Author:  night [ Sun Jul 31, 2011 2:52 pm ]
Post subject:  Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

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.

Author:  eleazar [ Sun Jul 31, 2011 8:32 pm ]
Post subject:  Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

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}

Author:  night [ Sun Jul 31, 2011 8:39 pm ]
Post subject:  Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

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.

Author:  eleazar [ Tue Aug 02, 2011 7:02 pm ]
Post subject:  Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

It works fine for me.

Author:  Geoff the Medio [ Tue Aug 02, 2011 11:11 pm ]
Post subject:  Re: Up-to-date FreeOrion Mac-SDK and build - Test please!

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

Page 1 of 34 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/