Oolite Bulletins

For information and discussion about Oolite.
It is currently Thu Aug 17, 2017 11:14 pm

All times are UTC




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Sun May 04, 2014 7:28 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon Apr 06, 2009 12:20 pm
Posts: 6178
Location: Aboard the Pitviper S.E. "Blackwidow"
I've noticed that while there are stickied threads with detailed instructions for building Oolite on Windows and Linux, there is no equivalent thread for Macs. There are the very basic instructions on the Wiki, (which could use updating as well) but that is all. Particularly since the move to Github, perhaps such a thread is in order?

I have a project in mind which might be made easier if I do the work on my old MacBook, but without an up-to-date guide to go by, this is going to be a bit of a hit-and-miss affair, methinks. And surely there have to be at least a few other Mac owners adventurous enough to try compiling from source?

If one of the Mac wizards posts a guide here, feel free to delete this initial post.

_________________
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied


Top
   
PostPosted: Sun May 04, 2014 9:01 am 
Offline
Grand Admiral Emeritus
Grand Admiral Emeritus
User avatar

Joined: Sat Apr 02, 2005 2:43 pm
Posts: 6657
Location: Sweden
  • Install Xcode. These days, it lives on the App Store.
  • In the terminal: git clone https://github.com/OoliteProject/oolite.git
  • cd oolite
  • git submodule update --init --recursive
  • open Oolite.xcodeproj
  • Press the Run button in the toolbar.

_________________
E-mail: jens@oolite.org


Top
   
PostPosted: Sun May 04, 2014 9:03 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon Apr 06, 2009 12:20 pm
Posts: 6178
Location: Aboard the Pitviper S.E. "Blackwidow"
Heh.. can't get much simpler than that.. thanks, Jens! 8)

_________________
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied


Top
   
PostPosted: Fri May 09, 2014 7:30 pm 
Offline
Average
Average
User avatar

Joined: Sat Aug 07, 2010 2:39 pm
Posts: 8
Location: Mundito Rosinante - a small world at the border of the city.
Hmm, I tried that and discovered that it currently does not work out of the box:

The linker complains about missing symbols related to OOStandaloneAtmosphereGenerator.

It was obvious for me that it was missing as part of the build and I found that it was included in the Makefile -- but not in the XCode project apparently...

It's the first time since two years that I try to do something with XCode - I missed 4.x and this was the first launch of my 5.x installation -- so I had some trouble to find my way through the new GUI and gave up on it (seems that I have to go through some "how-to" first... :? ). Fortunately I also have AppCode installed and it was easier for me to find the correct method there to add the files to the project: I have my first build of the trunk version... :)

So, if somebody with write access to the repository would be so kind to correct that little issue... Thanks in advance.


Apart from that: Thanks for all the good stuff, and for still keeping Oolite alive and kicking even with E:D at the horizon... ;-)

And especially a big thanks for the joystick support for the Mac: my X52pro is working like a charm with it! :D


Top
   
PostPosted: Fri May 09, 2014 8:38 pm 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
User avatar

Joined: Fri Nov 11, 2011 6:19 pm
Posts: 4008
Quote:
Hmm, I tried that and discovered that it currently does not work out of the box:
Ah. Sorry about that - unfortunately there's no way without a Mac to add extra files to the project, so when one of us Linux or Windows -based developers adds one, it will temporarily break the Mac build. (The other way round is fine, because the Mac devs can just add the entry into the makefile)

Hopefully one of the Mac devs will be around soon to fix it.

_________________
OXPs: [EliteWiki] New Cargoes, [EliteWiki] Skilled NPCs, [EliteWiki] Curse of the Black Sunspot, and more


Top
   
PostPosted: Fri May 09, 2014 9:57 pm 
Offline
Grand Admiral Emeritus
Grand Admiral Emeritus
User avatar

Joined: Sat Apr 02, 2005 2:43 pm
Posts: 6657
Location: Sweden
Done.

_________________
E-mail: jens@oolite.org


Top
   
PostPosted: Fri May 09, 2014 10:11 pm 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
User avatar

Joined: Fri Nov 11, 2011 6:19 pm
Posts: 4008
Thanks. I shall try to remember this needs doing when I add new files, next time.

_________________
OXPs: [EliteWiki] New Cargoes, [EliteWiki] Skilled NPCs, [EliteWiki] Curse of the Black Sunspot, and more


Top
   
PostPosted: Fri Sep 19, 2014 7:02 pm 
Offline
Deadly
Deadly

Joined: Sun Feb 24, 2013 11:52 am
Posts: 177
Just downloaded oolite-source-1.80.tar.bz2 and tried to build the default (debug) target in XCode 4.6.2 running on OS X
10.8.5. I get the compile error:

/path/to/src/oolite-1.80/oolite-source-1.80/src/Core/GameController.m:48:9: 'Sparkle/Sparkle.h' file not found

Is the xcode project supposed to build in XCode 4.6.2? Does this "Sparkle" need to be separately installed?


Top
   
PostPosted: Sat Sep 20, 2014 7:11 pm 
Offline
Deadly
Deadly

Joined: Sun Feb 24, 2013 11:52 am
Posts: 177
I've also downloaded XCode 5.1.1, and found the same problem. Unless I'm missing something, the 1.80 Oolite source release xcode project is broken for building on Mac OS X: the Sparkle framework is missing from the project (it's referenced in the project, but is missing and shown in red in XCode).

I donwloaded Sparkle-v1.80 (coincidence!) and added it to the Frameworks/linked frameworks in the XCode project, and removed the missing (red) Sparkle framework reference, and the build then succeeded.


Top
   
PostPosted: Sun Aug 09, 2015 6:29 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Mon Jul 06, 2009 11:12 pm
Posts: 316
Location: Uncharted backwaters of the unfashionable end of the western spiral arm
I also had a problem with Sparkle, and pthreads.

However
Code:
git submodule update --init
pulls in any missing dependencies. That takes longer to download than the oolite part does. :-)

So I've just built it under XCode 6.4 without needing to change anything at all... 283 warnings but no errors. And it runs!

(This Mac is old enough to have an actual HDD with moving parts, so when I say "build" it's at roughly the same speed as building pyramids...)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited