Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
Developers
 Brain Games Forums : Developers
Subject Topic: development environment for OSX Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
patsie
Senior Member
Senior Member
Avatar

Joined: 08 July 2006
Posts: 257
Posted: 27 July 2006 at 19:38 | IP Logged Quote patsie

My brand spanking new MacBook (the black one, with 2GHz Intel CoreDuo and a gig memory ) got fixed (bad memory ) and I got it back again. So now I want to start using it, for example, in the train to do some coding. But what kind of good development environment is there for OSX? Do I need to do it the *nix way, get my favorite editor and just 'gcc' on the prompt? Please give me some direction what _you_ use for coding on OSX. Ohw, and where/how do I get/install/use the SDL and GL libraries

Edited by patsie on 27 July 2006 at 19:39
Back to Top View patsie's Profile Search for other posts by patsie Visit patsie's Homepage Send Private Message Add to Buddy List
 
Popolon
Admin Group
Admin Group
Avatar

Joined: 05 November 2002
Location: Spain
Posts: 3135
Posted: 27 July 2006 at 21:37 | IP Logged Quote Popolon

I use the following:
- as a development environment, I use XCode (you should have it in your OS X install DVD, in a folder called "developer tools" or something like that).
- to get SDl, GL, etc. I use the *nix way. There is a package manager called "Fink" that allows you to install packages in OSX in the same way than apt-get for debian.

If you have XCode installed and get SDL using Fink, you will see that when you create a "new project" in XCode, you will have the option of "SDL application" and if you have SDL and GL, you will also have the optino of "SDL OpenGL application" (this last one is the one I use to compile the goonies).

Xcode is great, the only thing I don't like much is that it creates several floating windows (I usually prefer having a single window). But other than that is great.
Back to Top View Popolon's Profile Search for other posts by Popolon Visit Popolon's Homepage Send Private Message Add to Buddy List
 
patsie
Senior Member
Senior Member
Avatar

Joined: 08 July 2006
Posts: 257
Posted: 28 July 2006 at 06:57 | IP Logged Quote patsie

Thanks! I'll look into that. I tried to get Fink running once, but it was too much of a hassle then. But I'll see if I get it up-and-running this time. Got Xcode installed on my Mini yesterday, but haven't really looked into it yet.
Back to Top View patsie's Profile Search for other posts by patsie Visit patsie's Homepage Send Private Message Add to Buddy List
 
Jorito
Admin Group
Admin Group
Avatar

Joined: 30 December 2002
Location: Netherlands
Posts: 1930
Posted: 10 August 2006 at 11:26 | IP Logged Quote Jorito

Popolon wrote:

- to get SDl, GL, etc. I use the *nix way. There is a package manager called "Fink" that allows you to install packages in OSX in the same way than apt-get for debian.


Better use OSX Frameworks for that. Especially since SDL provides those frameworks for most of their standard libraries. You can install these frameworks in /Library/Frameworks, and link those into your application.

Frameworks are also the OSX preferred way to distribute in an OSX .app file; you can simply tell Xcode to copy these frameworks into your target. This prevents users from having to install/download those frameworks themselves. It's a bit like how Popolon distributes the Windows versions of our remakes, with SDL.dll

More info: http://trac.jorito.net/wiki/SDLToOSX
Back to Top View Jorito's Profile Search for other posts by Jorito Visit Jorito's Homepage Send Private Message Add to Buddy List
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.01
Copyright ©2001-2003 Web Wiz Guide

This page was generated in 0,1094 seconds.