Discuss one of the most feature filled GameCube applications here

-
andzlay
- Posts: 451
- Joined: Thu Jul 08, 2010 12:53 am
- Location: Germany
Post
by andzlay » Sun May 06, 2012 1:02 am
Hey guys
I svn-checked out r149 and can't compile it... I get these errors:
Code: Select all
C:\devkitPro\swiss-gc\cube\swiss>make
main.c
c:/devkitPro/swiss-gc/cube/swiss/source/main.c: In function 'populateVideoStr':
c:/devkitPro/swiss-gc/cube/swiss/source/main.c:55:15: error: 'TVPal576ProgScale' undeclared (first use in this function)
c:/devkitPro/swiss-gc/cube/swiss/source/main.c:55:15: note: each undeclared identifier is reported only once for each function it appears in
c:/devkitPro/swiss-gc/cube/swiss/source/main.c:61:20: error: 'TVPal576IntDfScale' undeclared (first use in this function)
c:/devkitPro/swiss-gc/cube/swiss/source/main.c: In function 'Initialise':
c:/devkitPro/swiss-gc/cube/swiss/source/main.c:94:14: error: 'TVPal576ProgScale' undeclared (first use in this function)
c:/devkitPro/swiss-gc/cube/swiss/source/main.c:103:14: error: 'TVPal576IntDfScale' undeclared (first use in this function)
make[1]: *** [main.o] Error 1
make: *** [build] Error 2
Any hints?
-
emu_kidid
- Site Admin
- Posts: 4948
- Joined: Mon Mar 29, 2010 10:06 am
- Location: Australia
-
Contact:
Post
by emu_kidid » Sun May 06, 2012 1:50 am
Update libogc from git
-
Extrems
- Posts: 1352
- Joined: Tue Aug 17, 2010 10:40 pm
- Location: Québec, Canada
-
Contact:
Post
by Extrems » Sun May 06, 2012 2:10 am
-
Cubelover
- Posts: 313
- Joined: Wed Apr 07, 2010 1:22 am
Post
by Cubelover » Sun May 06, 2012 9:30 pm
I had the same error. Then I updated to latest libogc and this time I got different errors:
Code: Select all
c:/TortoiseSVN/swiss-gc/cube/swiss/source/devices/fat/deviceHandler-FAT.c: In function 'deviceHandler_FAT_readDir':
c:/TortoiseSVN/swiss-gc/cube/swiss/source/devices/fat/deviceHandler-FAT.c:71:2: error: 'DIR' undeclared (first use in this function)
c:/TortoiseSVN/swiss-gc/cube/swiss/source/devices/fat/deviceHandler-FAT.c:71:2: note: each undeclared identifier is reported only once for each function it appears in
c:/TortoiseSVN/swiss-gc/cube/swiss/source/devices/fat/deviceHandler-FAT.c:71:7: error: 'dp' undeclared (first use in this function)
c:/TortoiseSVN/swiss-gc/cube/swiss/source/devices/fat/deviceHandler-FAT.c:71:2: warning: implicit declaration of function 'opendir'
c:/TortoiseSVN/swiss-gc/cube/swiss/source/devices/fat/deviceHandler-FAT.c:85:2: warning: implicit declaration of function 'readdir'
c:/TortoiseSVN/swiss-gc/cube/swiss/source/devices/fat/deviceHandler-FAT.c:86:18: error: dereferencing pointer to incomplete type
c:/TortoiseSVN/swiss-gc/cube/swiss/source/devices/fat/deviceHandler-FAT.c:86:43: error: dereferencing pointer to incomplete type
c:/TortoiseSVN/swiss-gc/cube/swiss/source/devices/fat/deviceHandler-FAT.c:86:70: error: dereferencing pointer to incomplete type
c:/TortoiseSVN/swiss-gc/cube/swiss/source/devices/fat/deviceHandler-FAT.c:90:53: error: dereferencing pointer to incomplete type
c:/TortoiseSVN/swiss-gc/cube/swiss/source/devices/fat/deviceHandler-FAT.c:99:55: error: dereferencing pointer to incomplete type
c:/TortoiseSVN/swiss-gc/cube/swiss/source/devices/fat/deviceHandler-FAT.c:116:2: warning: implicit declaration of function 'closedir'
make[1]: *** [deviceHandler-FAT.o] Error 1
rm boxouter.tpl backdrop.tpl hdd.tpl btnhilight.tpl btnrefresh.tpl qoob.tpl boxinner.tpl btndevice.tpl btnnohilight.tpl gcdvdsmall.tpl sdsmall.tpl btnexit.tpl btnsettings.tpl wodeimg.tpl btninfo.tpl
"make": *** [build] Error 2
I don't know why I get FAT errors. I have compiled the libfat library with fragmentation support according to the steps in
this wiki and replaced it wth the libfat.a that was bundled in latest libogc.
-
andzlay
- Posts: 451
- Joined: Thu Jul 08, 2010 12:53 am
- Location: Germany
Post
by andzlay » Mon May 07, 2012 7:24 am
Nice after libogc update it works.
@Cubelover: have you copied the libfat-frag after the libogc update or before?

-
Cubelover
- Posts: 313
- Joined: Wed Apr 07, 2010 1:22 am
Post
by Cubelover » Mon May 07, 2012 11:29 am
You mean the libfat.a file compiled from /libfat-frag/src ? Of course I copied it after the update.
-
Cubelover
- Posts: 313
- Joined: Wed Apr 07, 2010 1:22 am
Post
by Cubelover » Mon May 07, 2012 8:17 pm
@andylazy: Would you mind sharing your compiled r149 with me?
-
Cubelover
- Posts: 313
- Joined: Wed Apr 07, 2010 1:22 am
Post
by Cubelover » Mon May 07, 2012 8:41 pm
andzlay wrote:I also copied fat.h from include to include in libogc... maybe that helps?
Sadly, no. Actually I have never been able to compile Swiss myself, even though I did all the steps.
Thanks for the link

-
infact
- Posts: 346
- Joined: Tue Mar 29, 2011 4:35 am
- Location: Germany
Post
by infact » Tue May 08, 2012 9:37 am
try with a clean swiss checkout and if that not helps a clean build environment. i guess something is wrong with your dkppc install.
infact

-
andzlay
- Posts: 451
- Joined: Thu Jul 08, 2010 12:53 am
- Location: Germany
Post
by andzlay » Tue May 08, 2012 1:32 pm
Cubelover, have you already tried it out?
-
Cubelover
- Posts: 313
- Joined: Wed Apr 07, 2010 1:22 am
Post
by Cubelover » Thu May 10, 2012 12:20 am
Yes I tried it out on my Wii but for some reason Swiss can't read the disc inserted. I can't get past the error screen. That's weird because I never had such a problem with Swiss before. Granted the last version I tried was an old one. Don't remember the rev, but the file size was around 1MB less than the file size of the current latest Swiss.
Will it give another try later but perhaps someone can test latest Swiss on their Wii and report the result?
Btw, I still can't compile Swiss. Same error as above. I guess Swiss just doesn't like me, lol.
-
andzlay
- Posts: 451
- Joined: Thu Jul 08, 2010 12:53 am
- Location: Germany
Post
by andzlay » Tue Dec 04, 2012 4:29 pm
Well I tried to compile r183 today but I can't compile it...
Code: Select all
c:/Users/Andy/GC/swiss-gc/cube/swiss/source/gui/FrameBufferMagic.c:24:26: fatal
error: backdrop_tpl.h: No such file or directory
compilation terminated.
blankbanner.c
make[1]: *** [FrameBufferMagic.o] Error 1
make[1]: *** Waiting for unfinished jobs....
rm boxouter.tpl backdrop.tpl hdd.tpl btnhilight.tpl btnrefresh.tpl qoob.tpl boxi
nner.tpl btndevice.tpl btnnohilight.tpl gcdvdsmall.tpl sdsmall.tpl btnexit.tpl b
tnsettings.tpl wodeimg.tpl btninfo.tpl
make: *** [build] Error 2
-
megalomaniac
- Posts: 2480
- Joined: Sun Aug 21, 2011 5:33 am
- Location: Drunk in Texas
-
Contact:
Post
by megalomaniac » Tue Dec 04, 2012 8:22 pm
just downloaded, compiled fine
make clean and try again??
-
emu_kidid
- Site Admin
- Posts: 4948
- Joined: Mon Mar 29, 2010 10:06 am
- Location: Australia
-
Contact:
Post
by emu_kidid » Tue Dec 04, 2012 9:56 pm
don't use --jobs=9 in makeme.bat. that's just a shortcut for me.
-
BenoitRen
- Posts: 263
- Joined: Sun Jul 29, 2012 3:37 pm
Post
by BenoitRen » Tue Dec 04, 2012 10:51 pm
Thanks for this, going to try it on my Wii. If it works I'll be able to start testing for regressions.

Hardware: Wii (PAL)
Hardware configuration: System Menu 4.1E, Priiloader
Swiss boot method: Modified Wii Swiss Booter provided by Extrems
Software medium: Retail discs
-
emu_kidid
- Site Admin
- Posts: 4948
- Joined: Mon Mar 29, 2010 10:06 am
- Location: Australia
-
Contact:
Post
by emu_kidid » Tue Dec 04, 2012 11:14 pm
r146 is from before 0.3 though?
-
BenoitRen
- Posts: 263
- Joined: Sun Jul 29, 2012 3:37 pm
Post
by BenoitRen » Wed Dec 05, 2012 2:43 pm
Yes, but some games worked correctly on r136 that don't anymore on r174 (0.3). If I can find when the regression occurred, it could be fixed.
Hardware: Wii (PAL)
Hardware configuration: System Menu 4.1E, Priiloader
Swiss boot method: Modified Wii Swiss Booter provided by Extrems
Software medium: Retail discs