Hacking NeoGamma R8 beta test

Status
Not open for further replies.

longtom1

Keep an eye on my posts cause I quick edit frequen
Member
Joined
Jan 12, 2009
Messages
2,641
Trophies
1
Location
Honey Oils inc.
Website
Visit site
XP
197
Country
source code won't compile for me when previous versions have compiled no bother

here's the error

Code:
main.c
d:/sourcecode/source/main.c: In function 'main':
d:/sourcecode/source/main.c:168: error: 'screenheight' undeclared (first use in
this function)
d:/sourcecode/source/main.c:168: error: (Each undeclared identifier is reported
only once
d:/sourcecode/source/main.c:168: error: for each function it appears in.)
d:/sourcecode/source/main.c:178: error: 'xfb' undeclared (first use in this func
tion)
make[1]: *** [main.o] Error 1
make: *** [build] Error 2
 

XFlak

Wiitired but still kicking
Member
Joined
Sep 12, 2009
Messages
13,883
Trophies
3
Age
38
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
9,920
Country
Cyprus
source code won't compile for me either (previous versions compiled w/ no problems)

although my error is different than longtom's, it seems I am getting further than he is though

@longtom, make sure ur using the right libogc and u should at least get as far as I did

Code:
> "make" 
background.png
bin2s -a 32 /c/projects/Neogamma/data/background.png | powerpc-eabi-as -o background.png.o
echo "extern const u8" `(echo background.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo background.png | tr . _)`.h
echo "extern const u8" `(echo background.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo background.png | tr . _)`.h
echo "extern const u32" `(echo background.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo background.png | tr . _)`.h
gcbackuplauncher.dol
bin2s -a 32 /c/projects/Neogamma/data/gcbackuplauncher.dol | powerpc-eabi-as -o gcbackuplauncher.dol.o
echo "extern const u8" `(echo gcbackuplauncher.dol | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo gcbackuplauncher.dol | tr . _)`.h
echo "extern const u8" `(echo gcbackuplauncher.dol | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo gcbackuplauncher.dol | tr . _)`.h
echo "extern const u32" `(echo gcbackuplauncher.dol | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo gcbackuplauncher.dol | tr . _)`.h
Toy.c
Toy_video.c
apploader.c
arial16.c
background.c
codes.c
config.c
dol.c
dolmenu.c
dvd_broadway.c
easywbfs.c
font.c
geckodvd.c
geckogreen.c
geckogrey.c
geckomenu.c
identify.c
libcios.c
main.c
multidol.c
patchcode.c
sdhc.c
storage.c
c:/projects/Neogamma/source/storage.c:27: error: conflicting type qualifiers for '__io_usbstorage'
c:/devkitPro/libogc/include/ogc/usbstorage.h:67: note: previous declaration of '__io_usbstorage' was here
make[1]: *** [storage.o] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:08
 

longtom1

Keep an eye on my posts cause I quick edit frequen
Member
Joined
Jan 12, 2009
Messages
2,641
Trophies
1
Location
Honey Oils inc.
Website
Visit site
XP
197
Country
think it's a corrupted zip files or something cause downloaded both links from the first page and both give different errors on compiling the one from mediafire gives me the error I got and the rapidshare one gives me xflaks error
 

XFlak

Wiitired but still kicking
Member
Joined
Sep 12, 2009
Messages
13,883
Trophies
3
Age
38
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
9,920
Country
Cyprus
longtom1 said:
think it's a corrupted zip files or something cause downloaded both links from the first page and both give different errors on compiling the one from mediafire gives me the error I got and the rapidshare one gives me xflaks error
that's weird, because I downloaded the one from mediafire, not rapidshare
 

bula

Well-Known Member
Member
Joined
Feb 4, 2009
Messages
812
Trophies
0
XP
42
Country
United States
xflak40 said:
source code won't compile for me either (previous versions compiled w/ no problems)

although my error is different than longtom's, it seems I am getting further than he is though

@longtom, make sure ur using the right libogc and u should at least get as far as I did

Code:
> "make" 
background.png
bin2s -a 32 /c/projects/Neogamma/data/background.png | powerpc-eabi-as -o background.png.o
echo "extern const u8" `(echo background.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo background.png | tr . _)`.h
echo "extern const u8" `(echo background.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo background.png | tr . _)`.h
echo "extern const u32" `(echo background.png | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo background.png | tr . _)`.h
gcbackuplauncher.dol
bin2s -a 32 /c/projects/Neogamma/data/gcbackuplauncher.dol | powerpc-eabi-as -o gcbackuplauncher.dol.o
echo "extern const u8" `(echo gcbackuplauncher.dol | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo gcbackuplauncher.dol | tr . _)`.h
echo "extern const u8" `(echo gcbackuplauncher.dol | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo gcbackuplauncher.dol | tr . _)`.h
echo "extern const u32" `(echo gcbackuplauncher.dol | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo gcbackuplauncher.dol | tr . _)`.h
Toy.c
Toy_video.c
apploader.c
arial16.c
background.c
codes.c
config.c
dol.c
dolmenu.c
dvd_broadway.c
easywbfs.c
font.c
geckodvd.c
geckogreen.c
geckogrey.c
geckomenu.c
identify.c
libcios.c
main.c
multidol.c
patchcode.c
sdhc.c
storage.c
c:/projects/Neogamma/source/storage.c:27: error: conflicting type qualifiers for '__io_usbstorage'
c:/devkitPro/libogc/include/ogc/usbstorage.h:67: note: previous declaration of '__io_usbstorage' was here
make[1]: *** [storage.o] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:08


Bud,

Try removing the line from storage.c
 

pepxl

GFX W!Z4RD
Member
Joined
Jun 19, 2009
Messages
3,263
Trophies
1
XP
328
Country
comment out the line in usbstorage.h

//extern const DISC_INTERFACE __io_usbstorage;

linking ... boot.elf
output ... boot.dol

> Process Exit Code: 0
> Time Taken: 00:08
 

XFlak

Wiitired but still kicking
Member
Joined
Sep 12, 2009
Messages
13,883
Trophies
3
Age
38
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
9,920
Country
Cyprus
that got it to compile!

I was going to do that myself, but I have trouble figuring out if a line is very important and if commenting it out would screw something else up... i'm assuming commenting this line won't affect the stability of the app, right?

also, how could this compile for wiipower but not longtom or I? Did he maybe accidentally share an incomplete source? Or is there some other reason why that line isn't causing problems for wiipower but it is for others.

edit: i also noticed it compiled very quickly, almost too quickly, other RCs took over 30 seconds to compile, this one did it in about 10 seconds... its probably nothing, but i thought it was worth mentioning
 

pepxl

GFX W!Z4RD
Member
Joined
Jun 19, 2009
Messages
3,263
Trophies
1
XP
328
Country
or it could of been a test lol, un-commenting a line to see if ppl ask for help lolz, who know has his crazy brilliant mind works lol
 

XFlak

Wiitired but still kicking
Member
Joined
Sep 12, 2009
Messages
13,883
Trophies
3
Age
38
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
9,920
Country
Cyprus
pepxl said:
or it could of been a test lol, un-commenting a line to see if ppl ask for help lolz, who know has his crazy brilliant mind works lol
lmao, seriously man, i'm at my cubicle right now chuckling... people in the next cube are gonna think i'm nuts!

Well, wiipower... we eventually passed your test and got it to compile
tongue.gif
... ur still the man, even if u are putting us to the test
wink.gif
 

longtom1

Keep an eye on my posts cause I quick edit frequen
Member
Joined
Jan 12, 2009
Messages
2,641
Trophies
1
Location
Honey Oils inc.
Website
Visit site
XP
197
Country
if you open up the project file there's no makefile in the project where in previous versions there's always a makefile listed in the project
 

pepxl

GFX W!Z4RD
Member
Joined
Jun 19, 2009
Messages
3,263
Trophies
1
XP
328
Country
longtom1 said:
if you open up the project file there's no makefile in the project where in previous versions there's always a makefile listed in the project

make no difference i dont think, as long as its in the source folder PN will use it and will give errors if its not there
 

bula

Well-Known Member
Member
Joined
Feb 4, 2009
Messages
812
Trophies
0
XP
42
Country
United States
xflak40 said:
pepxl said:
or it could of been a test lol, un-commenting a line to see if ppl ask for help lolz, who know has his crazy brilliant mind works lol
lmao, seriously man, i'm at my cubicle right now chuckling... people in the next cube are gonna think i'm nuts!

Well, wiipower... we eventually passed your test and got it to compile
tongue.gif
... ur still the man, even if u are putting us to the test
wink.gif

LOL. RC3* had the same compiling problem, guess wiipower forgot to remove it.
 

longtom1

Keep an eye on my posts cause I quick edit frequen
Member
Joined
Jan 12, 2009
Messages
2,641
Trophies
1
Location
Honey Oils inc.
Website
Visit site
XP
197
Country
bula said:
xflak40 said:
pepxl said:
or it could of been a test lol, un-commenting a line to see if ppl ask for help lolz, who know has his crazy brilliant mind works lol
lmao, seriously man, i'm at my cubicle right now chuckling... people in the next cube are gonna think i'm nuts!

Well, wiipower... we eventually passed your test and got it to compile
tongue.gif
... ur still the man, even if u are putting us to the test
wink.gif

LOL. RC3* had the same compiling problem, guess wiipower forgot to remove it.
compiled ok for me about 1 hour ago
 

XFlak

Wiitired but still kicking
Member
Joined
Sep 12, 2009
Messages
13,883
Trophies
3
Age
38
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
9,920
Country
Cyprus
bula said:
xflak40 said:
pepxl said:
or it could of been a test lol, un-commenting a line to see if ppl ask for help lolz, who know has his crazy brilliant mind works lol
lmao, seriously man, i'm at my cubicle right now chuckling... people in the next cube are gonna think i'm nuts!

Well, wiipower... we eventually passed your test and got it to compile
tongue.gif
... ur still the man, even if u are putting us to the test
wink.gif

LOL. RC3* had the same compiling problem, guess wiipower forgot to remove it.
I also never had the same problem with RC3*, only RC4... meh, no biggie
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/FdYTKAVSsXY?si=9E-2AU0JN-4hRZi3