Jarvik7 / sdl-wii

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

SDL Wii 05-13-2009.zip not compiled correctly #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download and install SDL Wii 05-13-2009.zip
2. try to compile something.

What is the expected output?

It should compile...

What do you see instead?
/home/dhains/code/wii/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'
C:\Users\Daryl\Desktop\Projects\sdl-wii\SDL/src/main/wii/SDL_wii_main.c:72:
undefined reference to `SDL_main'
collect2: ld returned 1 exit status

What version of the product are you using? On what operating system?
5-13-2009 release on Linux

Original issue reported on code.google.com by dha...@gmail.com on 13 Jun 2009 at 5:50

GoogleCodeExporter commented 9 years ago
yes, you need the latest libogc/libfat from devkitpro SVN, and then make sure 
to 
include -lwiikeyboard in your project's Makefile under LIBS

Original comment by dborth@gmail.com on 13 Jun 2009 at 5:53