Help compilling over Mac OS 10.5 + Xcode 3

support for the powerpc toolchain
Post Reply
User avatar
misato
Posts: 2
Joined: Sat Sep 27, 2008 11:56 am

Help compilling over Mac OS 10.5 + Xcode 3

Post by misato » Sat Sep 27, 2008 12:04 pm

Hi,
First of all i'm newbie at developing for Wii or GC. I've found a hello world template in the cvs and tried to complie and try it over my wii.
I'm using devkitppc r15 over Mac os 10.5 and compilling with it over Xcode 3.
When i try to build the project, it sais:

Code: Select all

/Users/misato/Desktop/Untitled/source/main.c:17: undefined reference to `WPAD_Init'
/Users/misato/Desktop/Untitled/source/main.c:58: undefined reference to `WPAD_ScanPads'
/Users/misato/Desktop/Untitled/source/main.c:62: undefined reference to `WPAD_ButtonsDown'
The main.c is this one: http://devkitpro.cvs.sourceforge.net/de ... iew=markup

At first i suposed that wpad.h doesn't exist on my pc but it's here, and correct. Also Xcode recognised it because if i write WPAD_ it suggested me the functions on this library.

Does anybody knows what is happening?

Thanks in anticipation, and sorry for my poor written english

WinterMute
Site Admin
Posts: 1989
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Help compilling over Mac OS 10.5 + Xcode 3

Post by WinterMute » Wed Oct 29, 2008 10:15 am

This is a link error caused by not specifying -lwiiuse in your makefile. See the template Makefile for the libraries you need to link.

http://devkitpro.cvs.sourceforge.net/vi ... iew=markup
Help keep devkitPro toolchains free, Donate today

Personal Blog

User avatar
misato
Posts: 2
Joined: Sat Sep 27, 2008 11:56 am

Re: Help compilling over Mac OS 10.5 + Xcode 3

Post by misato » Wed Oct 29, 2008 10:42 am

Thank you very much, i'll take a look of it at home. :)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests