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 

no rule to make 'all' problem

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



Joined: 04 Oct 2007
Posts: 4

PostPosted: Sun Oct 07, 2007 9:06 am    Post subject: no rule to make 'all' problem Reply with quote

I am getting errors when trying to compile samples.
I have installed cygwin and the psptoolchain, but there is a problem when I try to compile the Hello World example.

any help is much appreciated, I have tried google-ing, but I can't find anything.
Back to top
View user's profile Send private message Send e-mail
Smong



Joined: 04 Sep 2007
Posts: 82

PostPosted: Sun Oct 07, 2007 9:15 am    Post subject: Reply with quote

Exactly which hello world sample would this be? There are a bunch of samples that come with pspsdk that should work, look in X:\cygwin\usr\local\pspdev\psp\sdk\samples. I suggest the one in controller\basic but there are hello world ones in the template directory.

Also from the title of the thread this could also be a problem with the pspsdk environment variables, you need these lines at the end of .bashrc:
Code:
export PSPDEV=/usr/local/pspdev
export PATH=$PATH:$PSPDEV/bin
You may also need to edit/save the file with "unix line endings", good luck :P
_________________
(+[__]%)
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sun Oct 07, 2007 10:11 am    Post subject: Reply with quote

Another problem I ran into that might affect people is leading spaces in your makefile. Make wants TABS in the makefile, not spaces. My editor was set to convert tabs to spaces, and that did a real trick on the makefile. So if you get really odd problems that seem to have no rational cause, check your makefile for spaces.
Back to top
View user's profile Send private message AIM Address
dalivaktuk



Joined: 04 Oct 2007
Posts: 4

PostPosted: Mon Oct 08, 2007 5:49 am    Post subject: Reply with quote

Smong wrote:
Exactly which hello world sample would this be? There are a bunch of samples that come with pspsdk that should work, look in X:\cygwin\usr\local\pspdev\psp\sdk\samples. I suggest the one in controller\basic but there are hello world ones in the template directory.

Also from the title of the thread this could also be a problem with the pspsdk environment variables, you need these lines at the end of .bashrc:
Code:
export PSPDEV=/usr/local/pspdev
export PATH=$PATH:$PSPDEV/bin
You may also need to edit/save the file with "unix line endings", good luck :P


Thanks for your help! The sample you suggested worked perfectly, I found it was my Makefile. I compared it to the one ...\pspdev\psp\sdk\samples... and my Makefile was missing some code.

Oh yeah, I used the sample from http://www.psp-programming.com/tutorials/c/lesson02.htm, and again thx for your help!!

Now I can use my Dev-C++ IDE to start programming for my psp!
Back to top
View user's profile Send private message Send e-mail
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