Problem compiling HelloWorld

support for the powerpc toolchain
Damion
Posts: 8
Joined: Thu Aug 14, 2008 11:02 pm

Problem compiling HelloWorld

Post by Damion » Thu Aug 14, 2008 11:21 pm

I have everything in the right place but when I hit make i get this

Code: Select all

"make" : make : Command not found
"make" : *** [build] Error 127
I am new to "make" so if this is a noob question sorry in advance.

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

Re: Problem compiling HelloWorld

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

This one is normally caused by having DOS style paths in the devkitPro environment variables. The standard settings are

Code: Select all

DEVKITPRO=/c/devkitPro
DEVKITPPC=/c/devkitPro/devkitPPC
Note the msys style paths, forward slashes and /<drive>/ instead of <drive>:\
Help keep devkitPro toolchains free, Donate today

Personal Blog

Damion
Posts: 8
Joined: Thu Aug 14, 2008 11:02 pm

Re: Problem compiling HelloWorld

Post by Damion » Thu Aug 21, 2008 11:15 pm

I just did that but now it gives me this when i use make in pn it says that the system file isn't found.What do I do?

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

Re: Problem compiling HelloWorld

Post by WinterMute » Fri Aug 22, 2008 12:09 am

What's the exact error message you get?
Help keep devkitPro toolchains free, Donate today

Personal Blog

Damion
Posts: 8
Joined: Thu Aug 14, 2008 11:02 pm

Re: Problem compiling HelloWorld

Post by Damion » Fri Aug 22, 2008 12:32 am

this one and the same for run and clean

Code: Select all

"make"

Failed to create process: The system cannot find the file

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

Re: Problem compiling HelloWorld

Post by WinterMute » Fri Aug 22, 2008 12:39 am

1. How did you install the toolchain in the first place?

2. Which OS are you using?
Help keep devkitPro toolchains free, Donate today

Personal Blog

Damion
Posts: 8
Joined: Thu Aug 14, 2008 11:02 pm

Re: Problem compiling HelloWorld

Post by Damion » Fri Aug 22, 2008 12:46 am

WinterMute wrote:1. How did you install the toolchain in the first place?

2. Which OS are you using?
1.Using the updater on source forge.
2.Windows Xp.

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

Re: Problem compiling HelloWorld

Post by WinterMute » Fri Aug 22, 2008 3:20 am

Bit of an odd one really. Your initial problem showed that make was actually running but failing in a way that suggests the environment variables were wrong.

Click on Start->run

Type cmd in the box & click ok.

In the dos window type this

Code: Select all

set > env.txt
start env.txt
You should see notepad open with something similar to this.

Copy & paste that here inside code tags.

Code: Select all

ALLUSERSPROFILE=D:\Documents and Settings\All Users
APPDATA=D:\Documents and Settings\davem\Application Data
BUILDTOOLS_ROOT=C:\DolphinSDK1.0\build\buildtools
CLIENTNAME=Console
CommonProgramFiles=D:\Program Files\Common Files
COMPUTERNAME=NEUROMANCER
ComSpec=D:\WINDOWS\system32\cmd.exe
DEVKITARM=/D/devkitPro/devkitARM
DEVKITPPC=/D/devkitPro/devkitPPC
DEVKITPRO=/D/devkitPro
DEVKITPSP=/D/devkitPro/devkitPSP
FP_NO_HOST_CHECK=NO
HOMEDRIVE=D:
HOMEPATH=\Documents and Settings\davem
include=C:\Microsoft Visual Studio\VC98\atl\include;C:\Microsoft Visual Studio\VC98\mfc\include;C:\Microsoft Visual Studio\VC98\include
lib=C:\Microsoft Visual Studio\VC98\mfc\lib;C:\Microsoft Visual Studio\VC98\lib
LOGONSERVER=\\NEUROMANCER
MSDevDir=C:\devstudio6\MSDev98
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=D:\devkitPro\msys\bin;d:\tools\bin;D:\MinGW\bin;D:\WINDOWS\system32;D:\WINDOWS;D:\WINDOWS\System32\Wbem;C:\DolphinSDK1.0\x86\bin;D:\Program Files\TortoiseSVN\bin;C:\devstudio6\Tools\WinNT;C:\devstudio6\MSDev98\Bin;C:\devstudio6\Tools;C:\Microsoft Visual Studio\VC98\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 28 Stepping 0, AuthenticAMD
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=1c00
ProgramFiles=D:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=D:
SystemRoot=D:\WINDOWS
TEMP=D:\DOCUME~1\davem\LOCALS~1\Temp
TMP=D:\DOCUME~1\davem\LOCALS~1\Temp
USERDOMAIN=NEUROMANCER
USERNAME=davem
USERPROFILE=D:\Documents and Settings\davem
VS90COMNTOOLS=D:\devstudio9.0\Common7\Tools\
windir=D:\WINDOWS
Help keep devkitPro toolchains free, Donate today

Personal Blog

Damion
Posts: 8
Joined: Thu Aug 14, 2008 11:02 pm

Re: Problem compiling HelloWorld

Post by Damion » Fri Aug 22, 2008 3:26 am

sent it to you in a pm

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

Re: Problem compiling HelloWorld

Post by WinterMute » Sun Aug 24, 2008 12:16 pm

You've managed to remove the msys tools from your system path.

Code: Select all

Path=C:\devkitPro\msys\bin; ...
It should be in the path at the start, at least before any section that contains spaces.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests