| View previous topic :: View next topic |
| Author |
Message |
Highsight
Joined: 08 Dec 2006 Posts: 7
|
Posted: Fri Dec 08, 2006 10:23 am Post subject: Cannot find build.mak |
|
|
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. :( |
|
| Back to top |
|
 |
Insert_witty_name
Joined: 10 May 2006 Posts: 376
|
Posted: Sun Dec 10, 2006 8:39 am Post subject: |
|
|
| You need to edit your cygwin.bat file to include the paths for the SDK. |
|
| Back to top |
|
 |
Highsight
Joined: 08 Dec 2006 Posts: 7
|
Posted: Mon Dec 11, 2006 12:35 pm Post subject: |
|
|
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. :/ |
|
| Back to top |
|
 |
Insert_witty_name
Joined: 10 May 2006 Posts: 376
|
Posted: Mon Dec 11, 2006 1:45 pm Post subject: |
|
|
| Post exactly what is output from cygwin from when you type 'make'. |
|
| Back to top |
|
 |
Highsight
Joined: 08 Dec 2006 Posts: 7
|
Posted: Tue Dec 12, 2006 10:44 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Tue Dec 12, 2006 4:48 pm Post subject: |
|
|
Don't set PSPSDK in your shell. Use psp-config in your makefile, like all of the samples do. Try | Code: | cd /usr/local/pspdev/sdk/samples/power
make |
and if that doesn't work, paste the full output and the output of
and
| Code: | | psp-config --pspsdk-path |
|
|
| Back to top |
|
 |
Highsight
Joined: 08 Dec 2006 Posts: 7
|
Posted: Wed Dec 13, 2006 8:40 am Post subject: |
|
|
| jimparis wrote: | Don't set PSPSDK in your shell. Use psp-config in your makefile, like all of the samples do. Try | Code: | cd /usr/local/pspdev/sdk/samples/power
make |
and if that doesn't work, paste the full output and the output of
and
| Code: | | psp-config --pspsdk-path |
|
It did not work, so here is those outputs.
| Code: | $ echo ..$PSPSDK..
..sp/sdkocal/pspdev |
| Code: | $ psp-config --pspsdk-path
/psp/sdkal/pspdev |
I hope that helps. :/ |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Wed Dec 13, 2006 11:37 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
|