Latest PS3 News Forum Updates

  • News
  • Posts
  • PS3 CFW
  • PS3 Files
  • PS3 Hacks
  • PS3 Help
  • PS3 Releases
  • PS3 Themes
  • PS3 Trophies
  • PS Vita Trophies
  1. #1

    [UnAnswered] PS3SDK problem help?

    Well, I downloaded official PS3SDK yesterday, and I haven't been able to use it since. I am on linux, not windows. This makes it even more hard to install it correctly. I copied everything to "/usr/local/cell/". My exports look like:
    Code:
    export CELL_SDK=/usr/local/cell
    export PATH=$PATH:$CELL_SDK/host-linux/ppu/bin/:$CELL_SDK/host-linux/spu/bin/:$CELL_SDK/host-linux/Cg/bin/:$CELL_SDK/host-linux/bin
    This is strange because, if exports are wrong or the paths are not correct, then it gives an error on the terminal. Well it does not, even though those paths do not exist. Well "/usr/local/cell/host-linux/" does. My file looks like:
    Code:
    | --- host-linux
    |       |--- Cg
    |       |--- lib
    |       |--- bin
    |       |--- etc
    And in bin is a bunch of executables, example: make_mself, make_fself, and a few "ppu-lv2". I am missing "ppu-lv2-g++", sadly this executable is not in the "bin" folder. Here is a log of me trying to compile an sdk sample of "fw_cubeWithFont".
    Code:
    jarid@Computer:/usr/local/cell/samples/sdk/font/fw_cubeWithFont$ make
    make -C /usr/local/cell/samples/fw
    make[1]: Entering directory `/usr/local/cell/samples/fw'
    make --no-print-directory -f fw.mk
    /usr/local/cell/host-linux/ppu/bin/ppu-lv2-g++ -c -g -O2 -std=c++98 -fno-exceptions -W -Wall -Wuninitialized -Wcomment -Wchar-subscripts -Wdeprecated-declarations -Wendif-labels -Wformat=2 -Wformat-extra-args -Wimplicit -Wimport -Winline -Wmissing-braces -Wparentheses -Wpointer-arith -Wredundant-decls -Wreturn-type -Wshadow -Wsign-compare -Wswitch -Wunknown-pragmas -Wunused -Wwrite-strings -Iinclude  -DPSGL -D_DEBUG -DCELL_DISPLAY_MODE=DisplayMode_720p  -DCELL_DATA_DIR=\"/usr/local/cell/sample_data\" -Wp,-MMD,objs/src/FWApplication.ppu.d,-MT,objs/src/FWApplication.ppu.o -o objs/src/FWApplication.ppu.o src/FWApplication.cpp
    make[2]: /usr/local/cell/host-linux/ppu/bin/ppu-lv2-g++: Command not found
    make[2]: *** [objs/src/FWApplication.ppu.o] Error 127
    make --no-print-directory -f fwgcm.mk
    /usr/local/cell/host-linux/ppu/bin/ppu-lv2-g++ -c -g -O2 -std=c++98 -W -Wall -Wuninitialized -Wcomment -Wchar-subscripts -Wdeprecated-declarations -Wendif-labels -Wformat=2 -Wformat-extra-args -Wimplicit -Wimport -Winline -Wmissing-braces -Wparentheses -Wpointer-arith -Wredundant-decls -Wreturn-type -Wshadow -Wsign-compare -Wswitch -Wunknown-pragmas -Wunused -Wwrite-strings  -I/usr/local/cell/target/ppu/include/vectormath/cpp -Iinclude -Iinclude/gcm -I/usr/local/cell/samples/gcm/common   -DCELL_DATA_DIR=\"/usr/local/cell/sample_data\" -fno-rtti --param large-function-growth=800 -Wp,-MMD,objs/src/gcm/memory.ppu.d,-MT,objs/src/gcm/memory.ppu.o -o objs/src/gcm/memory.ppu.o src/gcm/memory.cpp
    make[2]: /usr/local/cell/host-linux/ppu/bin/ppu-lv2-g++: Command not found
    make[2]: *** [objs/src/gcm/memory.ppu.o] Error 127
    make[1]: *** [do-mk-target] Error 2
    make[1]: Leaving directory `/usr/local/cell/samples/fw'
    make -C /usr/local/cell/samples/sdk/graphics/gcm/common
    make[1]: Entering directory `/usr/local/cell/samples/sdk/graphics/gcm/common'
    /usr/local/cell/host-linux/ppu/bin/ppu-lv2-g++ -c -g -O2 -std=c++98 -W -Wall -Wuninitialized -Wcomment -Wchar-subscripts -Wdeprecated-declarations -Wendif-labels -Wformat=2 -Wformat-extra-args -Wimplicit -Wimport -Winline -Wmissing-braces -Wparentheses -Wpointer-arith -Wredundant-decls -Wreturn-type -Wshadow -Wsign-compare -Wswitch -Wunknown-pragmas -Wunused -Wwrite-strings  -I/usr/local/cell/target/ppu/include/vectormath/cpp   -DCELL_DATA_DIR=\"/usr/local/cell/sample_data\" -fno-rtti --param large-function-growth=800 -Wp,-MMD,objs/swizzle.ppu.d,-MT,objs/swizzle.ppu.o -o objs/swizzle.ppu.o swizzle.cpp
    make[1]: /usr/local/cell/host-linux/ppu/bin/ppu-lv2-g++: Command not found
    make[1]: *** [objs/swizzle.ppu.o] Error 127
    make[1]: Leaving directory `/usr/local/cell/samples/sdk/graphics/gcm/common'
    make: *** [do-subdirs] Error 2
    Weirdly enough, in "/host-win32", the "ppu/bin" and "spu/bin" folders do exist, but in .exe windows format. Therefore useless to me in every way. I really need to set this up, can anyone help me please?


  2. #2
    I believe you got the windows install version instead of the linux version, due to the fact that you have the host- win32 and what not.


  3. #3
    I don't understand, I still have "host-linux", but it is missing files. I think it may be possible to run the SDK (windows version) with wine. It would be a lot easier and more comfortable of I could use linux though. There are two versions? I downloaded from two different spots, and they were both missing those files. Could you help at all? I really want this to work. Nobody on irc can help, maybe someone here can?


  4. #4
    Yeah, its not going to have them. Your best bet is to do some modifying - essentially modify the make scripts to use the windows directory, and use wine to run the exe's. It may take a little bit of work but should then work.


  5. #5
    Well that does not work, so there is absolutely no way to gather those executables? I really wanted to install this one.


  6. #6
    You are probably out of luck - wine can be used, it just takes a bit of time to figure out what files need to be edited, etc!