Changes

1,360 bytes added ,  19:02, 18 June 2009
question
Line 31: Line 31:     
Thanks in advance, [[User:Doogie|Doogie]] 10:31, 3 May 2009 (UTC)
 
Thanks in advance, [[User:Doogie|Doogie]] 10:31, 3 May 2009 (UTC)
 +
 +
== Cannot compile the template ==
 +
 +
I copied the template and all the sdl includes with the libs and dependencies into the libogc folder. I tried to compile it using programmers notepad.
 +
 +
This is the output:
 +
<pre>
 +
> "make"
 +
template.c
 +
 +
linking ... SDL_template.elf
 +
 +
c:/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'
 +
 +
c:/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'
 +
 +
collect2: ld returned 1 exit status
 +
 +
make[1]: *** [/c/devkitPro/examples/wii/SDL_template/SDL_template.elf] Error 1
 +
 +
"make": *** [build] Error 2
 +
 +
> Process Exit Code: 2
 +
 +
> Time Taken: 00:02
 +
</pre>
 +
 +
That question was asked on my SDL Tutorial talk page. I also had that error so I reinstalled Devkit with the older SDL version. How do I update Libogc to the SVN version the right way? So without having this error? [[User:GabberNL|GabberNL]] 17:02, 18 June 2009 (UTC)
381

edits