| View previous topic :: View next topic |
| Author |
Message |
necromund
Joined: 22 Sep 2004 Posts: 2
|
Posted: Wed Sep 22, 2004 6:45 pm Post subject: How to compile? |
|
|
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 |
|
 |
blackdroid
Joined: 17 Jan 2004 Posts: 564 Location: Sweden
|
Posted: Wed Sep 22, 2004 10:09 pm Post subject: |
|
|
the starsim example is unfortunately horribly outdated and doesnt compile with the current sdk without major rewriting. _________________ Kung VU |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Thu Sep 23, 2004 1:21 am Post subject: |
|
|
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 |
|
 |
|