Install Guideline for spu-medialib pre release

"A collection of spu programs to accelerate media related applications for the CellBE ( PS3 ) platform" - unsolo

Moderator: unsolo

Post Reply
unsolo
Posts: 155
Joined: Mon Apr 16, 2007 2:39 am
Location: OSLO Norway

Install Guideline for spu-medialib pre release

Post by unsolo »

you need to have subversion installed
you have to have spu toolchain installed

warning: This may not work on your linux distro, if so please inform us about your problems

some special requirements:
spu-elf-gcc
libspe2 or higher

svn checkout svn://svn.ps2dev.org/ps3ware/trunk/spu-medialib spu-medialib

cd spu-medialib
make && make install

you should now have spu-medialib installed provided no errors where reported.

Enjoy :)
Don't do it alone.
fusuke
Posts: 19
Joined: Mon Oct 08, 2007 1:27 pm
Location: Vancouver, Canada

spu-elf-gcc

Post by fusuke »

Hi,

What an exciting development! I am eager to give spu-medialib a shot. I've installed libps3fb and libspe2 on my yellow dog linux 5.02 installation but I'm not sure where to get spu-elf-gcc from. Googling it doesn't seem to yield many hits.

much obliged.
unsolo
Posts: 155
Joined: Mon Apr 16, 2007 2:39 am
Location: OSLO Norway

Post by unsolo »

It is a very high likelyhood that this is called spu-gcc in your distribution and you might want to make a symlink for spu-elf-gcc from it.

spu-elf-gcc (spu-gcc) is the gcc compiler for the spe's

google spu / spe compiler and your linux distribution should also help
Don't do it alone.
fusuke
Posts: 19
Joined: Mon Oct 08, 2007 1:27 pm
Location: Vancouver, Canada

compiling spu-medialib on YDL 5.02

Post by fusuke »

I was having trouble compiling spu_yuvscaler because of spu_print.h errors.

Specifically, errors due to the printintvec and printshortvec functions of the type:
"error: expected declaration specifiers or '...' before 'vector'"

I modified the vector type in both functions by adding 'unsigned' and now spu-medialib compiles.
"static inline void printintvec(char * name,vector unsigned int vi)"
unsolo
Posts: 155
Joined: Mon Apr 16, 2007 2:39 am
Location: OSLO Norway

Post by unsolo »

Ill try to include these changes later today sorry for the bugs.
Don't do it alone.
unsolo
Posts: 155
Joined: Mon Apr 16, 2007 2:39 am
Location: OSLO Norway

Post by unsolo »

changes made and committed please test and if works let me know so i can close this one out.
Don't do it alone.
fusuke
Posts: 19
Joined: Mon Oct 08, 2007 1:27 pm
Location: Vancouver, Canada

spu_print.h

Post by fusuke »

There is still an error:

spu_utils/spu_print.h:55: error: expected identifier or '(' before '<<' token
fusuke
Posts: 19
Joined: Mon Oct 08, 2007 1:27 pm
Location: Vancouver, Canada

works

Post by fusuke »

sorry, spu_print.h works. It was just a bad svn update.
Post Reply