Closed GoogleCodeExporter closed 9 years ago
Please list errors
Original comment by iamsca...@gmail.com
on 29 May 2009 at 6:12
main.cpp
In file included from f:/Wii/projet/wiiradio/source/main.cpp:1:
f:/Wii/projet/wiiradio/source/globals.h:51:21: warning: SDL/SDL.h: No such file
or
directory
f:/Wii/projet/wiiradio/source/globals.h:52:27: warning: SDL/SDL_image.h: No
such file
or directory
f:/Wii/projet/wiiradio/source/globals.h:53:25: warning: SDL/SDL_ttf.h: No such
file
or directory
f:/Wii/projet/wiiradio/source/globals.h:54:35: warning:
SDL/SDL_gfxPrimitives.h: No
such file or directory
In file included from f:/Wii/projet/wiiradio/source/main.cpp:1:
f:/Wii/projet/wiiradio/source/globals.h:84: error: expected initializer before
'*' token
f:/Wii/projet/wiiradio/source/globals.h:85: error: 'Uint8' does not name a type
f:/Wii/projet/wiiradio/source/globals.h:86: error: 'Uint8' does not name a type
f:/Wii/projet/wiiradio/source/globals.h:96: error: 'Uint64' does not name a type
f:/Wii/projet/wiiradio/source/globals.h:102: error: 'Uint64' does not name a
type
f:/Wii/projet/wiiradio/source/globals.h:104: error: expected initializer before
'*' token
f:/Wii/projet/wiiradio/source/globals.h:105: warning: 'draw_rect' initialized
and
declared 'extern'
f:/Wii/projet/wiiradio/source/globals.h:105: error: variable or field
'draw_rect'
declared void
f:/Wii/projet/wiiradio/source/globals.h:105: error: 'SDL_Surface' was not
declared in
this scope
f:/Wii/projet/wiiradio/source/globals.h:105: error: expected primary-expression
before ',' token
f:/Wii/projet/wiiradio/source/globals.h:105: error: expected primary-expression
before 'int'
f:/Wii/projet/wiiradio/source/globals.h:105: error: expected primary-expression
before 'int'
f:/Wii/projet/wiiradio/source/globals.h:105: error: expected primary-expression
before 'int'
f:/Wii/projet/wiiradio/source/globals.h:105: error: expected primary-expression
before 'int'
f:/Wii/projet/wiiradio/source/globals.h:105: error: expected primary-expression
before 'unsigned'
f:/Wii/projet/wiiradio/source/globals.h:157: error: 'SDL_Event' does not name a
type
In file included from f:/Wii/projet/wiiradio/source/globals.h:160,
from f:/Wii/projet/wiiradio/source/main.cpp:1:
f:/Wii/projet/wiiradio/source/textures.h:10: error: ISO C++ forbids declaration
of
'SDL_Surface' with no type
f:/Wii/projet/wiiradio/source/textures.h:10: error: expected ';' before '*'
token
f:/Wii/projet/wiiradio/source/textures.h:29: error: ISO C++ forbids declaration
of
'SDL_Surface' with no type
f:/Wii/projet/wiiradio/source/textures.h:29: error: expected ';' before '*'
token
f:/Wii/projet/wiiradio/source/main.cpp:889: error: expected `;' at end of input
f:/Wii/projet/wiiradio/source/main.cpp:889: error: expected `}' at end of input
f:/Wii/projet/wiiradio/source/textures.h: In constructor
'texture_cache::texture_cache()':
f:/Wii/projet/wiiradio/source/textures.h:16: error: 'texture' was not declared
in
this scope
f:/Wii/projet/wiiradio/source/textures.h: In destructor
'texture_cache::~texture_cache()':
f:/Wii/projet/wiiradio/source/textures.h:22: error: 'texture' was not declared
in
this scope
f:/Wii/projet/wiiradio/source/textures.h:23: error: 'SDL_FreeSurface' was not
declared in this scope
f:/Wii/projet/wiiradio/source/textures.h: At global scope:
f:/Wii/projet/wiiradio/source/textures.h:27: error: expected unqualified-id at
end of
input
make[1]: *** [main.o] Error 1
"make": *** [build] Error 2
> Process Exit Code: 2
> Time Taken: 00:02
Original comment by satel...@voila.fr
on 29 May 2009 at 6:39
I compile sources of USBLGX without problems
Original comment by satel...@voila.fr
on 29 May 2009 at 6:46
You don't have lib SDL installed or it's not in the correct place.
see : http://code.google.com/p/sdl-wii/
Original comment by iamsca...@gmail.com
on 29 May 2009 at 8:28
thanks, it is better, but there are still errors ^^
main.cpp
c:/devkitPro/libogc/include/mp3player.h: In function 'void*
critical_thread(void*)':
c:/devkitPro/libogc/include/mp3player.h:16: error: too many arguments to
function
's32 MP3Player_PlayFile(void*, s32 (*)(void*, void*, s32), void (*)(mad_stream*,
mad_frame*))'
f:/Wii/projet/wiiradio/source/main.cpp:637: error: at this point in file
make[1]: *** [main.o] Error 1
"make": *** [build] Error 2
Original comment by satel...@voila.fr
on 29 May 2009 at 8:48
yes. I use a rewrite of libmad ... see
http://code.google.com/p/wiiradio/source/browse/#svn/trunk/custom%20libmad.
Backup
and replace the current libmad with this one.
Original comment by iamsca...@gmail.com
on 29 May 2009 at 8:57
they advance lol
linking ... wiiradio.elf
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-gekko/4.2.4/../../../../powerpc-ge
kko/bin/ld.exe:
cannot find -lSDL_gfx
collect2: ld returned 1 exit status
make[1]: *** [/f/Wii/projet/wiiradio/wiiradio.elf] Error 1
"make": *** [build] Error 2
Original comment by satel...@voila.fr
on 29 May 2009 at 9:20
lib SDL_gfx is part of the SDL Port.
Original comment by iamsca...@gmail.com
on 29 May 2009 at 9:52
I found this, but I do not know so that's right and where to put it:/
http://www.ferzkopp.net/joomla/content/view/19/14/
Original comment by satel...@voila.fr
on 29 May 2009 at 10:04
It's already in the Wii SDL port -
http://sdl-wii.googlecode.com/files/SDL%20Wii%2005-13-2009.zip
Original comment by iamsca...@gmail.com
on 29 May 2009 at 10:25
bah, yes, but I have already put everything... :/
i don't understand... there is a news rev as the usblgx, I have just tried and
this
compiles very well (after re-put bakup mp3player.h)
it is damage, I would be kind enough to try your revs and maybe to help you... I
would look later;)
Original comment by satel...@voila.fr
on 29 May 2009 at 10:34
the wiiradio.dol downloaded with r22 files, is dol r22 ?
Original comment by satel...@voila.fr
on 29 May 2009 at 10:40
yes
Original comment by iamsca...@gmail.com
on 29 May 2009 at 11:21
Ok, thanks very much for all :)
Original comment by satel...@voila.fr
on 29 May 2009 at 11:31
Original issue reported on code.google.com by
satel...@voila.fr
on 29 May 2009 at 4:31