[gamecube examples]NeHe lesson 8 doesn't compile

Post Reply
ziple
Posts: 8
Joined: Fri May 22, 2009 7:17 am

[gamecube examples]NeHe lesson 8 doesn't compile

Post by ziple » Fri May 22, 2009 8:02 am

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.

WinterMute
Site Admin
Posts: 1858
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

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

Post by WinterMute » Thu Jun 04, 2009 11:32 pm

Not so much a bug as forgetting to check the examples on a case sensitive filesystem - occasionally things like this creep in.
Help keep devkitPro toolchains free, Donate today

Personal Blog

shivs
Posts: 2
Joined: Fri Dec 11, 2009 11:37 pm

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

Post by shivs » Fri Dec 11, 2009 11:43 pm

Same error, edited lesson8.c :

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

WinterMute
Site Admin
Posts: 1858
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

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

Post by WinterMute » Sat Dec 12, 2009 2:42 am

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.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests