Page 1 of 1

[gamecube examples]NeHe lesson 8 doesn't compile

Posted: Fri May 22, 2009 8:02 am
by ziple
Hi,

I installed all the stuff necessary to be ready to create some homebrews for the gamecube but while I was compiling the examples I faced a build error in leson8.c from graphics/gx/neheGX/lesson8 :

lesson8.c
/home/damien/Desktop/gc-sdk/gamecube-examples-20090509/graphics/gx/neheGX/lesson8/source/lesson8.c:13:23: error: Glass_tpl.h: No such file or directory
/home/damien/Desktop/gc-sdk/gamecube-examples-20090509/graphics/gx/neheGX/lesson8/source/lesson8.c: In function 'main':
/home/damien/Desktop/gc-sdk/gamecube-examples-20090509/graphics/gx/neheGX/lesson8/source/lesson8.c:161: error: 'glass_tpl' undeclared (first use in this function)
/home/damien/Desktop/gc-sdk/gamecube-examples-20090509/graphics/gx/neheGX/lesson8/source/lesson8.c:161: error: (Each undeclared identifier is reported only once
/home/damien/Desktop/gc-sdk/gamecube-examples-20090509/graphics/gx/neheGX/lesson8/source/lesson8.c:161: error: for each function it appears in.)
/home/damien/Desktop/gc-sdk/gamecube-examples-20090509/graphics/gx/neheGX/lesson8/source/lesson8.c:161: error: 'glass_tpl_size' undeclared (first use in this function)

I replaced #include "Glass_tpl.h" by #include "glass_tpl.h" and it worked fine. Is it a bug?

Bye.

Re: [gamecube examples]NeHe lesson 8 doesn't compile

Posted: Thu Jun 04, 2009 11:32 pm
by WinterMute
Not so much a bug as forgetting to check the examples on a case sensitive filesystem - occasionally things like this creep in.

Re: [gamecube examples]NeHe lesson 8 doesn't compile

Posted: Fri Dec 11, 2009 11:43 pm
by shivs
Same error, edited lesson8.c :

- #include "Glass_tpl.h"
+ #include "glass_tpl.h"

Re: [gamecube examples]NeHe lesson 8 doesn't compile

Posted: Sat Dec 12, 2009 2:42 am
by WinterMute
Sorry, I meant to check and update the gamecube examples with the latest devkitPPC release. The latest set are now available through the updater and SF download page.

Thanks for reminding me.