Page 1 of 1

Stuck on compiling the example

Posted: Sun Aug 10, 2008 3:48 am
by snk_d
Hi.

I'm new to wii homebrew in general and would love to mess around with it. I'm stuck already though after following the getting started steps on wiibrew...

I have used the windows installer and it installed at C:\devkitPro. I have taken the example folder and attempted to make in the C:\devkitPro\examples\wii\template. Output:

> "make"
Makefile:10: /c/devkitPro/devkitPPC/wii_rules: No such file or directory
make: *** No rule to make target `/c/devkitPro/devkitPPC/wii_rules'. Stop.

I don't understand, the 'wii_rules' file *is* there at that location, I don't see why this is happening.

Any ideas much appreciated!

Re: Stuck on compiling the example

Posted: Tue Aug 12, 2008 12:04 am
by WinterMute
What version of make is being run?

make -v should tell you.

Re: Stuck on compiling the example

Posted: Thu Aug 14, 2008 4:30 am
by snk_d
GNU Make version 3.79.1 is what I see.

Re: Stuck on compiling the example

Posted: Thu Aug 14, 2008 5:53 pm
by WinterMute
The make version supplied by the devkitPro windows installer is 3.81, chances are you have cygwin in your path before msys.

We generally recommend that you don't use cygwin at all since those tools are incompatible with the devkitPro toolchains.

Re: Stuck on compiling the example

Posted: Sun Aug 17, 2008 4:41 am
by snk_d
c:\devkitPro\msys\bin is the first part of the PATH environment variable, unless you mean something else. I downloaded make 3.81 and replaced it but the output is the same as it was with the previous version of make:

makefile:10: /c/devkitPro/devkitPPC/wii_rules: No such file or directory
make: *** No rule to make target `/c/devkitPro/devkitPPC/wii_rules'. Stop.

make -v outputs:

GNU Make 3.81

Re: Stuck on compiling the example

Posted: Sun Aug 17, 2008 3:42 pm
by WinterMute
I'm really not sure that will work. The version of msys supplied by the devkitPro installer is a candidate build with some tweaks for Vista compatibility - some of the components, including make, are not available individually. The primary cause of the problem you describe is a version of make which is not msys compatible.

Try editing your installed.ini file & changing the msys version - the file should be @ c:\devkitPro\installed.ini. After changing the version number run the updater, it should tell you that msys needs updated then download & install the relevant archive.

Re: Stuck on compiling the example

Posted: Sat Jul 04, 2009 9:56 pm
by neo_barragan
I had same problem.... the environment variable must be the same directory name.