forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cannot find build.mak

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Highsight



Joined: 08 Dec 2006
Posts: 7

PostPosted: Fri Dec 08, 2006 10:23 am    Post subject: Cannot find build.mak Reply with quote

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
View user's profile Send private message
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Sun Dec 10, 2006 8:39 am    Post subject: Reply with quote

You need to edit your cygwin.bat file to include the paths for the SDK.
Back to top
View user's profile Send private message
Highsight



Joined: 08 Dec 2006
Posts: 7

PostPosted: Mon Dec 11, 2006 12:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Mon Dec 11, 2006 1:45 pm    Post subject: Reply with quote

Post exactly what is output from cygwin from when you type 'make'.
Back to top
View user's profile Send private message
Highsight



Joined: 08 Dec 2006
Posts: 7

PostPosted: Tue Dec 12, 2006 10:44 am    Post subject: Reply with quote

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
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Tue Dec 12, 2006 4:48 pm    Post subject: Reply with quote

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
Code:
echo ..$PSPSDK..

and
Code:
psp-config --pspsdk-path
Back to top
View user's profile Send private message
Highsight



Joined: 08 Dec 2006
Posts: 7

PostPosted: Wed Dec 13, 2006 8:40 am    Post subject: Reply with quote

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
Code:
echo ..$PSPSDK..

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
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Wed Dec 13, 2006 11:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group