RetroArch PSL1GHT port project

i'm fixing it right now. I came here to see if your pastebin look like my logs ^^'

I'll wrote here what i have done to compile it once i'm done with it
 
did u succeed to compile the lib with ur environement ? Can you tell me what is it?

There is one issue that i don't know how to solve it. It's when it try to compile the libGL.a and LibEGL.a (src/library/MakeFile)
it start to compile CC files with ppu-g++ but it is in standart=c++11 and ppu-g++ doesn't recognize the option "-std=c++11".
I tryed to change the standart to 98 but it failed to compile. Perhaps, you have a version of ppu-g++ which is supporting std=C++11 ?


BTW, to avoid an issue because i'm using minGW, i forced mklib script to always have the value of ARCH='PS3' ... do you think the issue is caused by this ?
 
did u succeed to compile the lib with ur environement ? Can you tell me what is it?

There is one issue that i don't know how to solve it. It's when it try to compile the libGL.a and LibEGL.a (src/library/MakeFile)
it start to compile CC files with ppu-g++ but it is in standart=c++11 and ppu-g++ doesn't recognize the option "-std=c++11".
I tryed to change the standart to 98 but it failed to compile. Perhaps, you have a version of ppu-g++ which is supporting std=C++11 ?

Yes, i compiled this lib. My environment uses ppu-g++ 4.7.0 while psdk3v2 uses ppu-g++ 4.5.2, it would be useful to see a log about error you get.

BTW, to avoid an issue because i'm using minGW, i forced mklib script to always have the value of ARCH='PS3' ... do you think the issue is caused by this ?

tbh i don't know, but i don't think it could be an issue...
 
Last edited:
i tryed with the scrip linked before : "error..." then i tryed with toolshain.sh : same ...
so i installed cygwin + package asked+ env variable and then i launched the toolshain.sh and it give me a error too : http://pastebin.com/T73Mgxw8

I'm sick of it...:mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::crybaby::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad:

Someone have an installation already compiled with gcc7 on windows ? if you could compress everything and upload it... it would be great ^^'
 
Tbh i didn't understand if you're only asking for gcc4.7.0 on windows, or you need psl1ght with gcc4.7.0 for cygwin environment.
Anyway my ps3dev environment on windows is 319mb zipped, my internet speed sucks in upload, i have to see if i can reduce/compress more than i already did.
No luck with the suggest of kozarov?

Edit: i sent you a pm ;)
 
Last edited:
sry for not answering sooner but i was rly busy.

I installed ur environnement in my cygwin installation and it compile the libs without any error (even the original files from github) but i have an issue when it compile the samples i have this :

nv40c: cgc "/usr/local/ps3dev/bin/cgc" command not found or not executable
Makefile:800 : la recette pour la cible « textures.vpo » a échouée
make[2]: *** [textures.vpo] Erreur 1
make[2] : on quitte le répertoire « /home/Zar/RSXGL/src/samples/rsxgltest »
Makefile:365 : la recette pour la cible « all-recursive » a échouée
make[1]: *** [all-recursive] Erreur 1
make[1] : on quitte le répertoire « /home/Zar/RSXGL/src/samples »
Makefile:406 : la recette pour la cible « all-recursive » a échouée
make: *** [all-recursive] Erreur 1
It come from cgcomp.exe, any idea ?
I tryed to rename cgcomp.exe to cgc.exe but the generated files texcube_frag.h and texcube_vert.h are empty...
 
To be honest i compiled the lib skipping the samples with
Code:
./configure --disable-samples
so i didn't test them at all.

I didn't compile the samples because i wanted a faster compile. :P

Should i take a look at samples? Are they useful?
 
It come from cgcomp.exe, any idea ?
I tryed to rename cgcomp.exe to cgc.exe but the generated files texcube_frag.h and texcube_vert.h are empty...

It comes from nvidia cg toolkit.

Try to compile these samples https://github.com/gzorin/rsxgl-samples

I'm off for today.

Edit: Forget the samples from rsxgl-samples repo and the rsxgltest provided with rsxgl source code.
In according to gzorin the only working sample is rsxglgears you find into rsxgl repo and i've been able to compile it and get it working.

https://twitter.com/Ezio_PS/status/736080025699508225

This means the ps3dev environment i provided you it has rsxgl installed and correctly working. :)
 
Last edited:
yeah, i succeed to compile the gears too (not tryed yet on the console).
I already tryed with Nvidia toolkit and it's worst (more error). Don't u have cgc.exe in cygwin/bin/cgc.exe ? I tryed with kozarovv version and it ask for som libXXXX.dll

acording to the readme, rsxgl-samples in the repo need the rsxgl-portlib so i didn't even try to install them...^^'

But you are right, samples aren't rly important, I just wanted to know if something was missing :p.

I'm back on RetroArch. Thank you very much for your help.
 
Well, i tried to use cgc.exe that kozarov posted and then i've been to compile the rsxgl test sample too. :)

You need put cgc.exe in C:\cygwin\usr\local\ps3dev\ppu\bin

It works as you can see https://twitter.com/Ezio_PS/status/736104561014902784

I read this discussion here about RSXGL http://www.ps3hax.net/archive/index.php/t-51783.html
written by gzorin

I'm happy to assist with the RSXGL stuff. If you were trying to build the stuff in the rsxgl-samples repo, then, yeah, those are really out of date; they still compile their shaders off-line and haven't been updated to compile at runtime using the OpenGL API's.

Therefore the only really current example is the "gears" sample that's included in the RSXGL repo itself (that demo is a barely-modified version of the "es2gears.c" from mesa-demos). Kakaroto's EFL uses the library, too.

Since RSXGL doesn't implement any of the "legacy" (non-shader) OpenGL behavior, many sample/tutorial OpenGL programs that are out there won't work. Programs written against the OpenGL ES 2.0 profile should work, as long as they used vertex buffer objects.
 
since i'm known for not knowing shit about coding, all i can do is encourage you guys to keep on doing this stuff.

YOU CAN FUCKING DO IT
 
So, i gave up on building the RSXGL samples .

I just included the libs in psl1ght env and i kept on porting to psl1ght RetroArch. Just to be sure i built the core with psl1ght too (prosystem). Now i have this :

/c/PSDK3v2/ps3dev/ppu/bin/ppu-g++ -o retroarch_ps3.elf -D__CELLOS_LV2__ -D__PSL1GHT__ -L/c/PSDK3v2/ps3dev/portlibs/ppu/lib -L/c/PSDK3v2/ps3dev/ppu/lib -L/c/PSDK3v2/psl1ght/ppu/lib -L. griffin/griffin.o -lretro_ps3 -lEGL -lGL -laudio -liberty -lrsx -lgcm_sys -lnet -lio -lsysutil -lsysmodule -lm -ljpgdec -lpngdec -llv2 -lnet -lnetctl -lsdl
c:/psdk3v2/ps3dev/ppu/bin/../lib/gcc/powerpc64-ps3-elf/4.5.2/../../../../powerpc64-ps3-elf/bin/ld.exe: .\libretro_ps3.a(libretro.o): .opd is not a regular array of opd entries
c:/psdk3v2/ps3dev/ppu/bin/../lib/gcc/powerpc64-ps3-elf/4.5.2/../../../../powerpc64-ps3-elf/bin/ld.exe: .\libretro_ps3.a(Bios.o): .opd is not a regular array of opd entries
c:/psdk3v2/ps3dev/ppu/bin/../lib/gcc/powerpc64-ps3-elf/4.5.2/../../../../powerpc64-ps3-elf/bin/ld.exe: .\libretro_ps3.a(Cartridge.o): .opd is not a regular array of opd entries
c:/psdk3v2/ps3dev/ppu/bin/../lib/gcc/powerpc64-ps3-elf/4.5.2/../../../../powerpc64-ps3-elf/bin/ld.exe: .\libretro_ps3.a(Database.o): .opd is not a regular array of opd entries
c:/psdk3v2/ps3dev/ppu/bin/../lib/gcc/powerpc64-ps3-elf/4.5.2/../../../../powerpc64-ps3-elf/bin/ld.exe: .\libretro_ps3.a(Hash.o): .opd is not a regular array of opd entries
c:/psdk3v2/ps3dev/ppu/bin/../lib/gcc/powerpc64-ps3-elf/4.5.2/../../../../powerpc64-ps3-elf/bin/ld.exe: .\libretro_ps3.a(Maria.o): .opd is not a regular array of opd entries
c:/psdk3v2/ps3dev/ppu/bin/../lib/gcc/powerpc64-ps3-elf/4.5.2/../../../../powerpc64-ps3-elf/bin/ld.exe: .\libretro_ps3.a(Memory.o): .opd is not a regular array of opd entries
c:/psdk3v2/ps3dev/ppu/bin/../lib/gcc/powerpc64-ps3-elf/4.5.2/../../../../powerpc64-ps3-elf/bin/ld.exe: .\libretro_ps3.a(Palette.o): .opd is not a regular array of opd entries
c:/psdk3v2/ps3dev/ppu/bin/../lib/gcc/powerpc64-ps3-elf/4.5.2/../../../../powerpc64-ps3-elf/bin/ld.exe: .\libretro_ps3.a(Pokey.o): .opd is not a regular array of opd entries
c:/psdk3v2/ps3dev/ppu/bin/../lib/gcc/powerpc64-ps3-elf/4.5.2/../../../../powerpc64-ps3-elf/bin/ld.exe: .\libretro_ps3.a(ProSystem.o): .opd is not a regular array of opd entries
c:/psdk3v2/ps3dev/ppu/bin/../lib/gcc/powerpc64-ps3-elf/4.5.2/../../../../powerpc64-ps3-elf/bin/ld.exe: .\libretro_ps3.a(Region.o): .opd is not a regular array of opd entries
c:/psdk3v2/ps3dev/ppu/bin/../lib/gcc/powerpc64-ps3-elf/4.5.2/../../../../powerpc64-ps3-elf/bin/ld.exe: .\libretro_ps3.a(Riot.o): .opd is not a regular array of opd entries
c:/psdk3v2/ps3dev/ppu/bin/../lib/gcc/powerpc64-ps3-elf/4.5.2/../../../../powerpc64-ps3-elf/bin/ld.exe: .\libretro_ps3.a(Sally.o): .opd is not a regular array of opd entries
c:/psdk3v2/ps3dev/ppu/bin/../lib/gcc/powerpc64-ps3-elf/4.5.2/../../../../powerpc64-ps3-elf/bin/ld.exe: .\libretro_ps3.a(Tia.o): .opd is not a regular array of opd entries
that's the first time i see this message and google didn't help me... someone can explain me what does it mean and how i can fix this ?

PS: BTW, the elf is generated (not tested)
 

Similar threads

Back
Top