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 

cant compile anything...

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



Joined: 24 Jul 2006
Posts: 22

PostPosted: Fri Jul 28, 2006 8:25 am    Post subject: cant compile anything... Reply with quote

Ok... i think i got everything i need to compile .elf's but dont know how to =( so far i only got that precompiled toolchain for win32 installed. whats the command to compile elfs.
_________________
:D
Back to top
View user's profile Send private message
Ramon



Joined: 29 Jun 2006
Posts: 17

PostPosted: Fri Jul 28, 2006 5:06 pm    Post subject: Reply with quote

to compile, go to the folder of your project using cygwin and then type make.

Then ta-da!
Back to top
View user's profile Send private message
ghostboy78



Joined: 24 Jul 2006
Posts: 22

PostPosted: Sat Jul 29, 2006 2:11 pm    Post subject: Reply with quote

ok so i typed, make "C:\ps2dev\ps2sdk\samples\cube\cube.c". then i got this "make: Nothing to be done for `C:\ps2dev\ps2sdk\samples\cube\cube.c'.

anybody know the error?
_________________
:D
Back to top
View user's profile Send private message
ubergeek42



Joined: 13 Jul 2005
Posts: 83

PostPosted: Sat Jul 29, 2006 2:29 pm    Post subject: Reply with quote

navigate to the folder(using the cd command), then when in the folder, simply type 'make'.
Back to top
View user's profile Send private message AIM Address MSN Messenger
Ramon



Joined: 29 Jun 2006
Posts: 17

PostPosted: Sat Jul 29, 2006 2:56 pm    Post subject: Reply with quote

make sure that you have a makefile also... ;)
Back to top
View user's profile Send private message
ghostboy78



Joined: 24 Jul 2006
Posts: 22

PostPosted: Sat Jul 29, 2006 3:03 pm    Post subject: Reply with quote

where do i get makefile >.<
_________________
:D
Back to top
View user's profile Send private message
Ramon



Joined: 29 Jun 2006
Posts: 17

PostPosted: Sat Jul 29, 2006 3:47 pm    Post subject: Reply with quote

Take a look at the example makefiles found at the ps2sdk. I'm sure they can help...

Last edited by Ramon on Sat Jul 29, 2006 8:29 pm; edited 2 times in total
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Sat Jul 29, 2006 6:28 pm    Post subject: Reply with quote

Generic makefile primer:
http://www.pineight.com/gba/faq/make.html

Taking a look at the samples and of some of the stuff in svn will help a lot. There are a lot of predefined rules provided for you with ps2sdk.
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sun Jul 30, 2006 2:12 am    Post subject: Reply with quote

Just type 'make'. You don't need to specify the file name.
Back to top
View user's profile Send private message Visit poster's website
bukarkimaster



Joined: 10 Aug 2006
Posts: 6

PostPosted: Wed Aug 16, 2006 10:36 pm    Post subject: Reply with quote

okay this is what i type C:\cygwin\usr\local\ps2dev\ps2sdk\samples\hello make and all i get is this is a directory what am i doing wrong thnx:P
_________________
I live on a deserted spoon:P
Back to top
View user's profile Send private message MSN Messenger
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Thu Aug 17, 2006 3:24 am    Post subject: Reply with quote

Use the command called 'cd' to change to that directory, then type 'make'.
Back to top
View user's profile Send private message Visit poster's website
bukarkimaster



Joined: 10 Aug 2006
Posts: 6

PostPosted: Sun Aug 20, 2006 10:01 pm    Post subject: Reply with quote

yay it compiled thanks oopo i didnt fullyunderstand wat ppl ment bye cd into a directory :P
_________________
I live on a deserted spoon:P
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 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