mv: missing destination file operandYes, sudo mv the stuff mentioned in the readme.
doneRename the include folder in the ps3-sdl2 folder to SDL2, then do sudo mv SDL2 /opt/ps3dev/portlibs/ppu/include
.libs?Rename .libs in build directory of ps3-sdl2 to lib then sudo cp -r build/lib /opt/ps3dev/portlibs/ppu
Post automatically merged:
Lastly, sudo mv sdl2config /opt/ps3dev/portlibs/ppu/bin
Error:1Crap, I just realized the problem. You didn't run make. Do sudo rm -r PS3-SDL2 but first do cd .. to get out of the directory. It. It's best to start over with ps3-sdl2. Redo the configure portion, then run make.
nopHmm, did you exit out of the terminal any time after the export portion?
yesDid you run the config line?
Post automatically merged:
Unfortunately, I can't check which gcc I'm using. Try, sudo apt install gcc .
I'm thinking this is the one I'm using based on memory. http://mirrors.concertpass.com/gcc/releases/gcc-11.3.0/
Post automatically merged:
Then, show do tar -xzf tar.gz file name. Download that one.
How to compile: |
1. Run ./configure --host=powerpc64-ps3-elf --enable-static --disable-shared Done |
2. Run make Done |
How to install: |
1. Copy the include folder to /usr/local/ps3dev/portlibs/ppu/include and rename it to SDL2 Done |
2. Copy the contents of build/.libs to /usr/local/ps3dev/portlibs/ppu/lib Done |
3. Copy sdl2-config to /usr/local/ps3dev/portlibs/ppu/lib/pkgconfig/ Done |
Linking the library: |
That error you get suggests your gcc version is wrong. Type gcc --version
How to compile:
1. Run ./configure --host=powerpc64-ps3-elf --enable-static --disable-shared Done
2. Run make Done
How to install:
1. Copy the include folder to /usr/local/ps3dev/portlibs/ppu/include and rename it to SDL2 Done
2. Copy the contents of build/.libs to /usr/local/ps3dev/portlibs/ppu/lib Done
3. Copy sdl2-config to /usr/local/ps3dev/portlibs/ppu/lib/pkgconfig/ Done
Use sdl2-config
Linking the library:
Not badThat error you get suggests your gcc version is wrong. Type gcc --version