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 

How to compile?

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



Joined: 22 Sep 2004
Posts: 2

PostPosted: Wed Sep 22, 2004 6:45 pm    Post subject: How to compile? Reply with quote

I just downloaded the enviorement with the toolchain.sh file for
Linux and installed it succesfully. Then i tried to compile the
starsim demo avaible from the tutorial in ps2dev.org but i get
errors like the compiler can find some headers, for example,
kernel.h.
I have the enviorement installed in /usr/local/ps2dev and the
enviroment variables pointed correctly as the toolchain.sh
indicates, so... how is the correct form to compile a program? I
can't find any tutorial that indicates how to do that
(sorry about my english)
Back to top
View user's profile Send private message
blackdroid



Joined: 17 Jan 2004
Posts: 564
Location: Sweden

PostPosted: Wed Sep 22, 2004 10:09 pm    Post subject: Reply with quote

the starsim example is unfortunately horribly outdated and doesnt compile with the current sdk without major rewriting.
_________________
Kung VU
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: Thu Sep 23, 2004 1:21 am    Post subject: Reply with quote

To add helpfulness to this thread, try looking at the example code in ps2lib. It should give you a basic idea of how to compile a program. They can be found in the EE directory of the ps2lib source.

BTW, have these examples moved into ps2sdk yet?
Back to top
View user's profile Send private message Visit poster's website
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