 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
orion
Joined: 26 May 2008 Posts: 3
|
Posted: Mon May 26, 2008 9:13 am Post subject: spe-mfcio.h |
|
|
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/library/pa-linuxps3-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 |
|
| Back to top |
|
 |
carlosn
Joined: 10 Mar 2005 Posts: 38 Location: Orlando, Florida, US
|
|
| Back to top |
|
 |
orion
Joined: 26 May 2008 Posts: 3
|
Posted: Tue May 27, 2008 3:13 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
|
|
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
|