gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > devkit R17 on macosX

#58860 - nunoalves - Wed Oct 26, 2005 9:16 pm

hello! the idea to have devkit for macosX was great. there is plan to relase a R17 for mac os X right?

now i can just wish that PA_lib also gets included in future versions of devkit...

take care

#58910 - Phan - Thu Oct 27, 2005 4:23 am

nunoalves,

I suggest downloading the new buildscripts from the Devkitpro.org site. The newest is indeed compatible with Mac OS X.



As for PA_lib, I can understand people wanting to use it for its simplicity, but don't use it.


Its a good lib, but the best thing to do is learn what its doing before you use it.

So my suggestion, is to find a good sprite demo,or whatever you are going to do, (like the one in the newest ndsexamples) and look at that.

If you have any questions about programming on a Mac, email me at poff*y@*hous*ton.rr*.com (remove all *s)

#58960 - crossraleigh - Thu Oct 27, 2005 4:55 pm

There are no new buildscripts officially released ATM. You need to check them out of CVS yourself:

Code:
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/devkitpro login
# Press enter for the password.
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/devkitpro checkout -P buildscripts

If you would rather wait, I should have an r17 installer up in a day or two.
_________________
My world is black and white, but if I blink fast enough, I see it in grayscale.

#59050 - TopCat - Fri Oct 28, 2005 12:18 pm

Can you use this development kit under Xcode?

- TC

#59663 - crossraleigh - Thu Nov 03, 2005 4:22 am

An OS X r17 package is up. Sorry I'm late.

TopCat, yes you can. The way I did it was to create an empty project and add an External Target. Then, I imported my source files and makefile. I had to add

Code:
DEVKITPRO := /opt/local/devkitpro
DEVKITARM := $(DEVKITPRO)/devkitARM

to the top of my makefile since Xcode ignores the shell environment variables. It's rudimentary, and I have zero interest in it personally, but it should help get you going.
_________________
My world is black and white, but if I blink fast enough, I see it in grayscale.

#59711 - wintermute - Thu Nov 03, 2005 5:55 pm

Is there any way to set the environment variables within Xcode? Visual Studio has similar problems in some situations where it ignores the system paths and substitutes it's own.

#59949 - crossraleigh - Sat Nov 05, 2005 9:50 pm

After a little bit of research this is what I found. It turns out to be pretty simple: Double-click your target and add DEVKITPRO and DEVKITARM to the build settings.
_________________
My world is black and white, but if I blink fast enough, I see it in grayscale.