Skip to content

Can't compile prx_simple - unknown type name 'SceDisplayFrameBuf' #61

@dortamiguel

Description

@dortamiguel

When I try to compile the prx_simple I get the following error

$ make                                                                                                                 [17:11:59]
Scanning dependencies of target plugin
[ 25%] Building C object prx_simple/CMakeFiles/plugin.dir/main.c.obj
/Users/miguel/src/quick_control_access/prx_simple/main.c: In function 'module_start':
/Users/miguel/src/quick_control_access/prx_simple/main.c:30:19: error: unknown type name 'SceDisplayFrameBuf'
   30 |  struct{int mutex;SceDisplayFrameBuf*fbuf;}*in = args;
      |                   ^~~~~~~~~~~~~~~~~~
/Users/miguel/src/quick_control_access/prx_simple/main.c:31:2: error: 'psvDebugScreenMutex' undeclared (first use in this function); did you mean 'psvDebugScreenPuts'?
   31 |  psvDebugScreenMutex = in->mutex;
      |  ^~~~~~~~~~~~~~~~~~~
      |  psvDebugScreenPuts
/Users/miguel/src/quick_control_access/prx_simple/main.c:31:2: note: each undeclared identifier is reported only once for each function it appears in
/Users/miguel/src/quick_control_access/prx_simple/main.c:32:2: error: 'psvDebugScreenFrameBuf' undeclared (first use in this function); did you mean 'psvDebugScreenPrintf'?
   32 |  psvDebugScreenFrameBuf = *in->fbuf;
      |  ^~~~~~~~~~~~~~~~~~~~~~
      |  psvDebugScreenPrintf
make[2]: *** [prx_simple/CMakeFiles/plugin.dir/main.c.obj] Error 1
make[1]: *** [prx_simple/CMakeFiles/plugin.dir/all] Error 2
make: *** [all] Error 2

Is it possible to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions