Page 1 of 2
Problem compiling HelloWorld
Posted: Thu Aug 14, 2008 11:21 pm
by Damion
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.
Re: Problem compiling HelloWorld
Posted: Sun Aug 17, 2008 3:45 pm
by WinterMute
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>:\
Re: Problem compiling HelloWorld
Posted: Thu Aug 21, 2008 11:15 pm
by Damion
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?
Re: Problem compiling HelloWorld
Posted: Fri Aug 22, 2008 12:09 am
by WinterMute
What's the exact error message you get?
Re: Problem compiling HelloWorld
Posted: Fri Aug 22, 2008 12:32 am
by Damion
this one and the same for run and clean
Code: Select all
"make"
Failed to create process: The system cannot find the file
Re: Problem compiling HelloWorld
Posted: Fri Aug 22, 2008 12:39 am
by WinterMute
1. How did you install the toolchain in the first place?
2. Which OS are you using?
Re: Problem compiling HelloWorld
Posted: Fri Aug 22, 2008 12:46 am
by Damion
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.
Re: Problem compiling HelloWorld
Posted: Fri Aug 22, 2008 3:20 am
by WinterMute
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
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
Re: Problem compiling HelloWorld
Posted: Fri Aug 22, 2008 3:26 am
by Damion
sent it to you in a pm
Re: Problem compiling HelloWorld
Posted: Sun Aug 24, 2008 12:16 pm
by WinterMute
You've managed to remove the msys tools from your system path.
It should be in the path at the start, at least before any section that contains spaces.