Is there a development HOWTO for OSX?
Moderators: winston, another_commander
- Cmdr James
- Commodore
- Posts: 1357
- Joined: Tue Jun 05, 2007 10:43 pm
- Location: Berlin
Is there a development HOWTO for OSX?
I know, I know, if I cant figure this out, then I should give up before I get out of my depth.
In principle, I can svn co trunk, a bit of vi, and make and everything is sweet -- however, I suspect there is more to it than that.
So, enough preamble, I am interested in having a poke about in the source, see if I can understaand some of the things Ive seen happen, maybe work out how to fix the thatgoid ai problem and submit some patches.
More likely just satisfy my interest, and, admittedly, more likely still, download source, look at a coupe of files and never go back to it.
That said, before I go too far (I have already looked around svn using the web interface), I thought Id ask if there is already a HOWTO. I havent found one yet, but I thought, no harm in asking, right?
The kind of things I thought I might need to know, do I need an exotic compiler (do I need to pay for one, or can I use gcc or something like that?)? Im kind of assuming the latest GNUmake and so on will do me for most things.
IDE, well, Im happy using vi, but maybe Im missing a trick, dont want any religious wars, but is there a standardish tool other people are using (I have heard eclipse mentioned, for example).
I dont really know objective C, and Im not an OSX expert, however, Im not planning on doing much, just reading, understanding, and maybe fixing some stuff. I have about 10 years programming experience, and I think that the odd bugfix shouldnt be that far beyond me.
So, any pointers and gotchas would be appreciated a link to a howto of some kind, or a couple of lines, get this compiler, svn co this, get make v1.0 .configure make install would do
In principle, I can svn co trunk, a bit of vi, and make and everything is sweet -- however, I suspect there is more to it than that.
So, enough preamble, I am interested in having a poke about in the source, see if I can understaand some of the things Ive seen happen, maybe work out how to fix the thatgoid ai problem and submit some patches.
More likely just satisfy my interest, and, admittedly, more likely still, download source, look at a coupe of files and never go back to it.
That said, before I go too far (I have already looked around svn using the web interface), I thought Id ask if there is already a HOWTO. I havent found one yet, but I thought, no harm in asking, right?
The kind of things I thought I might need to know, do I need an exotic compiler (do I need to pay for one, or can I use gcc or something like that?)? Im kind of assuming the latest GNUmake and so on will do me for most things.
IDE, well, Im happy using vi, but maybe Im missing a trick, dont want any religious wars, but is there a standardish tool other people are using (I have heard eclipse mentioned, for example).
I dont really know objective C, and Im not an OSX expert, however, Im not planning on doing much, just reading, understanding, and maybe fixing some stuff. I have about 10 years programming experience, and I think that the odd bugfix shouldnt be that far beyond me.
So, any pointers and gotchas would be appreciated a link to a howto of some kind, or a couple of lines, get this compiler, svn co this, get make v1.0 .configure make install would do
- Cmdr James
- Commodore
- Posts: 1357
- Joined: Tue Jun 05, 2007 10:43 pm
- Location: Berlin
- LittleBear
- ---- E L I T E ----
- Posts: 2882
- Joined: Tue Apr 04, 2006 7:02 pm
- Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.
Check the Wiki OXP page here:-
http://wiki.alioth.net/index.php/OXP
You can mod loads of stuff on Oolite by making an OXP. Then put it up for download on the Wiki OXP page so other can play it!. The player just has to put your .oxp folder in the Oolite AddOns folder for it to run. Don't need to rebuild Oolite or anything complex!
The page shows you stuff other modders have done and at the bottom links to how to do it. Links to all OXPs are also given here.
An OXP works on Mac Windows or Unix. As long as you follow the rules for making an OXP it works on any build.
OXPs are done by .plists, that don't need proper programing skills to write. The Assassins link on my signature will take you to an OXP I did (I'm a lawyer not a programmer!). If you wanna check the readme included in the dowbload, an explanation to how I did stuff is included! Its pretty easy though!
Improvements to AIs (and much other stuff) is OXPable!
http://wiki.alioth.net/index.php/OXP
You can mod loads of stuff on Oolite by making an OXP. Then put it up for download on the Wiki OXP page so other can play it!. The player just has to put your .oxp folder in the Oolite AddOns folder for it to run. Don't need to rebuild Oolite or anything complex!
The page shows you stuff other modders have done and at the bottom links to how to do it. Links to all OXPs are also given here.
An OXP works on Mac Windows or Unix. As long as you follow the rules for making an OXP it works on any build.
OXPs are done by .plists, that don't need proper programing skills to write. The Assassins link on my signature will take you to an OXP I did (I'm a lawyer not a programmer!). If you wanna check the readme included in the dowbload, an explanation to how I did stuff is included! Its pretty easy though!
Improvements to AIs (and much other stuff) is OXPable!
Last edited by LittleBear on Mon Jul 23, 2007 8:41 pm, edited 2 times in total.
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
http://wiki.alioth.net/index.php/Runnin ... rom_source should tell you what you need to know, including how to get the latest, free, developer tools for Mac OS X. Doing it using GNUmake would be very, very painful; I recommend the aforementioned free tools.
Getting it building under Mac OS X should be easier than the Linux mess, because it’s the primary Oolite development environment and a more homogenous system.
Getting it building under Mac OS X should be easier than the Linux mess, because it’s the primary Oolite development environment and a more homogenous system.
E-mail: [email protected]
- Cmdr James
- Commodore
- Posts: 1357
- Joined: Tue Jun 05, 2007 10:43 pm
- Location: Berlin
Thanks for the advice on OXPs, I know thats probably the most sensible way to contribute, but, to be honest, it doesnt excite me. Ive looked at a few, and made a few changes, but thats not my thing, Id rather look at the innards.
If anything good for the community comes of it, then great, but its really just to satisfy my interest.
Ahruman, thats perfect, thanks.
If anything good for the community comes of it, then great, but its really just to satisfy my interest.
Ahruman, thats perfect, thanks.
- LittleBear
- ---- E L I T E ----
- Posts: 2882
- Joined: Tue Apr 04, 2006 7:02 pm
- Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.
Be good if you did contribute at that sort of level. A Lot of us (non-progammers) contribute at the OXP level, but there's only really Ahruman and Another Commander helping at the proper programmer level! Ahruman has done a load of stuff recentley improving the engine, but sure he'd like to assimilate more proper programmers into the project!
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Is there a development HOWTO for OSX?
I should probably point out that I know exactly how to fix this one, if you’re referring to Thargoids killing each other.Cmdr James wrote:maybe work out how to fix the thatgoid ai problem
E-mail: [email protected]
- Cmdr James
- Commodore
- Posts: 1357
- Joined: Tue Jun 05, 2007 10:43 pm
- Location: Berlin
- Cmdr James
- Commodore
- Posts: 1357
- Joined: Tue Jun 05, 2007 10:43 pm
- Location: Berlin
Small point
Firstly, as I noted elsewhere, I had to use pnglib 1.2.16, or I got a compile error. I guess this is the same as the oolite 1.69.0 startup problem I had.
The same as this guy had http://lists.freebsd.org/pipermail/free ... 20128.html
Secondly, I had to manually create an <output>/Development/Oolite.mdimporter folder. Should I make these comments on the wiki (page linked)?[/url]
The same as this guy had http://lists.freebsd.org/pipermail/free ... 20128.html
Secondly, I had to manually create an <output>/Development/Oolite.mdimporter folder. Should I make these comments on the wiki (page linked)?[/url]
- Cmdr James
- Commodore
- Posts: 1357
- Joined: Tue Jun 05, 2007 10:43 pm
- Location: Berlin
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Small point
That’s weird. Oolite.mdimporter should be created automatically by Xcode building the Oolite-importer subproject. Is that not happening? What OS version and XCode version are you using?Cmdr James wrote:Secondly, I had to manually create an <output>/Development/Oolite.mdimporter folder.
E-mail: [email protected]
- Cmdr James
- Commodore
- Posts: 1357
- Joined: Tue Jun 05, 2007 10:43 pm
- Location: Berlin
10.4.10 intel OSX
xcode_2.4.1_8m1910_6936315
downloaded and installed the "latest" xcode about 1 hour ago.
xcode was not crating the folder, it was giving a build error because that was missing, so I created it, and now its happy.
Could be due to my changing the output for build artefacts from the default?
xcode_2.4.1_8m1910_6936315
downloaded and installed the "latest" xcode about 1 hour ago.
xcode was not crating the folder, it was giving a build error because that was missing, so I created it, and now its happy.
Could be due to my changing the output for build artefacts from the default?
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Quite likely. Oolite-importer.xcodeproj has its build output path explicitly set to ../build; it needs to build into the same folder as the main project in order for the main project to find its output to copy into the bundle… one of Xcode’s many little annoyances.
E-mail: [email protected]
- Cmdr James
- Commodore
- Posts: 1357
- Joined: Tue Jun 05, 2007 10:43 pm
- Location: Berlin
(Sorry if it is wrong to bump an old thread.)Ahruman wrote:http://wiki.alioth.net/index.php/Runnin ... rom_source should tell you what you need to know, including how to get the latest, free, developer tools for Mac OS X. Doing it using GNUmake would be very, very painful; I recommend the aforementioned free tools.
Getting it building under Mac OS X should be easier than the Linux mess, because it’s the primary Oolite development environment and a more homogenous system.
I've followed the instructions as closely as I can, but the latest trunk src (10.5/TestRelease/Oolite/i386 config) fails with:
Code: Select all
Building target “libjs” of project “libjs” with configuration “TestRelease” — (1 error)
Checking Dependencies
error: There is no SDK with specified name or path '/Developer/SDKs/MacOSX10.3.9.sdk'
error: There is no SDK with specified name or path '/Developer/SDKs/MacOSX10.3.9.sdk'
Build failed (1 error)