derek57 / sdl-wii

Automatically exported from code.google.com/p/sdl-wii
0 stars 0 forks source link

Undefined references to MOUSE_Init and KEYBOARD_Init #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In an attempt to update Paradroid to use this port of SDL (and hopefully
fix some bugs), I updated my devkitPPC and libogc to the latest binary
releases. (devkitppc release 17, and libogc 1.7.1a).  I used the version of
SDL dated 5-13-2009.

During compilation, I get undefined references to MOUSE_Init and KEYBOARD_Init:

/opt/devkitpro/libogc/lib/wii/libSDL.a(SDL_wii_main.o): In function `main':
C:\Users\Daryl\Desktop\Projects\sdl-wii\SDL/src/main/wii/SDL_wii_main.c:68:
undefined reference to `MOUSE_Init'
C:\Users\Daryl\Desktop\Projects\sdl-wii\SDL/src/main/wii/SDL_wii_main.c:69:
undefined reference to `KEYBOARD_Init'
/opt/devkitpro/libogc/lib/wii/libSDL.a(SDL_wiievents.o): In function
`PumpEvents':
C:\Users\Daryl\Desktop\Projects\sdl-wii\SDL/src/video/wii/SDL_wiievents.c:64:
undefined reference to `KEYBOARD_GetEvent'
C:\Users\Daryl\Desktop\Projects\sdl-wii\SDL/src/video/wii/SDL_wiievents.c:65:
undefined reference to `MOUSE_GetEvent'

I'm certain this is just a libogc version issue, but what versions should I
be using at this point? Thanks.

Original issue reported on code.google.com by okach...@gmail.com on 7 Jun 2009 at 7:32

GoogleCodeExporter commented 9 years ago
Hi there. You'll need to use the latest libogc/libfat from SVN. The current 
binary 
version is very old. A new binary release is due out soon, but I can't say 
exactly 
when.

Original comment by dborth@gmail.com on 7 Jun 2009 at 7:34

GoogleCodeExporter commented 9 years ago
thanks.  I suspected I'd need to build it.

Original comment by okach...@gmail.com on 7 Jun 2009 at 7:37