spe-mfcio.h

Technical discussion on the newly released and hard to find PS3.

Moderators: cheriff, emoon

Post Reply
orion
Posts: 3
Joined: Mon May 26, 2008 8:58 am

spe-mfcio.h

Post by orion »

Hellow all.

I am new with linux and programming so I was searching on-line and came across this, http://www.ibm.com/developerworks/power ... inuxps3-1/, and after writing it I went to compile it using spu-gcc. I get the following error:

[root@localhost Simple Program]# spu-gcc spe_distance.c -o spe_distance
spe_distance.c: In function 'main':
spe_distance.c:30: error: 'tag' undeclared (first use in this function)
spe_distance.c:30: error: (Each undeclared identifier is reported only once
spe_distance.c:30: error: for each function it appears in.)

I don't even know what that means but I am thinking it is not able to find the header file. I did some searching on it and that example program uses spu.mfcio.h. I couldn't find it anywhere in the file system. Also, I did install the Cell SDK 3.0 so any help would greatly be appreciated.

Thanks,
Jeremy
carlosn
Posts: 38
Joined: Thu Mar 10, 2005 2:14 am
Location: Orlando, Florida, US
Contact:

Post by carlosn »

The example you mention uses libspe and the CELL sdk 3.0 uses libspe2. You will have to upgrade the code.

Read this article, it will help you understand.

http://www.ibm.com/developerworks/library/pa-libspe2/

Carlos
orion
Posts: 3
Joined: Mon May 26, 2008 8:58 am

Post by orion »

carlosn wrote:The example you mention uses libspe and the CELL sdk 3.0 uses libspe2. You will have to upgrade the code.

Read this article, it will help you understand.

http://www.ibm.com/developerworks/library/pa-libspe2/

Carlos
Just so I am understanding correctly, the spu_mfcio.h is a header file and it is contained in libspe, correct? Since I have the libspe2 installed it isn't finding that particuler header, correct? If so, that example program is unabled to be compiled and I would totally have to re-write it with the libspe2 in mind?? I am unable to do that since I have no clue what I am doing so I will look at those example given in the link you provided and try them.

Thank you, and let me know if my assumptions above are correct.

Also, I want to learn programming, specifically for Cell based systems. Where do I start??? From my reserch you can use any language pretty much but it has to conform to the cell guidlines. I absolutley know nothing about programming and have been reading the MIT lectures on the PS3's Cell but 90% of that stuff I am reading, I have no clue what it is. What are the prerequisets and so and so forth???

Thanks,
Jeremy
Post Reply