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 

Install Guideline for spu-medialib pre release

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> spu-medialib
View previous topic :: View next topic  
Author Message
unsolo



Joined: 16 Apr 2007
Posts: 155
Location: OSLO Norway

PostPosted: Sun Oct 07, 2007 6:33 am    Post subject: Install Guideline for spu-medialib pre release Reply with quote

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.
Back to top
View user's profile Send private message
fusuke



Joined: 08 Oct 2007
Posts: 19
Location: Vancouver, Canada

PostPosted: Mon Oct 08, 2007 1:38 pm    Post subject: spu-elf-gcc Reply with quote

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.
Back to top
View user's profile Send private message
unsolo



Joined: 16 Apr 2007
Posts: 155
Location: OSLO Norway

PostPosted: Mon Oct 08, 2007 3:43 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
fusuke



Joined: 08 Oct 2007
Posts: 19
Location: Vancouver, Canada

PostPosted: Mon Oct 08, 2007 5:39 pm    Post subject: compiling spu-medialib on YDL 5.02 Reply with quote

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)"
Back to top
View user's profile Send private message
unsolo



Joined: 16 Apr 2007
Posts: 155
Location: OSLO Norway

PostPosted: Tue Oct 09, 2007 2:11 am    Post subject: Reply with quote

Ill try to include these changes later today sorry for the bugs.
_________________
Don't do it alone.
Back to top
View user's profile Send private message
unsolo



Joined: 16 Apr 2007
Posts: 155
Location: OSLO Norway

PostPosted: Tue Oct 09, 2007 4:38 am    Post subject: Reply with quote

changes made and committed please test and if works let me know so i can close this one out.
_________________
Don't do it alone.
Back to top
View user's profile Send private message
fusuke



Joined: 08 Oct 2007
Posts: 19
Location: Vancouver, Canada

PostPosted: Wed Oct 10, 2007 7:39 pm    Post subject: spu_print.h Reply with quote

There is still an error:

spu_utils/spu_print.h:55: error: expected identifier or '(' before '<<' token
Back to top
View user's profile Send private message
fusuke



Joined: 08 Oct 2007
Posts: 19
Location: Vancouver, Canada

PostPosted: Thu Oct 11, 2007 8:09 am    Post subject: works Reply with quote

sorry, spu_print.h works. It was just a bad svn update.
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 -> spu-medialib 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