Jarvik7 / sdl-wii

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

Error compiling SDL_mixer #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Compiling SDL_mixer

What is the expected output? What do you see instead?
During the compile, i get the
"c:\devkitPro\devkitPPC\bin\powerpc-eabi-ar.exe: obj/dynamic_ogg.o: No such
file or directory" error.

What version of the product are you using? On what operating system?
Latest Libogc/WiiSDL on windows vista.

Original issue reported on code.google.com by kylehav@gmail.com on 30 Nov 2009 at 9:25

GoogleCodeExporter commented 9 years ago
mixer has SDL and smpeg as dependencies. did you make and make install those 
first?

Original comment by dborth@gmail.com on 30 Nov 2009 at 9:29

GoogleCodeExporter commented 9 years ago
yes, those made and installed fine, but I still get the error. I've also tried
redownloading the source from svn.

Original comment by kylehav@gmail.com on 30 Nov 2009 at 9:39

GoogleCodeExporter commented 9 years ago
"c:\devkitPro\devkitPPC\bin\powerpc-eabi-ar.exe: obj/dynamic_ogg.o: No such
file or directory" error.

Do you have lib tremor installed from port libs?  I can't repro this either.  

lib Tremor is here -
http://sourceforge.net/projects/devkitpro/files/portlibs/tremor-lowmem-ppc.tar.b
z2/download

Original comment by iamsca...@gmail.com on 1 Dec 2009 at 6:28

GoogleCodeExporter commented 9 years ago
I don't have the error anymore, but when linking a project i get another error: 
c:/devkitPro/libogc/lib/wii\libSDL.a(SDL_wii_main.o): In function `main':
c:\wii-sdl\SDL/src/main/wii/SDL_wii_main.c:72: undefined reference to `SDL_main'
I've made sure the libraries are referenced in the right order, as well.

Original comment by kylehav@gmail.com on 1 Dec 2009 at 10:08

GoogleCodeExporter commented 9 years ago
it's a common mistake when using SDL.  Make sure your main function prototype is
correct, see http://www.gamedev.net/community/forums/topic.asp?topic_id=332647

Original comment by iamsca...@gmail.com on 2 Dec 2009 at 6:16

GoogleCodeExporter commented 9 years ago

Original comment by iamsca...@gmail.com on 7 Dec 2009 at 6:49