Can't find ps3fb.h

Discussion in 'CellPerformance@B3D' started by RopaMan, Jun 24, 2008.

  1. RopaMan

    Newcomer

    Joined:
    Jun 24, 2008
    Messages:
    2
    Likes Received:
    0
    Hi,

    I am new on PS3 programming under Linux. I installed YDL 5.0. I can do SPU Programming in "text mode", but I can't find certain files in order to program the framebuffer. When I compile some examples, I get errors related with PS3_IOCTL_, they are supposed to be defined in a "ps3fb.h" which I don't have...

    Any ideas?
     
  2. Enzyme

    Newcomer

    Joined:
    Nov 15, 2007
    Messages:
    81
    Likes Received:
    1
    Location:
    Belgium
    Are you programming on the PS3 itself, or on another host system?
    If it is the latter, you can copy the include directory of the PS3 to a directory on your host system, and then link to that directory in your Makefiles.

    At least that's how I solved the problem.
     
  3. RopaMan

    Newcomer

    Joined:
    Jun 24, 2008
    Messages:
    2
    Likes Received:
    0
    I am programming on the PS3 itself. In theory I should have a <asm/ps3fb.h> or <asm-ppc/ps3fb.h> .... which I don't have. I even did a grep on my include directory and I couldn't find any PS3* symbol.

    Do I need to install additional packages on Yellow Dog Linux?
     
  4. Enzyme

    Newcomer

    Joined:
    Nov 15, 2007
    Messages:
    81
    Likes Received:
    1
    Location:
    Belgium
    I have no idea then really.
    Maybe you could try the latest YDL, which is 6.x.
    It has a complete build for PS3 including parts of the SDK 3.0 for Cell.

    There are also the add-on cd's from Geoff Levand. They have a newer kernel with specific PS3 inclusions.
    It's possible you can find the needed files there.
     
  5. Vitaly Vidmirov

    Newcomer

    Joined:
    Jul 9, 2007
    Messages:
    108
    Likes Received:
    10
    Location:
    Russia
    On YDL5, the include directory you need was located here, IIRC
    /lib/modules/2.6.16-20061110.ydl.2ps3/build/include/

    on FC it should be in /usr/include, as expected
     
Loading...

Share This Page

  • About Us

    Beyond3D has been around for over a decade and prides itself on being the best place on the web for in-depth, technically-driven discussion and analysis of 3D graphics hardware. If you love pixels and transistors, you've come to the right place!

    Beyond3D is proudly published by GPU Tools Ltd.
Loading...