Cannot find build.mak

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Highsight
Posts: 7
Joined: Fri Dec 08, 2006 10:21 am

Cannot find build.mak

Post by Highsight »

In an attempt to fix some previous problems, I tried to update and reinstall the psptoolchain, but now, whenever I try to make a file, it says
/psp/sdk/lib/build.mak: No such file or directory
/psp/sdk/lib/build.mak'. Stop.t 'usr/local/pspdev


I checked the directory, and I see build.mak right where it is searching for it. So, I am very confused, anyone see this before? :(

Please help me, I am dying to start programming, cygwin keeps getting in my way. :(
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Post by Insert_witty_name »

You need to edit your cygwin.bat file to include the paths for the SDK.
Highsight
Posts: 7
Joined: Fri Dec 08, 2006 10:21 am

Post by Highsight »

It already has been.

@echo off

C:
chdir C:\cygwin\bin

set path=%path%;C:/cygwin/usr/local/pspdev/bin
set PSPSDK=C:/cygwin/usr/local/pspdev

bash --login -i


It still doesn't work. :/
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Post by Insert_witty_name »

Post exactly what is output from cygwin from when you type 'make'.
Highsight
Posts: 7
Joined: Fri Dec 08, 2006 10:21 am

Post by Highsight »

Already did. This is EXACLY what it says:
/psp/sdk/lib/build.mak: No such file or directory
/psp/sdk/lib/build.mak'. Stop.t 'usr/local/pspdev
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Don't set PSPSDK in your shell. Use psp-config in your makefile, like all of the samples do. Try

Code: Select all

cd /usr/local/pspdev/sdk/samples/power
make
and if that doesn't work, paste the full output and the output of

Code: Select all

echo ..$PSPSDK..
and

Code: Select all

psp-config --pspsdk-path
Highsight
Posts: 7
Joined: Fri Dec 08, 2006 10:21 am

Post by Highsight »

jimparis wrote:Don't set PSPSDK in your shell. Use psp-config in your makefile, like all of the samples do. Try

Code: Select all

cd /usr/local/pspdev/sdk/samples/power
make
and if that doesn't work, paste the full output and the output of

Code: Select all

echo ..$PSPSDK..
and

Code: Select all

psp-config --pspsdk-path
It did not work, so here is those outputs.

Code: Select all

$ echo ..$PSPSDK..
..sp/sdkocal/pspdev

Code: Select all

$ psp-config --pspsdk-path
/psp/sdkal/pspdev
I hope that helps. :/
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Well, you didn't paste the full output of the make, but:
jimparis wrote:Don't set PSPSDK in your shell
- your $PSPSDK is still set in the shell, don't do that
- don't set $PSPDEV either
If they were right, it would work, but you've set them incorrectly (looks like PSPDEV has a trailing CR). Just get rid of them, psp-config will figure things out.
Post Reply