Build RetroArch for Psl1ght?

Hi,

Is there anyway to build retro-arch using psl1ght ? I’ve just tried but failed with this error .


make -f Makefile.psl1ght 
/usr/local/ps3dev/ppu/bin/ppu-gcc -Wall -D__CELLOS_LV2__ -D__PSL1GHT__ -I. -I/usr/local/ps3dev/ppu/include -std=gnu99 -DHAVE_FILEBROWSER -D__RSX__ -DGL3_PROTOTYPES -DHAVE_OPENGL -DHAVE_EGL -DHAVE_OPENGL_MODERN -DHAVE_GLSL -DHAVE_VID_CONTEXT -DHAVE_FBO -DHAVE_MOUSE -DHAVE_DEFAULT_RETROPAD_INPUT -DRARCH_CONSOLE -DHAVE_ZLIB -DWANT_MINIZ -DHAVE_RARCH_MAIN_WRAP -DHAVE_RARCH_MAIN_IMPLEMENTATION -DHAVE_SYSMODULES -DHAVE_SYSUTILS -DHAVE_GRIFFIN=1 -DHAVE_NETPLAY=1 -DHAVE_SOCKET_LEGACY=1 -DPACKAGE_VERSION=\"0.9.8\" -DPC_DEVELOPMENT_IP_ADDRESS=\""192.168.1.7"\" -DPC_DEVELOPMENT_UDP_PORT=3490 -Wno-char-subscripts -O3 -g  -c -o console/griffin/griffin.o console/griffin/griffin.c
In file included from console/griffin/griffin.c:72:0:
console/griffin/../../performance.c: In function 'rarch_get_time_usec':
console/griffin/../../performance.c:131:4: warning: implicit declaration of function 'sys_time_get_system_time' [-Wimplicit-function-declaration]
In file included from console/griffin/griffin.c:104:0:
console/griffin/../../gfx/context/ps3_ctx.c: In function 'gfx_ctx_rmenu_init':
console/griffin/../../gfx/context/ps3_ctx.c:335:46: error: 'struct <anonymous>' has no member named 'menu_texture_path'
In file included from console/griffin/griffin.c:168:0:
console/griffin/../../gfx/gl.c: In function 'gl_frame':
console/griffin/../../gfx/gl.c:1314:8: error: 'lifecycle_mode_state' undeclared (first use in this function)
console/griffin/../../gfx/gl.c:1314:8: note: each undeclared identifier is reported only once for each function it appears in
In file included from console/griffin/griffin.c:240:0:
console/griffin/../../ps3/ps3_input.c: In function 'ps3_input_poll':
console/griffin/../../ps3/ps3_input.c:194:19: error: 'RARCH_RMENU_TOGGLE' undeclared (first use in this function)
console/griffin/../../ps3/ps3_input.c:195:19: error: 'RARCH_RMENU_QUICKMENU_TOGGLE' undeclared (first use in this function)
In file included from console/griffin/griffin.c:372:0:
console/griffin/../../settings.c: In function 'config_set_defaults':
console/griffin/../../settings.c:276:4: error: 'struct <anonymous>' has no member named 'menu_texture_path'
console/griffin/../../settings.c:276:4: error: 'struct <anonymous>' has no member named 'menu_texture_path'
console/griffin/../../settings.c: In function 'config_load_file':
console/griffin/../../settings.c:499:7: error: 'struct <anonymous>' has no member named 'menu_texture_path'
console/griffin/../../settings.c:499:7: error: 'struct <anonymous>' has no member named 'menu_texture_path'
console/griffin/../../settings.c: In function 'config_save_file':
console/griffin/../../settings.c:1261:65: error: 'struct <anonymous>' has no member named 'menu_texture_path'
In file included from console/griffin/../../frontend/frontend_console.c:28:0,
                 from console/griffin/griffin.c:385:
console/griffin/../../frontend/platform/platform_ps3_exec.c: At top level:
console/griffin/../../frontend/platform/platform_ps3_exec.c:19:28: fatal error: cell/sysmodule.h: No such file or directory
compilation terminated.
make: *** [console/griffin/griffin.o] Erreur 1


It still can’t be compiled. I got it to compile and link once but it just hardcrashed before libc initialization. After that I kinda gave up on it and let it languish.

TBH - after RSXGL was released I thought we could finally put out a decent version for PSL1GHT now that we had some kind of OpenGL implementation, but it seems that the implementation is very premature and after the ‘initial release’ it was never updated again. So much for that then.

Sadly I think that PSL1GHT will forever remain the poor man’s PS3 SDK so I don’t really have much motivation to return to it. If you can find a way to make it work though - let me know - I’m all for having the PSL1GHT version work but I have more than enough stuff to do as is right now.

@7rtype - Let me know if you want help with the official SDK :wink:

Sorry for the delay, Thanks for responding. I have to look more into the code retroarch. I know psl1ght is “PS3 SDK of the poor.”

but I am a poor man :slight_smile:

@ Pete_UK, thank you for the proposal, but first I have to take the time to make the change for the compilation of the PS3 instead psl1ght (should be easy I think).