Stuck on compiling the example

support for the powerpc toolchain
Post Reply
snk_d
Posts: 3
Joined: Sun Aug 10, 2008 3:17 am

Stuck on compiling the example

Post by snk_d » Sun Aug 10, 2008 3:48 am

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!

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

Re: Stuck on compiling the example

Post by WinterMute » Tue Aug 12, 2008 12:04 am

What version of make is being run?

make -v should tell you.
Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog

snk_d
Posts: 3
Joined: Sun Aug 10, 2008 3:17 am

Re: Stuck on compiling the example

Post by snk_d » Thu Aug 14, 2008 4:30 am

GNU Make version 3.79.1 is what I see.

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

Re: Stuck on compiling the example

Post by WinterMute » Thu Aug 14, 2008 5:53 pm

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

devkitPro IRC support
Personal Blog

snk_d
Posts: 3
Joined: Sun Aug 10, 2008 3:17 am

Re: Stuck on compiling the example

Post by snk_d » Sun Aug 17, 2008 4:41 am

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

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

Re: Stuck on compiling the example

Post by WinterMute » Sun Aug 17, 2008 3:42 pm

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

devkitPro IRC support
Personal Blog

neo_barragan
Posts: 1
Joined: Sat Jul 04, 2009 9:54 pm

Re: Stuck on compiling the example

Post by neo_barragan » Sat Jul 04, 2009 9:56 pm

I had same problem.... the environment variable must be the same directory name.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest