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 

Programming N00b

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



Joined: 29 May 2005
Posts: 15

PostPosted: Wed Jul 13, 2005 9:55 am    Post subject: Programming N00b Reply with quote

Hi. Ive had prior experience in VB and some basic C++. I just downloaded the PSPSDK and installed it and everything. I went to \psp\sdk\samples and found the .c file and started poking around and changing some basic stuff. Now i want to compile and im lost. I know i need to run it through elf2pbp later but i need help figuring out how to compile to an elf in the first place. Any help at all would be appreciated. I would prefer to use BATs, but if someone can even help me run the makefile that would be nice.

MSN: chaseslabaugh@attbi.com

thanks,
d0
Back to top
View user's profile Send private message
Agoln



Joined: 08 Jun 2005
Posts: 326
Location: Fort Wayne, IN

PostPosted: Wed Jul 13, 2005 10:08 am    Post subject: Reply with quote

using cygwin, just type 'make kxploit', it will give you 2 directories, one with a % and one w/o a %, then just copy those to your psp/game/ directory and you're good to go!
_________________
Lego of my Ago!
Back to top
View user's profile Send private message AIM Address
dzer0



Joined: 29 May 2005
Posts: 15

PostPosted: Wed Jul 13, 2005 11:48 am    Post subject: Reply with quote

Ok, im REALLY sorry for this next comment because my n00b meter blew up...i thought cygwin was a set of DLLs??? if not, how do i access cygwin from a BAT?

Thanks,
d0
Back to top
View user's profile Send private message
Agoln



Joined: 08 Jun 2005
Posts: 326
Location: Fort Wayne, IN

PostPosted: Wed Jul 13, 2005 11:55 am    Post subject: Reply with quote

well, you should see a cygwin icon on your desktop that will give you a command box. using this you can browse to your directory that you need, then just type 'make'.

cygwin is a linux emulator... for the most part.
_________________
Lego of my Ago!
Back to top
View user's profile Send private message AIM Address
dzer0



Joined: 29 May 2005
Posts: 15

PostPosted: Wed Jul 13, 2005 12:50 pm    Post subject: Reply with quote

oh ok...i didnt have cygwin installed...that would explain a lot :P

Thanks
d0
Back to top
View user's profile Send private message
dzer0



Joined: 29 May 2005
Posts: 15

PostPosted: Wed Jul 13, 2005 12:53 pm    Post subject: Reply with quote

wait is there a way to do it WITHOUT cygwin? like with just BATs?
Back to top
View user's profile Send private message
Agoln



Joined: 08 Jun 2005
Posts: 326
Location: Fort Wayne, IN

PostPosted: Wed Jul 13, 2005 1:00 pm    Post subject: Reply with quote

Not that I know of... I would just use cygwin.
_________________
Lego of my Ago!
Back to top
View user's profile Send private message AIM Address
dzer0



Joined: 29 May 2005
Posts: 15

PostPosted: Wed Jul 13, 2005 1:22 pm    Post subject: Reply with quote

Hmz.. i was looking at the second post in this thread: http://forums.ps2dev.org/viewtopic.php?t=2422 and it mentions nothing of cygwin...but when i type make...nothing
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Wed Jul 13, 2005 1:44 pm    Post subject: Reply with quote

Surely something happens. Does it build some software? Give an error message? Tell you a dirty limerick?!

QUICK MAN! TELL US OR WE'RE DOOOOOMED!!!
Back to top
View user's profile Send private message Visit poster's website
dzer0



Joined: 29 May 2005
Posts: 15

PostPosted: Wed Jul 13, 2005 1:48 pm    Post subject: Reply with quote

ok it says 'make' is not recognized as an internal or external command, operable program or batch file
Back to top
View user's profile Send private message
mrdelayer



Joined: 10 Jul 2005
Posts: 16

PostPosted: Wed Jul 13, 2005 2:02 pm    Post subject: Reply with quote

are you typing it into cygwin...?
Back to top
View user's profile Send private message AIM Address
dzer0



Joined: 29 May 2005
Posts: 15

PostPosted: Wed Jul 13, 2005 2:04 pm    Post subject: Reply with quote

like i said, http://forums.ps2dev.org/viewtopic.php?t=2422 makes no mention of cygwin.
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Wed Jul 13, 2005 2:24 pm    Post subject: Reply with quote

It makes you kinda wonder why you're posting here instead of there, eh?

Read further in that post and you'll see it mentions cygwin several times and even addresses your problem.
Back to top
View user's profile Send private message Visit poster's website
dzer0



Joined: 29 May 2005
Posts: 15

PostPosted: Thu Jul 14, 2005 1:39 am    Post subject: Reply with quote

Ok so ive actually got quite far with the sans-cygwin method but when i run make, it includes build.mak just fine but it says make: psp-gcc: Command not found. Ive got PSPSDK envirnonment variable set correctly an everything...

EDIT2: I FINALLY got it working! Turns out i had to put PSPSDK=$(shell psp-config --pspsdk-path) in my makefile after all.
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